Skip to content

Commit

Permalink
Update information about mkdocs-material customization
Browse files Browse the repository at this point in the history
  • Loading branch information
vladislav-sharapov authored and timvink committed May 8, 2024
1 parent 6acca89 commit 0f3f1b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ Which renders as:

### mkdocs-material theme

If you use the [mkdocs-material](https://github.com/squidfunk/mkdocs-material) theme you can implement git-authors by [overriding a template block](https://squidfunk.github.io/mkdocs-material/customization/#overriding-blocks):
The [mkdocs-material](https://github.com/squidfunk/mkdocs-material) theme has [built-in integration](https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#document-authors) for git-authors starting from version 9.5.0.

If you use mkdocs-material theme version lower than 9.5.0 you can implement git-authors by [overriding a template block](https://squidfunk.github.io/mkdocs-material/customization/#overriding-blocks):

1) Create a new file `main.html` in `docs/overrides`:

Expand Down

0 comments on commit 0f3f1b5

Please sign in to comment.