mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-06 10:46:18 +08:00
added htmlproofer
This commit is contained in:
+21
-1
@@ -65,10 +65,16 @@ extra:
|
||||
|
||||
# https://www.mkdocs.org/user-guide/configuration/#validation
|
||||
#validation:
|
||||
# omitted_files: warn
|
||||
# absolute_links: warn
|
||||
# unrecognized_links: warn
|
||||
|
||||
validation:
|
||||
omitted_files: warn
|
||||
links:
|
||||
absolute_links: relative_to_docs
|
||||
anchors: warn
|
||||
unrecognized_links: warn
|
||||
|
||||
extra_css:
|
||||
- assets/stylesheets/tweaks.css
|
||||
|
||||
@@ -127,6 +133,20 @@ watch:
|
||||
plugins:
|
||||
- search
|
||||
- meta
|
||||
- htmlproofer:
|
||||
enabled: !ENV [ENABLED_HTMLPROOFER, False]
|
||||
raise_error_after_finish: True
|
||||
raise_error_excludes:
|
||||
403: ['*']
|
||||
502: ['*']
|
||||
504: ['*']
|
||||
|
||||
ignore_urls:
|
||||
- localhost:8080/*
|
||||
- mailto:*
|
||||
- 'data:image/*'
|
||||
- '#*'
|
||||
|
||||
|
||||
hooks:
|
||||
- docs/plugins/main.py
|
||||
|
||||
Reference in New Issue
Block a user