From b3a5a66dd61f3ce2fcc4d82e5402e388eaeb2065 Mon Sep 17 00:00:00 2001 From: Danny Park Date: Thu, 1 Aug 2024 11:38:33 -0400 Subject: [PATCH 1/4] fix doc build --- .readthedocs.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index 626666cb..187ea55c 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,6 +5,12 @@ # Required version: 2 +# Set the version of Python +build: + os: ubuntu-20.04 + tools: + python: "3.10" + # Build documentation in the docs/ directory with Sphinx sphinx: builder: html From bb9815e5d1b314a64cfc060af6162be934ed6677 Mon Sep 17 00:00:00 2001 From: Danny Park Date: Thu, 1 Aug 2024 11:41:40 -0400 Subject: [PATCH 2/4] bump --- .readthedocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 187ea55c..e4426934 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,7 +7,7 @@ version: 2 # Set the version of Python build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: python: "3.10" @@ -25,6 +25,6 @@ formats: all # Optionally set the version of Python and requirements required to build your docs python: - version: 3.10 + version: "3.10" install: - requirements: docs/requirements.txt \ No newline at end of file From 081c228e689e59ae0ea903fceab6d60603ad2709 Mon Sep 17 00:00:00 2001 From: Danny Park Date: Thu, 1 Aug 2024 11:42:07 -0400 Subject: [PATCH 3/4] bump --- .readthedocs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index e4426934..a428a7cc 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -25,6 +25,5 @@ formats: all # Optionally set the version of Python and requirements required to build your docs python: - version: "3.10" install: - requirements: docs/requirements.txt \ No newline at end of file From ef2eae6ed84ac1bc723bcb7a79510f5b0fd8efba Mon Sep 17 00:00:00 2001 From: Danny Park Date: Thu, 1 Aug 2024 11:49:25 -0400 Subject: [PATCH 4/4] change theme --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index ecc37298..46a2b842 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -53,7 +53,7 @@ def _git_version(): # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.imgmath', 'sphinxarg.ext',] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.imgmath', 'sphinxarg.ext', 'sphinx_rtd_theme'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -122,7 +122,7 @@ def _git_version(): # a list of builtin themes. on_rtd = os.environ.get('READTHEDOCS') == 'True' if on_rtd: - html_theme = 'default' + html_theme = 'sphinx_rtd_theme' else: import sphinx_rtd_theme html_theme = "sphinx_rtd_theme"