From baf2c4dc75c630910d95dd49f04228f03d7f0b1b Mon Sep 17 00:00:00 2001 From: Ilya Matiach Date: Tue, 29 Aug 2023 10:45:40 -0400 Subject: [PATCH] fix interpret-community sphinx docs build failures by specifying html_theme (#578) --- .readthedocs.yaml | 2 +- python/docs/conf.py | 4 +--- requirements-doc.txt | 3 ++- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 86900253..5d982541 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.8" + python: "3.9" # You can also specify other tool versions: # nodejs: "16" # rust: "1.55" diff --git a/python/docs/conf.py b/python/docs/conf.py index 33550ac2..ddd0d2c8 100644 --- a/python/docs/conf.py +++ b/python/docs/conf.py @@ -69,9 +69,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -# -# Note: We will use the default theme which is nicer -# html_theme = 'alabaster' +html_theme = 'sphinx_rtd_theme' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/requirements-doc.txt b/requirements-doc.txt index ebd1c900..f8944226 100644 --- a/requirements-doc.txt +++ b/requirements-doc.txt @@ -1,2 +1,3 @@ -sphinx==4.3.0 +sphinx==7.2.3 +sphinx-rtd-theme==1.3.0 pyyaml \ No newline at end of file