diff --git a/docs/overrides/home.html b/docs/overrides/home.html index 7e01768..b0b6e5f 100644 --- a/docs/overrides/home.html +++ b/docs/overrides/home.html @@ -13,6 +13,12 @@

Commit Check

+ + + + + Star on GitHub +

{% endblock %} diff --git a/mkdocs.yml b/mkdocs.yml index 04528e0..c8b610e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -8,12 +8,14 @@ site_description: >- site_author: shenxianpeng copyright: Copyright © 2022 - 2026 Commit Check -# The documentation covers a family of repositories, so the links point at the -# organisation rather than at any single one. edit_uri is absolute for the same -# reason: the pages live here, not in the repository they document. -repo_url: https://github.com/commit-check/commit-check.com -repo_name: commit-check/commit-check.com -edit_uri: edit/main/docs/ +# The header links to the product repository, not to this documentation repo: +# visitors who reach the site from a search or a link are users of commit-check +# itself, and the star/fork counts and the "star" entry point belong to it. The +# pages themselves live here, so edit_uri is an absolute URL pointing back at +# this repository. +repo_url: https://github.com/commit-check/commit-check +repo_name: commit-check/commit-check +edit_uri: https://github.com/commit-check/commit-check.com/edit/main/docs/ docs_dir: docs