From ccbcc2113c52de435a24569e081d808058f62847 Mon Sep 17 00:00:00 2001 From: Bowen Li Date: Fri, 16 Feb 2024 14:54:24 +0000 Subject: [PATCH 1/6] Update .readthedocs.yml --- .readthedocs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index f5b5350b84..d73fbb812c 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,6 +10,8 @@ build: os: ubuntu-22.04 tools: python: "latest" + commands: + - pip install sphinx-rtd-theme # Build documentation in the docs/ directory with Sphinx sphinx: From d25ddbadc932c851be2e292864bffc4adf9d9b7d Mon Sep 17 00:00:00 2001 From: Bowen Li Date: Fri, 16 Feb 2024 14:57:33 +0000 Subject: [PATCH 2/6] Update conf.py --- docs/source/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index f1cda0d303..ba6d2f6617 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -12,9 +12,9 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -import os -import sys -sys.path.insert(0, os.path.abspath('../../')) +# import os +# import sys +# sys.path.insert(0, os.path.abspath('../../')) # -- Project information ----------------------------------------------------- @@ -87,7 +87,7 @@ # 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, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ["_static"] +html_static_path = [""] # Custom sidebar templates, must be a dictionary that maps document names # to template names. From e3dbf70a54c05e0a0f3c1c625ce7bed0adfe08d4 Mon Sep 17 00:00:00 2001 From: Bowen Li Date: Fri, 16 Feb 2024 15:01:53 +0000 Subject: [PATCH 3/6] Update .readthedocs.yml --- .readthedocs.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index d73fbb812c..e3c057fc1b 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,12 +7,17 @@ version: 2 # Set the version of Python and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-20.04 tools: - python: "latest" - commands: - - pip install sphinx-rtd-theme + python: "3.9" # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/source/conf.py + +python: + install: + - method: pip + path: . + extra_requirements: + - docs From f8ba41df92488179eaca30d926cbdd9657bfff80 Mon Sep 17 00:00:00 2001 From: Bowen Li Date: Mon, 19 Feb 2024 12:22:30 +0000 Subject: [PATCH 4/6] Update .readthedocs.yml --- .readthedocs.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index e3c057fc1b..6e8052aac0 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,17 +7,15 @@ version: 2 # Set the version of Python and other tools you might need build: - os: ubuntu-20.04 + os: "ubuntu-22.04" tools: - python: "3.9" + python: "3.12" # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/source/conf.py +# Explicitly set the version of Python and its requirements python: - install: - - method: pip - path: . - extra_requirements: - - docs + install: + - requirements: docs/requirements.txt From 341459a852c5070664ebd41f4d4ad00ebb8a4b90 Mon Sep 17 00:00:00 2001 From: Bowen Li Date: Mon, 19 Feb 2024 12:22:54 +0000 Subject: [PATCH 5/6] Create requirements.txt --- docs/requirements.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000000..3f775f1cf6 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,3 @@ +sphinx==5.3.0 +sphinx_rtd_theme==1.1.1 +readthedocs-sphinx-search==0.1.1 From bf3bceca9fafff1ef8f205323db97c25d942b776 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:23:59 +0000 Subject: [PATCH 6/6] Bump readthedocs-sphinx-search from 0.1.1 to 0.3.2 in /docs Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.1.1 to 0.3.2. - [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst) - [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/compare/0.1.1...0.3.2) --- updated-dependencies: - dependency-name: readthedocs-sphinx-search dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 3f775f1cf6..c64e5663f2 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ sphinx==5.3.0 sphinx_rtd_theme==1.1.1 -readthedocs-sphinx-search==0.1.1 +readthedocs-sphinx-search==0.3.2