diff --git a/.github/workflows/dev.build.yml b/.github/workflows/dev.build.yml index ace75b0b28..fa63b51bf8 100644 --- a/.github/workflows/dev.build.yml +++ b/.github/workflows/dev.build.yml @@ -21,6 +21,7 @@ jobs: # 0 is needed for the update time plugin to work properly fetch-depth: 0 - name: Install Python + id: install-python uses: actions/setup-python@v5 with: python-version: 3.12 @@ -30,7 +31,7 @@ jobs: uses: actions/cache@v4 with: path: venv - key: requirements-${{ hashFiles('requirements*.txt') }} + key: requirements-${{ steps.install-python.outputs.python-version }}-${{ hashFiles('requirements*.txt') }} - name: Install Uncached Requirements if: steps.cache-requirements.outputs.cache-hit != 'true' run: | diff --git a/.github/workflows/master.build.yml b/.github/workflows/master.build.yml index a78e9bb751..69a6f19a67 100644 --- a/.github/workflows/master.build.yml +++ b/.github/workflows/master.build.yml @@ -20,6 +20,7 @@ jobs: # 0 is needed for the update time plugin to work properly fetch-depth: 0 - name: Install Python + id: install-python uses: actions/setup-python@v5 with: python-version: 3.12 @@ -29,7 +30,7 @@ jobs: uses: actions/cache@v4 with: path: venv - key: requirements-${{ hashFiles('requirements*.txt') }} + key: requirements-${{ steps.install-python.outputs.python-version }}-${{ hashFiles('requirements*.txt') }} - name: Install Uncached Requirements if: steps.cache-requirements.outputs.cache-hit != 'true' run: | diff --git a/.github/workflows/pull.request.yml b/.github/workflows/pull.request.yml index 4164073b0c..e2c7f96e37 100644 --- a/.github/workflows/pull.request.yml +++ b/.github/workflows/pull.request.yml @@ -20,6 +20,7 @@ jobs: # 0 is needed for the update time plugin to work properly fetch-depth: 1 - name: Install Python + id: install-python uses: actions/setup-python@v5 with: python-version: 3.12 @@ -29,7 +30,7 @@ jobs: uses: actions/cache@v4 with: path: venv - key: requirements-${{ hashFiles('requirements*.txt') }} + key: requirements-${{ steps.install-python.outputs.python-version }}-${{ hashFiles('requirements*.txt') }} - name: Install Uncached Requirements if: steps.cache-requirements.outputs.cache-hit != 'true' run: | diff --git a/mkdocs.yml b/mkdocs.yml index ae946e0038..7e128b1299 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -189,6 +189,17 @@ plugins: - preferences*.md - genome/index*.md - zengin/index*.md + - git-authors: + enabled: !ENV [GMC_ENABLE_ON_PUBLISH, False] + show_email_address: false + sort_authors_by: contribution + authorship_threshold_percent: 8 + count_empty_lines: false + exclude: + - index*.md + - preferences*.md + - genome/index*.md + - zengin/index*.md - redirects: # Empty dict to fill with the `meta_redirects.py` hook. redirect_maps: {} diff --git a/requirements.txt b/requirements.txt index 546b5cd34a..6eba1b7a18 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Core Requirements -mkdocs-material==9.5.8 +mkdocs-material==9.5.9 mkdocs-git-revision-date-localized-plugin==1.2.1 mkdocs-video==1.5.0 mkdocs-redirects==1.2.1 @@ -7,4 +7,4 @@ mkdocs-minify-plugin==0.7.1 mkdocs-static-i18n==1.2.0 git+https://github.com/kamilkrzyskow/gothic-lexer.git@b5ee7868a7e7397cd129ff1f847daa7d39c0e416#egg=gothic_lexer mkdocs-awesome-pages-plugin==2.9.2 - +mkdocs-git-authors-plugin==0.7.2 \ No newline at end of file