Skip to content

Commit 9113a35

Browse files
committed
Remove versionwarning_enabled since it is useless
1 parent 32a1314 commit 9113a35

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

README.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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

6360
Remember 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

7673
Some 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-
8175
versionwarning_default_admonition_type (string)
8276
type of admonition for the banner (warning, admonition or note)
8377

versionwarning/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)