mirror of
https://github.com/vale981/releases
synced 2025-03-04 17:21:43 -05:00
parent
57cc9745f6
commit
7351a515a7
3 changed files with 12 additions and 3 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
*.py[cod]
|
||||
*.egg*
|
||||
.*.swp
|
||||
build/
|
|
@ -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.
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue