Skip to content

Commit

Permalink
Merge pull request #90 from 0xPolygon/km/git_contribs
Browse files Browse the repository at this point in the history
add authors and last update
  • Loading branch information
zkinpublic authored Dec 18, 2023
2 parents f476e2a + 4532cbf commit 202def0
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .cache/plugin/git-committers/page-authors.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -570,14 +570,14 @@ markdown_extensions:
plugins:
- search
- open-in-new-tab
# - git-revision-date-localized:
# enable_creation_date: true
# fallback_to_build_date: true
# - git-committers:
# repository: 0xPolygon/polygon-docs
# #branch: main
# exclude:
# - README.md
- git-revision-date-localized:
fallback_to_build_date: true
strict: false
exclude:
- index.md
- git-authors:
exclude:
- index.md

validation:
absolute_links: ignore
Expand Down
13 changes: 13 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% extends "base.html" %}

{% block content %}
{{ super() }}

{% if git_page_authors %}
<div class="md-source-date">
<small>
Authors: {{ git_page_authors | default('enable mkdocs-git-authors-plugin') }}
</small>
</div>
{% endif %}
{% endblock %}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ mkdocs-material==9.5.1
markdown-include==0.8.1
mkdocs-git-revision-date-localized-plugin==1.2.1
mkdocs-open-in-new-tab==1.0.3
mkdocs-git-committers-plugin-2==2.2.2
mkdocs-git-authors-plugin==0.7.2

0 comments on commit 202def0

Please sign in to comment.