Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Make reST changelog entry use anonymous links (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon authored May 9, 2020
1 parent af9620f commit e193fe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion release_often/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
RST_ENTRY = """\
{version}
-------------------------------------------------
`PR #{pr_number} <{pr_url}>`_: {summary} (thanks `{committer} <{committer_url}>`_)
`PR #{pr_number} <{pr_url}>`__: {summary} (thanks `{committer} <{committer_url}>`__)
"""

TEMPLATES = {".md": (MD_HEADER, MD_ENTRY), ".rst": (RST_HEADER, RST_ENTRY)}
Expand Down
6 changes: 3 additions & 3 deletions tests/test_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
1.0.0
-------------------------------------------------
`PR #1 <...>`_: I did something! (thanks `Brett <...>`_)
`PR #1 <...>`__: I did something! (thanks `Brett <...>`__)
"""

NEW_RST_CHANGELOG = """\
Expand All @@ -18,11 +18,11 @@
2.0.0
-------------------------------------------------
`PR #105 <https://github.com/brettcannon/gidgethub/pull/105>`_: Update the copyright year in documentation. (thanks `Mariatta <https://github.com/Mariatta>`_)
`PR #105 <https://github.com/brettcannon/gidgethub/pull/105>`__: Update the copyright year in documentation. (thanks `Mariatta <https://github.com/Mariatta>`__)
1.0.0
-------------------------------------------------
`PR #1 <...>`_: I did something! (thanks `Brett <...>`_)
`PR #1 <...>`__: I did something! (thanks `Brett <...>`__)
"""

OLD_MD_CHANGELOG = """\
Expand Down

0 comments on commit e193fe9

Please sign in to comment.