-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The strict mode fails if `mkdocs` produces warnings. This helps to identify broken links or other errors.
- Loading branch information
1 parent
4fecea1
commit 89f0190
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# 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 | ||
steps: | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ install: | |
|
||
serve: | ||
.venv/bin/mkdocs serve | ||
|
||
build: | ||
.venv/bin/mkdocs build --strict |