From 3189f70538b50fe3d2fd63f77351991a224e435b Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Thu, 26 Oct 2023 16:36:52 -0700 Subject: [PATCH] docs: attempt to fix .readthedocs.yaml Seems like we need to update the config ([0],[1]). [0] https://blog.readthedocs.com/migrate-configuration-v2/ [1] https://blog.readthedocs.com/use-build-os-config/ Signed-off-by: Andrii Nakryiko --- .readthedocs.yaml | 8 ++++++-- docs/conf.py | 1 + docs/sphinx/requirements.txt | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 803dfa2..2af3703 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,6 +5,11 @@ # Required version: 2 +build: + os: "ubuntu-22.04" + tools: + python: "3.11" + # Build documentation in the docs/ directory with Sphinx sphinx: builder: html @@ -17,6 +22,5 @@ formats: # Optionally set the version of Python and requirements required to build your docs python: - version: 3.7 install: - - requirements: docs/sphinx/requirements.txt \ No newline at end of file + - requirements: docs/sphinx/requirements.txt diff --git a/docs/conf.py b/docs/conf.py index 1d8714e..a1c6d47 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,6 +18,7 @@ extensions = [ 'sphinx.ext.viewcode', 'sphinx.ext.imgmath', 'sphinx.ext.todo', + 'sphinx_rtd_theme', 'breathe', ] diff --git a/docs/sphinx/requirements.txt b/docs/sphinx/requirements.txt index 188f51e..c6d3406 100644 --- a/docs/sphinx/requirements.txt +++ b/docs/sphinx/requirements.txt @@ -1 +1,2 @@ -breathe \ No newline at end of file +breathe +sphinx_rtd_theme