doc: Fix extlinks %s substitution in caption
Substitutions in the caption are only supported in version 4 of sphinx. However, RTD uses sphinx 1.8.6 Just letting it append the value seems to work in both 1.8.6 and newer versions.
This commit is contained in:
parent
cf802ad431
commit
89ca0255f1
@ -118,8 +118,8 @@ smartquotes = False
|
|||||||
|
|
||||||
# Quickly link to issues or PRs using :issue:`...` or :pull:`...`
|
# Quickly link to issues or PRs using :issue:`...` or :pull:`...`
|
||||||
extlinks = {
|
extlinks = {
|
||||||
"issue": ("https://github.com/polybar/polybar/issues/%s", "#%s"),
|
"issue": ("https://github.com/polybar/polybar/issues/%s", "#"),
|
||||||
"pull": ("https://github.com/polybar/polybar/pull/%s", "PR #%s"),
|
"pull": ("https://github.com/polybar/polybar/pull/%s", "PR #"),
|
||||||
}
|
}
|
||||||
|
|
||||||
extlinks_detect_hardcoded_links = True
|
extlinks_detect_hardcoded_links = True
|
||||||
|
@ -69,7 +69,8 @@ Settings
|
|||||||
.. note::
|
.. note::
|
||||||
This only affects the color of the individual icons and not the space in
|
This only affects the color of the individual icons and not the space in
|
||||||
between, changing this setting to anything else than the bar background
|
between, changing this setting to anything else than the bar background
|
||||||
will likely not look good.
|
will likely not look good unless the background color is also changed for
|
||||||
|
the rest of the tray module (e.g. with ``format-background``).
|
||||||
|
|
||||||
:type: |type-color|
|
:type: |type-color|
|
||||||
:default: ``${root.background}``
|
:default: ``${root.background}``
|
||||||
|
Loading…
Reference in New Issue
Block a user