diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..b9c98bf30 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,30 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Build documentation with Sphinx +sphinx: + configuration: docs/conf.py + fail_on_warning: false # Optional: Set to true if you want the build to fail on warnings. + +# Optionally set the OS, Python version and other tools +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +# Optionally build your docs in additional formats such as PDF and ePub +# formats: +# - pdf +# - epub + +python: + install: + - requirements: docs/requirements.txt + - method: pip + path: . + extra_requirements: + - docs \ No newline at end of file diff --git a/docs/requirements.txt b/docs/requirements.txt index 8dcf60aa7..ef0ad58ab 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -8,4 +8,5 @@ sphinxext-rediraffe sphinxext-opengraph sphinx-fortran nbsphinx -ipython \ No newline at end of file +ipython +swiftest \ No newline at end of file