diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..07769a11 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,25 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "mambaforge-4.10" + +sphinx: + builder: html + fail_on_warning: true + configuration: docs/source/conf.py + +conda: + environment: docs/environment.yml + +python: + install: + - method: pip + path: . diff --git a/docs/source/conf.py b/docs/source/conf.py index 8a24ff19..1ab64004 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -91,7 +91,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: diff --git a/readthedocs.yml b/readthedocs.yml deleted file mode 100644 index 9d944f16..00000000 --- a/readthedocs.yml +++ /dev/null @@ -1,5 +0,0 @@ -conda: - file: docs/environment.yml -python: - version: 3 - setup_py_install: true