|
|
286f754 |
diff --git a/docs/conf.py b/docs/conf.py
|
|
|
286f754 |
index 2cb5a10..520c101 100644
|
|
|
286f754 |
--- a/docs/conf.py
|
|
|
286f754 |
+++ b/docs/conf.py
|
|
|
286f754 |
@@ -35,7 +35,6 @@ extensions = [
|
|
|
286f754 |
'sphinx.ext.viewcode',
|
|
|
286f754 |
'alabaster',
|
|
|
286f754 |
'sphinx_issues',
|
|
|
286f754 |
- 'versionwarning.extension',
|
|
|
286f754 |
]
|
|
|
286f754 |
|
|
|
286f754 |
primary_domain = 'py'
|
|
|
286f754 |
@@ -101,19 +100,3 @@ html_sidebars = {
|
|
|
286f754 |
'**': ['about.html', 'donate.html', 'useful-links.html',
|
|
|
286f754 |
'localtoc.html', 'relations.html', 'searchbox.html']
|
|
|
286f754 |
}
|
|
|
286f754 |
-
|
|
|
286f754 |
-# sphinx-version-warning config
|
|
|
286f754 |
-versionwarning_messages = {
|
|
|
286f754 |
- 'latest': 'This document is for the development version. For the stable version documentation, see here.',
|
|
|
286f754 |
- 'stable': 'This document is for the latest stable release. For the 3.0 pre-release documentation, see here.',
|
|
|
286f754 |
- '3.0': 'This document is for the latest 3.0 pre-release. For the 2.x documentation, see here.',
|
|
|
286f754 |
- '2.x-line': 'This document is for the 2.x release branch. For the 3.0 pre-release documentation, see here.',
|
|
|
286f754 |
-}
|
|
|
286f754 |
-# Show warning at top of page
|
|
|
286f754 |
-versionwarning_body_selector = 'div.document'
|
|
|
286f754 |
-# For debugging locally
|
|
|
286f754 |
-# versionwarning_project_version = '3.0'
|
|
|
286f754 |
-
|
|
|
286f754 |
-# https://docs.readthedocs.io/en/latest/guides/adding-custom-css.html
|
|
|
286f754 |
-def setup(app):
|
|
|
286f754 |
- app.add_stylesheet('css/versionwarning.css')
|