From 4df3f2e52f846d66dd9bf0e45dce4063e315005d Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 27 Oct 2023 15:28:31 +0100 Subject: [PATCH] chore(doc): enforce strict documentation build. --- .gitlab-ci.yml | 2 +- mkdocs.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed6ac41a..7e800cac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -178,7 +178,7 @@ pages: GIT_DEPTH: 0 script: - pip install -r requirements.txt - - mkdocs build --verbose --site-dir public + - mkdocs build --strict --site-dir public artifacts: paths: - public diff --git a/mkdocs.yml b/mkdocs.yml index e5358179..6616dda0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -59,6 +59,7 @@ extra_css: plugins: - search - git-revision-date-localized: + enabled: !ENV [ENABLED_GIT_REVISION_DATE, True] enable_creation_date: true fallback_to_build_date: true - minify: @@ -93,8 +94,8 @@ markdown_extensions: - pymdownx.tilde - pymdownx.details - pymdownx.emoji: - emoji_index: !!python/name:materialx.emoji.twemoji - emoji_generator: !!python/name:materialx.emoji.to_svg + emoji_index: !!python/name:material.extensions.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg - pymdownx.highlight: anchor_linenums: true - pymdownx.inlinehilite