diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 19cbe72a9..94e1cf247 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,6 +48,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v4 diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 5b58bd08e..d38d97085 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -33,6 +33,11 @@ extra_css: plugins: - search + - git-revision-date-localized: + type: timeago + enable_creation_date: true + exclude: + - README.md - minify: minify_html: true minify_css: true diff --git a/docs/requirements.txt b/docs/requirements.txt index 2cb87a4a5..f381e04da 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,5 @@ mkdocs==1.4.2 +mkdocs-git-revision-date-localized-plugin==1.2.0 mkdocs-material==9.1.3 mkdocs-material-extensions==1.1.1 mkdocs-minify-plugin==0.6.4