Add changelog re #4; closes #4.

This commit is contained in:
Jeff Forcier 2013-09-24 19:09:10 -07:00
parent 57cc9745f6
commit 7351a515a7
3 changed files with 12 additions and 3 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.py[cod]
*.egg*
.*.swp
build/

View file

@ -72,6 +72,11 @@ In a fit of irony, Releases is too simple for a full Sphinx doc treatment (or
for multiple release lines) and thus doesn't use itself. Here's a by-hand
changelog:
* 2013.09.24: **0.2.4**:
* Handful of typos, doc tweaks & addition of a .gitignore file. Thanks to
Markus Zapke-Gründemann.
* 2013.09.16: **0.2.3**:
* Fix a handful of bugs in release assignment logic.

View file

@ -1,6 +1,5 @@
import re
from docutils.parsers.rst import roles
from docutils import nodes, utils
@ -15,7 +14,8 @@ def issues_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
"""
Use: :issue|bug|feature|support:`ticket_number`
When invoked as :issue:, turns into just a "#NN" hyperlink to Github.
When invoked as :issue:, turns into just a "#NN" hyperlink to
`releases_issue_uri`.
When invoked otherwise, turns into "[Type] <#NN hyperlink>: ".
@ -198,7 +198,7 @@ def construct_releases(entries, app):
# Entries not yet released get special 'release' entries (that lack an
# actual release object).
nodelist = [release_nodes("Unreleased", "master", None, app.config)]
nodelist = [release_nodes("Unreleased", 'master', None, app.config)]
releases.append({
'obj': release(number='unreleased', date=None, nodelist=nodelist),
'entries': lines['unreleased']