From 9118fe7a5b3979b2a0abf9c0040b243e08adb036 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 14 Dec 2023 07:36:57 -0500 Subject: [PATCH] build: fix the docs --- .readthedocs.yaml | 22 ++++++++++++++++++++++ MANIFEST.in | 1 + changelog.d/20231214_075119_nedbat.rst | 4 ++++ 3 files changed, 27 insertions(+) create mode 100644 .readthedocs.yaml create mode 100644 changelog.d/20231214_075119_nedbat.rst diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..98edefe --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,22 @@ +# ReadTheDocs configuration. +# See https://docs.readthedocs.io/en/stable/config-file/v2.html + +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +sphinx: + builder: html + configuration: docs/conf.py + +# Build all the formats +formats: all + +python: + install: + - requirements: requirements/doc.txt + - method: pip + path: . diff --git a/MANIFEST.in b/MANIFEST.in index 4acbd13..02c9ee5 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include .editorconfig +include .readthedocs.yaml include CHANGELOG.rst include LICENSE.txt include Makefile diff --git a/changelog.d/20231214_075119_nedbat.rst b/changelog.d/20231214_075119_nedbat.rst new file mode 100644 index 0000000..ab3a013 --- /dev/null +++ b/changelog.d/20231214_075119_nedbat.rst @@ -0,0 +1,4 @@ +Fixed +..... + +- Fixed the documentation build on ReadTheDocs.