mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Enable text_add_secnumbers by default (refs: #4218)
This commit is contained in:
parent
60d8f82c51
commit
18dfe37f8c
4
CHANGES
4
CHANGES
@ -88,8 +88,8 @@ Features added
|
|||||||
to let Google Translate know they are not translatable
|
to let Google Translate know they are not translatable
|
||||||
* #4137: doctest: doctest block is always highlighted as python console (pycon)
|
* #4137: doctest: doctest block is always highlighted as python console (pycon)
|
||||||
* #4137: doctest: testcode block is always highlighted as python
|
* #4137: doctest: testcode block is always highlighted as python
|
||||||
* #3998: text: Add new config values :confval:`text_add_secnumbers` and
|
* #3998: text: Assign section numbers by default. You can control it using
|
||||||
:confval:`text_secnumber_suffix`
|
:confval:`text_add_secnumbers` and :confval:`text_secnumber_suffix`
|
||||||
|
|
||||||
Features removed
|
Features removed
|
||||||
----------------
|
----------------
|
||||||
|
@ -2042,7 +2042,7 @@ These options influence text output.
|
|||||||
.. confval:: text_add_secnumbers
|
.. confval:: text_add_secnumbers
|
||||||
|
|
||||||
A boolean that decides whether section numbers are included in text output.
|
A boolean that decides whether section numbers are included in text output.
|
||||||
Default is ``False``.
|
Default is ``True``.
|
||||||
|
|
||||||
.. versionadded:: 1.7
|
.. versionadded:: 1.7
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ def setup(app):
|
|||||||
|
|
||||||
app.add_config_value('text_sectionchars', '*=-~"+`', 'env')
|
app.add_config_value('text_sectionchars', '*=-~"+`', 'env')
|
||||||
app.add_config_value('text_newlines', 'unix', 'env')
|
app.add_config_value('text_newlines', 'unix', 'env')
|
||||||
app.add_config_value('text_add_secnumbers', False, 'env')
|
app.add_config_value('text_add_secnumbers', True, 'env')
|
||||||
app.add_config_value('text_secnumber_suffix', '. ', 'env')
|
app.add_config_value('text_secnumber_suffix', '. ', 'env')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user