From b067fc17d2bedc1be2be93137106884694c43eaa Mon Sep 17 00:00:00 2001 From: alex-rakowski Date: Fri, 6 Oct 2023 03:17:00 -0700 Subject: [PATCH 1/5] adding "sphinx_rtd_theme" to conf.py --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 30ee084fe..faad8dee0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -36,7 +36,7 @@ # 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.napoleon", "sphinx.ext.intersphinx"] +extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx.ext.intersphinx", "sphinx_rtd_theme"] # Other useful extensions # sphinx_copybutton From 3096f6c8dfc7ff4fa9c719d51f6175bd1e0cfca7 Mon Sep 17 00:00:00 2001 From: alex-rakowski Date: Fri, 6 Oct 2023 03:24:29 -0700 Subject: [PATCH 2/5] adding sphinx_rtd_theme to setup.py --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 069bf1600..55acea582 100644 --- a/setup.py +++ b/setup.py @@ -40,6 +40,7 @@ "emdfile >= 0.0.13", "mpire >= 2.7.1", "threadpoolctl >= 3.1.0", + "sphinx_rtd_theme", ], extras_require={ "ipyparallel": ["ipyparallel >= 6.2.4", "dill >= 0.3.3"], From d7ac9e1ab015898fb8660bf4ac4f057abec4ecfe Mon Sep 17 00:00:00 2001 From: alex-rakowski Date: Fri, 6 Oct 2023 03:28:18 -0700 Subject: [PATCH 3/5] black style conf.py --- docs/source/conf.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index faad8dee0..6da66611e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -36,7 +36,12 @@ # 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.napoleon", "sphinx.ext.intersphinx", "sphinx_rtd_theme"] +extensions = [ + "sphinx.ext.autodoc", + "sphinx.ext.napoleon", + "sphinx.ext.intersphinx", + "sphinx_rtd_theme", +] # Other useful extensions # sphinx_copybutton From b19d173fae794605e5e67850b89233029ae31652 Mon Sep 17 00:00:00 2001 From: alex-rakowski Date: Fri, 6 Oct 2023 11:26:33 -0700 Subject: [PATCH 4/5] adding sphinx_rtd_theme to docs requirements.txt --- docs/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 43dbc0817..03ecc7e26 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,3 @@ emdfile -# py4dstem \ No newline at end of file +sphinx_rtd_theme +# py4dstem From e07dddd061e3bbcbdb8c60b74394a85bbfed1364 Mon Sep 17 00:00:00 2001 From: alex-rakowski Date: Fri, 6 Oct 2023 11:27:29 -0700 Subject: [PATCH 5/5] removing sphinx_rtd_theme from setup.py --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 55acea582..069bf1600 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,6 @@ "emdfile >= 0.0.13", "mpire >= 2.7.1", "threadpoolctl >= 3.1.0", - "sphinx_rtd_theme", ], extras_require={ "ipyparallel": ["ipyparallel >= 6.2.4", "dill >= 0.3.3"],