chore(doc): enforce strict documentation build.

This commit is contained in:
Alexandre Pujol 2023-10-27 15:28:31 +01:00
parent 23639e0b65
commit 4df3f2e52f
Failed to generate hash of commit
2 changed files with 4 additions and 3 deletions

View file

@ -178,7 +178,7 @@ pages:
GIT_DEPTH: 0 GIT_DEPTH: 0
script: script:
- pip install -r requirements.txt - pip install -r requirements.txt
- mkdocs build --verbose --site-dir public - mkdocs build --strict --site-dir public
artifacts: artifacts:
paths: paths:
- public - public

View file

@ -59,6 +59,7 @@ extra_css:
plugins: plugins:
- search - search
- git-revision-date-localized: - git-revision-date-localized:
enabled: !ENV [ENABLED_GIT_REVISION_DATE, True]
enable_creation_date: true enable_creation_date: true
fallback_to_build_date: true fallback_to_build_date: true
- minify: - minify:
@ -93,8 +94,8 @@ markdown_extensions:
- pymdownx.tilde - pymdownx.tilde
- pymdownx.details - pymdownx.details
- pymdownx.emoji: - pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight: - pymdownx.highlight:
anchor_linenums: true anchor_linenums: true
- pymdownx.inlinehilite - pymdownx.inlinehilite