From 1fd22487cdf4640140cccb01aac9cd28dcb367fb Mon Sep 17 00:00:00 2001 From: hannalee2 Date: Mon, 7 Oct 2024 13:02:10 -0700 Subject: [PATCH 1/4] Update requirements for readthedocs --- docs/requirements.txt | 4 +++- docs/source/conf.py | 7 ++++++- parallax/__init__.py | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index a6896b5..174a69a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,4 +2,6 @@ Sphinx sphinxcontrib-video sphinx-jinja furo -docutils \ No newline at end of file +docutils +sphinx-autodoc +sphinx-viewcode \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 5eef8c3..9d5f668 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -24,7 +24,12 @@ # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration -extensions = ["sphinx.ext.todo", "sphinx.ext.viewcode", "sphinx.ext.autodoc", "sphinxcontrib.video"] +extensions = [ + "sphinx.ext.todo", + "sphinx.ext.viewcode", + "sphinx.ext.autodoc", + "sphinxcontrib.video" +] templates_path = ['_templates'] exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] diff --git a/parallax/__init__.py b/parallax/__init__.py index db9805e..7b33468 100644 --- a/parallax/__init__.py +++ b/parallax/__init__.py @@ -4,7 +4,7 @@ import os -__version__ = "0.38.9" +__version__ = "0.38.10" # allow multiple OpenMP instances os.environ["KMP_DUPLICATE_LIB_OK"] = "True" From 086b804ab9cc247438f5de1f104cdc72a593bff0 Mon Sep 17 00:00:00 2001 From: hannalee2 Date: Mon, 7 Oct 2024 13:10:26 -0700 Subject: [PATCH 2/4] update requirements --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 174a69a..d935610 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,5 +3,5 @@ sphinxcontrib-video sphinx-jinja furo docutils -sphinx-autodoc +sphinx-rtd-theme sphinx-viewcode \ No newline at end of file From 7c2b4e459013f27b95d60c4dd8ed2cd98f896333 Mon Sep 17 00:00:00 2001 From: hannalee2 Date: Mon, 7 Oct 2024 13:28:12 -0700 Subject: [PATCH 3/4] Update requirements.txt --- docs/requirements.txt | 4 ++-- docs/source/conf.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index d935610..1609305 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,5 +3,5 @@ sphinxcontrib-video sphinx-jinja furo docutils -sphinx-rtd-theme -sphinx-viewcode \ No newline at end of file +sphinx.ext.autodoc +sphinx.ext.viewcode \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 9d5f668..1bde9c3 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -11,7 +11,7 @@ from docutils.parsers.rst import roles from docutils import nodes -sys.path.insert(0, os.path.abspath('../../parallax')) +sys.path.insert(0, os.path.abspath('../../parallax/')) INSTITUTE_NAME = "Allen Institute for Neural Dynamics" From 58f946cc63bb2a40cd9d6b874285fec8c02801b0 Mon Sep 17 00:00:00 2001 From: hannalee2 Date: Mon, 7 Oct 2024 13:30:47 -0700 Subject: [PATCH 4/4] Update requirements --- docs/requirements.txt | 4 +--- docs/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 1609305..a6896b5 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,6 +2,4 @@ Sphinx sphinxcontrib-video sphinx-jinja furo -docutils -sphinx.ext.autodoc -sphinx.ext.viewcode \ No newline at end of file +docutils \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 1bde9c3..39b701b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -25,9 +25,9 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = [ - "sphinx.ext.todo", "sphinx.ext.viewcode", "sphinx.ext.autodoc", + "sphinx.ext.todo", "sphinxcontrib.video" ]