Close #6550: html: Allow to use HTML permalink texts

Add new configuration variables: `html_permalinks` and
`html_permalinks_icon`.

This refines the settings around HTML permalinks.

* html_add_permalinks
  * Deprecated.
* html_permalinks
  * Enable or disable permalinks feature.
* html_permalinks_icon
  * Change the icon for permalinks
This commit is contained in:
Takeshi KOMIYA
2020-12-27 15:25:22 +09:00
parent 3a0a6556c5
commit 15cbc6dbb0
7 changed files with 92 additions and 23 deletions

View File

@@ -71,6 +71,16 @@ The following is a list of deprecated interfaces.
- 5.0
- :ref:`logging-api`
* - ``sphinx.writers.html.HTMLTranslator.permalink_text``
- 3.5
- 5.0
- :confval:`html_permalinks_icon`
* - ``sphinx.writers.html5.HTML5Translator.permalink_text``
- 3.5
- 5.0
- :confval:`html_permalinks_icon`
* - The ``follow_wrapped`` argument of ``sphinx.util.inspect.signature()``
- 3.4
- 5.0