Skip to content

Commit

Permalink
add gitalk option adminAutoCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Jan 22, 2022
1 parent 32add2c commit 880b118
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ temp
__pycache__
*.egg-info
dist
.ipynb_checkpoints/


1 change: 1 addition & 0 deletions docs/get_started/en/plugins/others.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ To use it, you need to add a plug-in in the `site_config` file
* `clientID` and `clientSecret`: You need to create a new application in [github application](https://github.com/settings/applications/new) to get `ID` and `Secret`
* `repo` and `owner`: are the name and owner of the repository, for example, [github.com/teedoc/teedoc.github.io](https://github.com/teedoc/teedoc.github.io) is used here `issue` as a comment system, just fill in `teedoc.github.io` and `teedoc`
* `admin`: is the name of the user who has write access to this repository
* `adminAutoCreate`: Automatically create issue when first time administrator visit page or not
* `main_color`: the main appearance color of comments, optional
* `second_color`: the secondary appearance color of comments, optional

Expand Down
1 change: 1 addition & 0 deletions docs/get_started/zh/plugins/others.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ var _hmt = _hmt || [];
* `clientID``clientSecret`: 需要在[github application](https://github.com/settings/applications/new) 中新建一个应用,可以得到`ID``Secret`
* `repo``owner`: 就是仓库名和拥有者,比如这里用[github.com/teedoc/teedoc.github.io](https://github.com/teedoc/teedoc.github.io)这个仓库的`issue`作为评论系统,就填`teedoc.github.io``teedoc`
* `admin`: 就是拥有这个仓库写入权限的用户名
* `adminAutoCreate`: 是否在管理员访问页面的时候就立刻创建 issue
* `main_color`: 评论主要外观颜色, 可以不设置
* `second_color`: 评论次要外观颜色, 可以不设置

Expand Down

0 comments on commit 880b118

Please sign in to comment.