diff --git a/.readthedocs.yml b/.readthedocs.yml index 8dbb3a7..2abe270 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,24 +5,27 @@ # Required version: 2 -# Make sure that dependencies are install with pip instead of setup.py +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.10" + +# Make sure that dependencies are installed with pip instead of setup.py python: - version: 3.7 install: + - requirements: docs/preinstall_requirements.txt - requirements: docs/requirements.txt - - requirements: requirements.txt + #- requirements: requirements.txt - method: pip path: . - system_packages: true # Build documentation in the docs/ directory with Sphinx sphinx: + builder: html configuration: docs/conf.py -# Build documentation with MkDocs -#mkdocs: -# configuration: mkdocs.yml - # Optionally build your docs in additional formats such as PDF #formats: # - pdf + diff --git a/docs/preinstall_requirements.txt b/docs/preinstall_requirements.txt new file mode 100644 index 0000000..f71cd41 --- /dev/null +++ b/docs/preinstall_requirements.txt @@ -0,0 +1,5 @@ +###### Requirements without Version Specifiers ###### +# For some odd reason, readthedocs uses a really old version of setuptools +# Note: as of v58.0.0 the `2to3` option for setup() is gone which breaks +# ALL installs of sphinx-bootstrap-theme +setuptools==57.5.0