From 1e6b1fa4c46384f4f963477627963d7f5f84dd88 Mon Sep 17 00:00:00 2001 From: Ashley Whetter Date: Thu, 6 Jul 2023 19:51:02 -0700 Subject: [PATCH] Build docs in Python 3.11 on readthedocs Closes #389 --- .readthedocs.yml | 24 ++++++++++++++---------- docs/changes/389.misc | 1 + 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 docs/changes/389.misc diff --git a/.readthedocs.yml b/.readthedocs.yml index 45932a4..fb523aa 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,22 +1,26 @@ version: 2 +# Set the OS, Python version and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py -# Build documentation with MkDocs -#mkdocs: -# configuration: mkdocs.yml - -# Optionally build your docs in additional formats such as PDF -formats: - - pdf +# Optionally build your docs in additional formats such as PDF and ePub +# formats: +# - pdf +# - epub -# Optionally set the version of Python and requirements required to build your docs +# Optional but recommended, declare the Python requirements required +# to build your documentation +# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: - version: 3.8 install: - method: pip path: . extra_requirements: - - docs + - docs \ No newline at end of file diff --git a/docs/changes/389.misc b/docs/changes/389.misc new file mode 100644 index 0000000..f048f6e --- /dev/null +++ b/docs/changes/389.misc @@ -0,0 +1 @@ +Build docs in Python 3.11 on readthedocs \ No newline at end of file