diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css index 319ddff89a0..92846f2b2ef 100644 --- a/docs/source/_static/css/custom.css +++ b/docs/source/_static/css/custom.css @@ -31,4 +31,16 @@ p.banner { border-radius: 4px; color: #004831; background: #76b900; +} + +footer div p { + font-size: 80%; +} + +footer div p a { + color: var(--small-font-color); +} + +footer div p a:hover { + color: var(--small-font-color); } \ No newline at end of file diff --git a/docs/source/_templates/footer.html b/docs/source/_templates/footer.html new file mode 100644 index 00000000000..72cae10b793 --- /dev/null +++ b/docs/source/_templates/footer.html @@ -0,0 +1,14 @@ +{% extends '!footer.html' %} +{% block contentinfo %} +

+Privacy Policy | +Manage My Privacy | +Do Not Sell or Share My Data | +Terms of Service | +Accessibility | +Corporate Policies | +Product Security | +Contact +

+{{ super() }} +{% endblock %} \ No newline at end of file diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html deleted file mode 100644 index 76917f64c1f..00000000000 --- a/docs/source/_templates/layout.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "!layout.html" %} -{% block extrabody %} - -{% endblock %} diff --git a/docs/source/conf.py b/docs/source/conf.py index 4e2f54d9d6e..197d5e8f8f0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -14,6 +14,7 @@ import re import subprocess import sys +from datetime import datetime from natsort import natsorted @@ -28,12 +29,16 @@ # -- Project information ----------------------------------------------------- +year_range = "2021" +year_now = str(datetime.now().year) +if year_range != year_now: + year_range = year_range + chr(8211) + year_now + project = "NVTabular" -copyright = "2021, NVIDIA" # pylint: disable=W0622 +copyright = year_range + ", NVIDIA" # pylint: disable=W0622 author = "NVIDIA" # The full version, including alpha/beta/rc tags -release = "2021" # -- General configuration --------------------------------------------------- @@ -93,6 +98,7 @@ } html_copy_source = False html_show_sourcelink = False +html_show_sphinx = False # 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,