Skip to content

Commit

Permalink
Be stricter when building docuemntation
Browse files Browse the repository at this point in the history
  • Loading branch information
hoechenberger committed Jul 31, 2024
1 parent 2e9a619 commit 03eca1b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ python $STEP_DIR/source/settings/gen_settings.py

echo "Building the documentation …"
cd $STEP_DIR
mkdocs build
mkdocs build --strict

8 changes: 8 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,11 @@ markdown_extensions:
permalink: true # Add paragraph symbol to link to current headline
- pymdownx.tabbed:
alternate_style: true

validation:
# Everything set to "warn" will cause an error when building in strict mode with
# mkdocs build --strict
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
anchors: warn

0 comments on commit 03eca1b

Please sign in to comment.