Skip to content

Commit

Permalink
Remove sphinx-codeautolink directive from PyPI history (#1220)
Browse files Browse the repository at this point in the history
### What kind of change does this PR introduce?

* Removes a RST directive not allowed on PyPI

### Does this PR introduce a breaking change?

Nope.
  • Loading branch information
Zeitsperre authored Nov 2, 2022
2 parents 10478f9 + 7ac4103 commit c8f45a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
History
=======

0.39.0 (2022-11-01)
0.39.0 (2022-11-02)
-------------------
Contributors to this version: Trevor James Smith (:user:`Zeitsperre`), Abel Aoun (:user:`bzah`), Éric Dupuis (:user:`coxipi`), Travis Logan (:user:`tlogan2000`), Pascal Bourgault (:user:`aulemahal`).

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

with open("HISTORY.rst") as history_file:
history = history_file.read()
# remove disallowed directives for PyPI publishing
history = history.replace(".. autolink-skip::", "")

hyperlink_replacements = {
r":issue:`([0-9]+)`": r"`GH/\1 <https://github.com/Ouranosinc/xclim/issues/\1>`_",
Expand Down

0 comments on commit c8f45a7

Please sign in to comment.