From 822c88311a37fd1a26d5df0b846820463918541f Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Sun, 23 Jun 2024 21:18:29 +0100 Subject: [PATCH] Update CI --- .github/workflows/ci.yml | 3 +++ Pipfile | 1 + Pipfile.lock | 42 +++++++++++++++++++++++++++++++++++++++- mkdocs.yml | 35 +++++---------------------------- 4 files changed, 50 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f26800..02d1e7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-python@v5 with: python-version: 3.x @@ -26,6 +28,7 @@ jobs: uses: VaultVulp/action-pipenv@v2.0.1 with: command: run mkdocs build + GITHUB_TOKEN: ${{ secrets.TOKEN }} - name: Upload Pages artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/Pipfile b/Pipfile index 53be6fe..9b63989 100644 --- a/Pipfile +++ b/Pipfile @@ -16,6 +16,7 @@ neoteroi-mkdocs = "*" mkdocs-spellcheck = "*" codespell = "*" mkdocs-minify-plugin = "*" +mkdocs-git-revision-date-localized-plugin = "*" [dev-packages] diff --git a/Pipfile.lock b/Pipfile.lock index 23075ad..8fcc161 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "ec8440c9c8f73d01f5bf1151fb05713758531ac216a2796ffc004c338a3fafe0" + "sha256": "5f13a8aef982eae1e297d2ba57f9f2731bb474142bbbb787a0814fa988116006" }, "pipfile-spec": 6, "requires": { @@ -305,6 +305,22 @@ ], "version": "==2.1.0" }, + "gitdb": { + "hashes": [ + "sha256:81a3407ddd2ee8df444cbacea00e2d038e40150acfa3001696fe0dcf1d3adfa4", + "sha256:bf5421126136d6d0af55bc1e7c1af1c397a34f5b7bd79e776cd3e89785c2b04b" + ], + "markers": "python_version >= '3.7'", + "version": "==4.0.11" + }, + "gitpython": { + "hashes": [ + "sha256:35f314a9f878467f5453cc1fee295c3e18e52f1b99f10f6cf5b1682e968a9e7c", + "sha256:eec7ec56b92aad751f9912a73404bc02ba212a23adb2c7098ee668417051a1ff" + ], + "markers": "python_version >= '3.7'", + "version": "==3.1.43" + }, "h11": { "hashes": [ "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d", @@ -480,6 +496,15 @@ "markers": "python_version >= '3.8'", "version": "==0.2.0" }, + "mkdocs-git-revision-date-localized-plugin": { + "hashes": [ + "sha256:e432942ce4ee8aa9b9f4493e993dee9d2cc08b3ea2b40a3d6b03ca0f2a4bcaa2", + "sha256:f015cb0f3894a39b33447b18e270ae391c4e25275cac5a626e80b243784e2692" + ], + "index": "pypi", + "markers": "python_version >= '3.8'", + "version": "==1.2.6" + }, "mkdocs-glightbox": { "hashes": [ "sha256:392b34207bf95991071a16d5f8916d1d2f2cd5d5bb59ae2997485ccd778c70d9", @@ -702,6 +727,13 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==2.9.0.post0" }, + "pytz": { + "hashes": [ + "sha256:2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812", + "sha256:328171f4e3623139da4983451950b28e95ac706e13f3f2630a879749e7a8b319" + ], + "version": "==2024.1" + }, "pyyaml": { "hashes": [ "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5", @@ -876,6 +908,14 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==1.16.0" }, + "smmap": { + "hashes": [ + "sha256:dceeb6c0028fdb6734471eb07c0cd2aae706ccaecab45965ee83f11c8d3b1f62", + "sha256:e6d8668fa5f93e706934a62d7b4db19c8d9eb8cf2adbb75ef1b675aa332b69da" + ], + "markers": "python_version >= '3.7'", + "version": "==5.0.1" + }, "sniffio": { "hashes": [ "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", diff --git a/mkdocs.yml b/mkdocs.yml index 339f40a..c336564 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -83,33 +83,8 @@ plugins: # whether to only check in strict mode strict_only: no - - neoteroi.contribs: - contributors: - - email: 5212232+npentrel@users.noreply.github.com - image: https://avatars.githubusercontent.com/u/5212232?s=64&v=4 - - email: bob@clough.me - image: https://avatars.githubusercontent.com/u/1016780?s=60&v=4 - - email: hughr2005@gmail.com - image: https://avatars.githubusercontent.com/u/829836?s=60&v=4 - - email: hughrawlinson@users.noreply.github.com - image: https://avatars.githubusercontent.com/u/829836?s=60&v=4 - - email: andypiper@users.noreply.github.com - image: https://avatars.githubusercontent.com/u/552452?s=60&v=4 - - email: daniel.walker1991@gmail.com - image: https://avatars.githubusercontent.com/u/16877618?s=60&v=4 - - email: jonty@jonty.co.uk - image: https://avatars.githubusercontent.com/u/1553?s=60&v=4 - - email: 90399509+Skyler84@users.noreply.github.com - image: https://avatars.githubusercontent.com/u/90399509?s=60&v=4 - - email: dratini0@gmail.com - image: https://avatars.githubusercontent.com/u/1625485?s=60&v=4 - - email: jon@blankpad.net - image: https://avatars.githubusercontent.com/u/362?s=60&v=4 - - email: emilywselwood@gmail.com - image: https://avatars.githubusercontent.com/u/645622?s=60&v=4 - - email: t.lynch@arts.ac.uk - image: https://avatars.githubusercontent.com/u/147143?s=96&v=4 - - email: git@matthewwilkes.name - image: https://avatars.githubusercontent.com/u/98908?s=60&v=4 - - email: tanyafxg@gmail.com - image: https://avatars.githubusercontent.com/u/17356167?s=60&v=4 + - git-revision-date-localized + - git-committers: + repository: emfcamp/badge-2024-documentation + token: !ENV GITHUB_TOKEN + branch: main