doc: Use issue directive to link to issue

This commit is contained in:
patrick96 2023-04-03 14:42:48 +02:00 committed by Patrick Ziegler
parent 006e971dad
commit 44b5f87884
2 changed files with 5 additions and 3 deletions

View File

@ -116,11 +116,14 @@ highlight_language = 'none'
smartquotes = False
# Quickly link to issues or PRs using :issue:`...` or :pull:`...`
extlinks = {
"issue": ("https://github.com/polybar/polybar/issues/%s", "#%s"),
"pull": ("https://github.com/polybar/polybar/pull/%s", "PR #%s"),
}
extlinks_detect_hardcoded_links = True
# -- Options for HTML output -------------------------------------------------

View File

@ -78,9 +78,8 @@ Instead of ``sudo make install``, you will most likely want to use
Finishing Up
------------
Finally, subscribe to our `GitHub thread for package maintainers
<https://github.com/polybar/polybar/issues/1971>`_ to get notified about new
releases and changes to how polybar is built.
Finally, subscribe to our :issue:`GitHub thread for package maintainers <1971>`
to get notified about new releases and changes to how polybar is built.
If you want to, you can also open a PR to add your package to the `Getting
Started <https://github.com/polybar/polybar#getting-started>`_ section of our
README.