Skip to content

Commit

Permalink
update authors
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Posselt committed Apr 3, 2016
1 parent 05c657f commit 5ad47cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Authors
Authors
=======

* `Bernhard Posselt <mailto:[email protected]`_
* `Bernhard Posselt <mailto:[email protected]>`_
4 changes: 2 additions & 2 deletions scripts/generate_authors.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def parse_git_author(line):


def to_markdown(author):
return '* `%s <mailto:%s`_' % (author['name'], author['email'])
return '* `%s <mailto:%s>`_' % (author['name'], author['email'])


def get_authors_file():
Expand All @@ -40,7 +40,7 @@ def main():
authors = filter(lambda name: name.strip() != '', authors)
authors = map(parse_git_author, authors)
authors = map(to_markdown, authors)
authors = ['# Authors', ''] + list(authors)
authors = ['Authors', '=======', ''] + list(authors)
markdown = '\n'.join(authors)
with open(get_authors_file(), 'w') as f:
f.write(markdown)
Expand Down

0 comments on commit 5ad47cf

Please sign in to comment.