Compare commits

...

7 Commits

Author SHA1 Message Date
JulioV 6a7c1cf785
Update conf.py 2020-12-18 17:40:08 -05:00
JulioV b48917c7c1
Update conf.py 2020-12-08 10:34:08 -05:00
JulioV ae2ed12aae
Update conf.py 2020-12-08 10:32:38 -05:00
JulioV 298c6c4dfc Try installing warning package with pip file 2020-12-03 18:22:56 -05:00
JulioV fbbacaa16c Move readthedocs.yml 2020-12-03 18:15:50 -05:00
JulioV a9f6fb6fb0 Remove versionwarning import 2020-12-03 18:12:56 -05:00
JulioV 683d3abe24 Add sphinx version warning package 2020-12-03 18:11:29 -05:00
3 changed files with 16 additions and 2 deletions

7
.readthedocs.yml 100644
View File

@ -0,0 +1,7 @@
version: 2
python:
version: 3.7
install:
- requirements: docs/requirements.txt

View File

@ -26,7 +26,13 @@ import sys
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = []
versionwarning_messages = {
'latest': 'These are the old docs for RAPIDS beta. Go to <a href="http://www.rapids.science">www.rapids.science</a> for the latest',
}
versionwarning_banner_title = 'Deprecated Version'
versionwarning_body_selector = 'div[itemprop="articleBody"]'
extensions = ['versionwarning.extension']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@ -120,7 +126,7 @@ html_theme = 'sphinx_rtd_theme'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.

View File

@ -0,0 +1 @@
sphinx-version-warning==1.1.2