Skip to content

Commit

Permalink
Add GDPR info to footer
Browse files Browse the repository at this point in the history
Signed-off-by: Mike McKiernan <[email protected]>
  • Loading branch information
mikemckiernan authored and rhdong committed Apr 23, 2024
1 parent d0da5c9 commit d87034d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
11 changes: 11 additions & 0 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,14 @@ dl > dt > em > span.pre { padding-right: 0px; padding-left: 2px; }

dl > dt > code.sig-name > span.pre { padding-left: 2px; }

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
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{% extends '!footer.html' %}
{% block contentinfo %}
{{ super() }}
<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>
{% endblock %}
9 changes: 0 additions & 9 deletions docs/source/_templates/layout.html

This file was deleted.

9 changes: 8 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import subprocess
import sys

from datetime import datetime
from natsort import natsorted

sys.path.insert(0, os.path.abspath("../.."))
Expand All @@ -39,8 +40,13 @@

# -- Project information -----------------------------------------------------

year_range = "2022"
year_now = str(datetime.now().year)
if year_range != year_now:
year_range = year_range + chr(8211) + year_now

project = 'Merlin Key-Value Storage'
copyright = '2022, NVIDIA'
copyright = year_range + ", NVIDIA"
author = 'NVIDIA'

# -- General configuration ---------------------------------------------------
Expand Down Expand Up @@ -102,6 +108,7 @@
"analytics_id": "G-NVJ1Y1YJHK",
}
html_show_sourcelink = False
html_show_sphinx = False

# Whitelist pattern for tags (set to None to ignore all tags)
# Determine if Sphinx is reading conf.py from the checked out
Expand Down

0 comments on commit d87034d

Please sign in to comment.