Skip to content

Commit 202def0

Browse files
authored
Merge pull request 0xPolygon#90 from 0xPolygon/km/git_contribs
add authors and last update
2 parents f476e2a + 4532cbf commit 202def0

File tree

4 files changed

+23
-10
lines changed

4 files changed

+23
-10
lines changed

.cache/plugin/git-committers/page-authors.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

mkdocs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -570,14 +570,14 @@ markdown_extensions:
570570
plugins:
571571
- search
572572
- open-in-new-tab
573-
# - git-revision-date-localized:
574-
# enable_creation_date: true
575-
# fallback_to_build_date: true
576-
# - git-committers:
577-
# repository: 0xPolygon/polygon-docs
578-
# #branch: main
579-
# exclude:
580-
# - README.md
573+
- git-revision-date-localized:
574+
fallback_to_build_date: true
575+
strict: false
576+
exclude:
577+
- index.md
578+
- git-authors:
579+
exclude:
580+
- index.md
581581

582582
validation:
583583
absolute_links: ignore

overrides/main.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{% extends "base.html" %}
2+
3+
{% block content %}
4+
{{ super() }}
5+
6+
{% if git_page_authors %}
7+
<div class="md-source-date">
8+
<small>
9+
Authors: {{ git_page_authors | default('enable mkdocs-git-authors-plugin') }}
10+
</small>
11+
</div>
12+
{% endif %}
13+
{% endblock %}

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ mkdocs-material==9.5.1
22
markdown-include==0.8.1
33
mkdocs-git-revision-date-localized-plugin==1.2.1
44
mkdocs-open-in-new-tab==1.0.3
5-
mkdocs-git-committers-plugin-2==2.2.2
5+
mkdocs-git-authors-plugin==0.7.2

0 commit comments

Comments
 (0)