Skip to content

Commit 933de31

Browse files
committed
Link issues in documentation auotmatically
1 parent 622740c commit 933de31

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Release 0.11.0 (unreleased)
2222
* Don't make metadata file part of diff (#267)
2323
* Fix unneeded project prefix in SVN diffs (#888)
2424
* Add more tests and documentation for patching (#888)
25-
* Restrict ``src`` to string only in schema (#889)
25+
* Restrict ``src`` to string only in schema (#888)
2626
* Don't consider ignored files for determining local changes (#350)
2727

2828
Release 0.10.0 (released 2025-03-12)

doc/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"sphinx-jsonschema",
4141
"sphinxcontrib.programoutput",
4242
"sphinx_tabs.tabs",
43+
"sphinx_autoissues",
4344
]
4445

4546
# Add any paths that contain templates here, relative to this directory.
@@ -92,6 +93,10 @@
9293
# Suppress warnings about duplicate labels from argparse directive
9394
suppress_warnings = ["autosectionlabel.manual"]
9495

96+
# Options for sphinx-autoissues
97+
issuetracker = "github"
98+
issuetracker_project = "dfetch-org/dfetch"
99+
95100
# -- Options for HTML output ----------------------------------------------
96101

97102
# The theme to use for HTML and HTML Help pages. See the documentation for

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ docs = [
9898
'sphinx-jsonschema==1.19.2',
9999
'sphinxcontrib-programoutput==0.18',
100100
'sphinx-tabs==3.4.7',
101+
'sphix-autoissues==0.0.1',
101102
]
102103
test = ['pytest==8.4.2', 'pytest-cov==7.0.0', 'behave==1.3.3']
103104
casts = ['asciinema==2.4.0']

0 commit comments

Comments
 (0)