diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 20c1cffeb..8458c0829 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,10 +1,10 @@ # SPDX-FileCopyrightText: Copyright DB InfraGO AG and contributors # SPDX-License-Identifier: CC0-1.0 -name: Development documentation +name: documentation on: push: - branches: [ main ] + branches: [main] jobs: deploy: runs-on: ubuntu-latest @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v2 with: - python-version: "3.11" + python-version: '3.11' - run: pip install mkdocs-material - - run: mkdocs gh-deploy --force + - run: mkdocs gh-deploy --strict --force working-directory: ./docs diff --git a/docs/Makefile b/docs/Makefile index f44a4bfca..32d1109c7 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -7,3 +7,6 @@ install: serve: .venv/bin/mkdocs serve + +build: + .venv/bin/mkdocs build --strict