From 305ac3853da0ba7685f91990e7fc30e006410907 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Tue, 14 May 2024 17:15:05 +0100 Subject: [PATCH] show update time --- mkdocs-common.yml | 1 + poetry.lock | 23 ++++++++++++++++++++--- pyproject.toml | 1 + 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/mkdocs-common.yml b/mkdocs-common.yml index 6834c0ff50..924179a95d 100644 --- a/mkdocs-common.yml +++ b/mkdocs-common.yml @@ -63,6 +63,7 @@ theme: name: Switch to light mode plugins: + git-revision-date-localized: search: autorefs: mkdocstrings: diff --git a/poetry.lock b/poetry.lock index 483c8f9b4e..6454dab8a4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiohttp" @@ -996,6 +996,23 @@ files = [ [package.dependencies] mkdocs = "*" +[[package]] +name = "mkdocs-git-revision-date-localized-plugin" +version = "1.2.5" +description = "Mkdocs plugin that enables displaying the localized date of the last git modification of a markdown file." +optional = false +python-versions = ">=3.8" +files = [ + {file = "mkdocs_git_revision_date_localized_plugin-1.2.5-py3-none-any.whl", hash = "sha256:d796a18b07cfcdb154c133e3ec099d2bb5f38389e4fd54d3eb516a8a736815b8"}, + {file = "mkdocs_git_revision_date_localized_plugin-1.2.5.tar.gz", hash = "sha256:0c439816d9d0dba48e027d9d074b2b9f1d7cd179f74ba46b51e4da7bb3dc4b9b"}, +] + +[package.dependencies] +babel = ">=2.7.0" +GitPython = "*" +mkdocs = ">=1.0" +pytz = "*" + [[package]] name = "mkdocs-material" version = "9.5.18" @@ -1160,7 +1177,7 @@ files = [ {file = "msgpack-1.0.8-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5fbb160554e319f7b22ecf530a80a3ff496d38e8e07ae763b9e82fadfe96f273"}, {file = "msgpack-1.0.8-cp39-cp39-win32.whl", hash = "sha256:f9af38a89b6a5c04b7d18c492c8ccf2aee7048aff1ce8437c4683bb5a1df893d"}, {file = "msgpack-1.0.8-cp39-cp39-win_amd64.whl", hash = "sha256:ed59dd52075f8fc91da6053b12e8c89e37aa043f8986efd89e61fae69dc1b011"}, - {file = "msgpack-1.0.8.tar.gz", hash = "sha256:95c02b0e27e706e48d0e5426d1710ca78e0f0628d6e89d5b5a5b91a5f12274f3"}, + {file = "msgpack-1.0.8-py3-none-any.whl", hash = "sha256:24f727df1e20b9876fa6e95f840a2a2651e34c0ad147676356f4bf5fbb0206ca"}, ] [[package]] @@ -2308,4 +2325,4 @@ syntax = ["tree-sitter", "tree-sitter-languages"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "4d935ffc4d465a2e51881f971fe3b9b62b9a1a8462ae511a512b5d7fae06a733" +content-hash = "2dbe4779e5d4b5ec5ab069d0577efcf0b271026ed981356da02f5b9ff7e1443e" diff --git a/pyproject.toml b/pyproject.toml index b99f790ee3..3f840f754a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,7 @@ rich = ">=13.3.3" typing-extensions = "^4.4.0" tree-sitter = { version = "^0.20.1", optional = true } tree-sitter-languages = { version = "1.10.2", optional = true } +mkdocs-git-revision-date-localized-plugin = "^1.2.5" [tool.poetry.extras] syntax = ["tree-sitter", "tree_sitter_languages"]