From 60354a7e889a8812e2d94f706051c1b1c90571b9 Mon Sep 17 00:00:00 2001 From: Johannes Maron Date: Fri, 2 Sep 2022 14:25:51 +0200 Subject: [PATCH] Add readthedocs config file --- .github/workflows/ci.yml | 2 +- .readthedocs.yaml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .readthedocs.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6dea92e..ac45f43c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: - name: setup Python uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: "3.10" - name: check docs run: python setup.py build_sphinx diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..4fa27769 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,21 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: ubuntu-20.04 + tools: + python: "3.10" + +sphinx: + configuration: docs/conf.py + + +python: + install: + - method: pip + path: . + extra_requirements: + - docs