From 14eb3e009762e66a396dc59b0ddc2535ea987dbb Mon Sep 17 00:00:00 2001 From: GeoJulien Date: Mon, 2 Nov 2026 13:04:35 +0100 Subject: [PATCH] update(docs): replace git-revision-date-localized by document-dates which comes with MaterialX --- .github/workflows/documentation.yml | 1 - properdocs.yml | 13 ++++++++----- pyproject.toml | 1 - 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index fb666c3..9164d3d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -69,7 +69,6 @@ jobs: - name: Build static website env: MKDOCS_ENABLE_PLUGIN_GIT_COMMITTERS: true - MKDOCS_ENABLE_PLUGIN_GIT_DATES: true MKDOCS_ENABLE_PLUGIN_MKDOCSTRINGS: true MKDOCS_ENABLE_PLUGIN_PRIVACY: true MKDOCS_ENABLE_PLUGIN_RSS: true diff --git a/properdocs.yml b/properdocs.yml index 8baadc5..753c469 100644 --- a/properdocs.yml +++ b/properdocs.yml @@ -66,21 +66,24 @@ nav: - Changelog: changelog.md plugins: + - document-dates: + locale: en + position: bottom + show_author: false + type: datetime - git-committers: enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_COMMITTERS, true] repository: guts/mkdocs-rss-plugin branch: main docs_path: docs/ + exclude_committers: + - pre-commit-ci[bot] + - web-flow cache_dir: !ENV [ MKDOCS_PLUGIN_GIT_COMMITTERS_CACHE_DIR, .cache/plugins/git-committers/, ] - - git-revision-date-localized: - enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_DATES, true] - enable_creation_date: true - fallback_to_build_date: true - locale: en - minify: minify_html: true htmlmin_opts: diff --git a/pyproject.toml b/pyproject.toml index 43dd60e..e652d3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,6 @@ dev = ["ruff>=0.17.2", "pre-commit>=4.6,<5"] docs = [ "mkdocs-git-committers-plugin-2>=2.4.1,<2.6", - "mkdocs-git-revision-date-localized-plugin>=1.3,<1.7", "mkdocs-materialx[imaging]>=10.2.2,<11", "mkdocs-minify-plugin>=0.8,<0.9", "mkdocstrings-python>=1.16.2,<2.1",