From 285d9f889e5cbee98ef38ede9e1e7bbf242c73cb Mon Sep 17 00:00:00 2001 From: Julian-o Date: Fri, 8 Sep 2023 18:00:37 +1000 Subject: [PATCH] Add tests to documentation. Tests external links lead to real destinations and that the entire documents can be generated. --- .github/workflows/test_python.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 09f250eda..aadc5826f 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -44,3 +44,15 @@ jobs: run: docker build --tag=kivy/buildozer . - name: Docker run run: docker run kivy/buildozer --version + + Documentation: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Requirements + run: pip install -U sphinx + - name: Check links + run: sphinx-build -b linkcheck docs/source docs/build + - name: Generate documentation + run: sphinx-build docs/source docs/build +