Skip to content

Commit 9f424ac

Browse files
committed
✨ excluded_github_users is added to contributors.rst
1 parent 80b4568 commit 9f424ac

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ in your `mobanfile.
157157
Auto generation of contributors
158158
--------------------------------------------------------------------------------
159159

160-
You must specify an author in your configuration file, otherwise contributors
161-
will include author.
160+
You can specify `excluded_github_users` to exclude yourself and bot accounts.
162161

163162
Developer Guides
164163
================================================================================

templates/CONTRIBUTORS.rst.jj2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set contributors = moban_jinja2_contributors(organisation, name, author) %}
1+
{% set contributors = moban_jinja2_contributors(organisation, name, excluded_github_users) %}
22

33
{% if contributors %}
44

0 commit comments

Comments
 (0)