From 9353f497457297952173b603ebea436c9421971e Mon Sep 17 00:00:00 2001 From: Paul Friederichsen Date: Sat, 19 Feb 2022 16:44:22 -0600 Subject: [PATCH] Add revision-date plugin to mkdocs gh-pages config --- .github/workflows/publish_docs.yml | 2 +- mkdocs-gh-pages.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_docs.yml index f5f5e867..03b012e2 100644 --- a/.github/workflows/publish_docs.yml +++ b/.github/workflows/publish_docs.yml @@ -17,5 +17,5 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.x - - run: pip install mkdocs-material mkdocs-redirects + - run: pip install mkdocs-material mkdocs-redirects mkdocs-git-revision-date-plugin - run: mkdocs gh-deploy --force --config-file mkdocs-gh-pages.yml \ No newline at end of file diff --git a/mkdocs-gh-pages.yml b/mkdocs-gh-pages.yml index 922e396e..915b9bf7 100644 --- a/mkdocs-gh-pages.yml +++ b/mkdocs-gh-pages.yml @@ -4,6 +4,7 @@ site_url: https://hydrusnetwork.github.io/hydrus/ plugins: - search + - git-revision-date - redirects: redirect_maps: 'help/access_keys.md': 'access_keys.md'