diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 5471c420..866ca02a 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -24,9 +24,8 @@ sphinx: # - pdf # - epub -# Optional but recommended, declare the Python requirements required -# to build your documentation +# Declare the Python requirements required to build your documentation # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html -# python: -# install: -# - requirements: doc/requirements.txt +python: + install: + - requirements: doc/requirements.txt diff --git a/doc/conf.py b/doc/conf.py index c80f1574..8952b8cf 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -46,10 +46,10 @@ # html_theme = 'sphinx_rtd_theme' -# 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'] +# # 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'] # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..384b1466 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,2 @@ +Sphinx >= 7.2.5 +sphinx_rtd_theme >= 1.3.0