Skip to content

Commit

Permalink
Add GDPR info in footer
Browse files Browse the repository at this point in the history
Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com>
  • Loading branch information
mikemckiernan committed Apr 23, 2024
1 parent 9f0ba33 commit 03c3882
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 11 deletions.
12 changes: 12 additions & 0 deletions docs/source/_static/css/custom.css
Expand Up @@ -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);
}
14 changes: 14 additions & 0 deletions docs/source/_templates/footer.html
@@ -0,0 +1,14 @@
{% extends '!footer.html' %}
{% block contentinfo %}
<p>
<a href="https://www.nvidia.com/en-us/about-nvidia/privacy-policy/" target="_blank">Privacy Policy</a> |
<a href="https://www.nvidia.com/en-us/about-nvidia/privacy-center/" target="_blank">Manage My Privacy</a> |
<a href="https://www.nvidia.com/en-us/preferences/start/" target="_blank">Do Not Sell or Share My Data</a> |
<a href="https://www.nvidia.com/en-us/about-nvidia/terms-of-service/" target="_blank">Terms of Service</a> |
<a href="https://www.nvidia.com/en-us/about-nvidia/accessibility/" target="_blank">Accessibility</a> |
<a href="https://www.nvidia.com/en-us/about-nvidia/company-policies/" target="_blank">Corporate Policies</a> |
<a href="https://www.nvidia.com/en-us/product-security/" target="_blank">Product Security</a> |
<a href="https://www.nvidia.com/en-us/contact/" target="_blank">Contact</a>
</p>
{{ super() }}
{% endblock %}
9 changes: 0 additions & 9 deletions docs/source/_templates/layout.html

This file was deleted.

10 changes: 8 additions & 2 deletions docs/source/conf.py
Expand Up @@ -14,6 +14,7 @@
import re
import subprocess
import sys
from datetime import datetime

from natsort import natsorted

Expand All @@ -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 ---------------------------------------------------

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 03c3882

Please sign in to comment.