From 7de844831975ffab9d4f2551da90380b2b43e622 Mon Sep 17 00:00:00 2001 From: allevitan Date: Fri, 3 Apr 2026 14:28:01 +0200 Subject: [PATCH] Add .readthedocs.yaml for ReadTheDocs hosting Enables versioned documentation on ReadTheDocs. Installs the package with its docs extras (sphinx, sphinx-rtd-theme, sphinx-argparse) so autodoc can import cdtools during the build. Co-Authored-By: Claude Sonnet 4.6 --- .readthedocs.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..bb861a3 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,16 @@ +version: 2 + +build: + os: ubuntu-24.04 + tools: + python: "3.11" + +sphinx: + configuration: docs/source/conf.py + +python: + install: + - method: pip + path: . + extra_requirements: + - docs