File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,9 +56,6 @@ Then in your ``conf.py`` you have to add ``versionwarning`` in the ``extensions`
5656 'versionwarning',
5757 ]
5858
59- Enable it and setup the Read the Docs project's slug::
60-
61- versionwarning_enabled = True
6259
6360Remember to configure the ``version `` of your Sphinx project since it's the key for this to work properly::
6461
@@ -75,9 +72,6 @@ Customization
7572
7673Some customization can be done using the ``conf.py `` file of your Sphinx project:
7774
78- versionwarning_enabled (bool)
79- enable/disable version warning extension
80-
8175versionwarning_default_admonition_type (string)
8276 type of admonition for the banner (warning, admonition or note)
8377
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ def setup(app):
2323 message = default_message .format (newest = '<a href="#"></a>' ),
2424 )
2525
26- app .add_config_value ('versionwarning_enabled' , False , 'html' )
2726 app .add_config_value ('versionwarning_message_placeholder' , '{newest}' , 'html' )
2827 app .add_config_value ('versionwarning_default_admonition_type' , 'warning' , 'html' )
2928 app .add_config_value ('versionwarning_default_message' , default_message , 'html' )
You can’t perform that action at this time.
0 commit comments