From 2a0c7e2844b961f5aeebc1deed6068deac23fb8f Mon Sep 17 00:00:00 2001 From: tink Date: Sun, 23 Jun 2024 17:51:29 +0800 Subject: [PATCH] add git committers --- Makefile | 5 +++++ mkdocs.yml | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/Makefile b/Makefile index fcb617e..4668f6e 100644 --- a/Makefile +++ b/Makefile @@ -20,4 +20,9 @@ plugin: pip install mkdocs-print-site-plugin # print site pip install mkdocs-jupyter # jupyter pip install mkdocs-glightbox # image lightbox + pip install mkdocs-git-committers-plugin-2 + +push: + git push origin + git push github diff --git a/mkdocs.yml b/mkdocs.yml index 33fcf96..312c04b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,6 +4,10 @@ site_author: tink site_url: https://docs.cyub.vip/dev-wiki strict: false +repo_name: cyub/dev-wiki +repo_url: https://github.com/cyub/dev-wiki +edit_uri: edit/main/docs/ + nav: - 简介: index.md - 操作系统: @@ -160,6 +164,9 @@ plugins: - mkdocs-jupyter: include: ["*.ipynb"] ignore: ["system-design/*.ipynb"] + - git-committers: + repository: cyub/dev-wiki + branch: main # Additional configuration extra: