mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-12-18 10:25:58 +01:00
Added git-committers plugin to blog post
This commit is contained in:
parent
d3d8964c63
commit
b276146fc7
@ -18,17 +18,20 @@ seconds to just 2 seconds.__
|
|||||||
Developing an efficient approach to build documentation in CI workflows is
|
Developing an efficient approach to build documentation in CI workflows is
|
||||||
essential, especially when working in large repositories with thousands of
|
essential, especially when working in large repositories with thousands of
|
||||||
commits, like ours. Of course, we want to build documentation quickly and
|
commits, like ours. Of course, we want to build documentation quickly and
|
||||||
efficiently, ensuring fast and productive workflows. When using the wonderful
|
efficiently, ensuring fast and productive workflows. When using both the
|
||||||
[`git-revision-date-localized`][git-revision-date-localized] plugin to display
|
wonderful [`git-committers`][git-committers] and [`git-revision-date-localized`]
|
||||||
[document contributors] at the bottom of each page, we are required to set
|
[git-revision-date-localized] plugins to display [document contributors] and
|
||||||
`fetch-depth: 0`, which resulted in checkout times of 20 to 30 seconds on our
|
[dates] at the bottom of each page, we are required to set `fetch-depth: 0`,
|
||||||
repository. By leveraging [`git sparse-checkout`][git sparse-checkout] within
|
which resulted in checkout times of 20 to 30 seconds on our repository. By
|
||||||
[GitHub Actions], we were able to bring down checkout time to 2 seconds.
|
leveraging [`git sparse-checkout`][git sparse-checkout] within [GitHub Actions],
|
||||||
|
we were able to bring down checkout time to 2 seconds.
|
||||||
|
|
||||||
[git sparse-checkout]: https://git-scm.com/docs/git-sparse-checkout
|
[git sparse-checkout]: https://git-scm.com/docs/git-sparse-checkout
|
||||||
[GitHub Actions]: ../../publishing-your-site.md#with-github-actions
|
[GitHub Actions]: ../../publishing-your-site.md#with-github-actions
|
||||||
[git-revision-date-localized]: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin
|
[git-revision-date-localized]: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin
|
||||||
|
[git-committers]: https://github.com/ojacques/mkdocs-git-committers-plugin-2
|
||||||
[document contributors]: ../../setup/adding-a-git-repository.md#document-contributors
|
[document contributors]: ../../setup/adding-a-git-repository.md#document-contributors
|
||||||
|
[dates]: ../../setup/adding-a-git-repository.md#document-dates
|
||||||
|
|
||||||
<!-- more -->
|
<!-- more -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user