-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend the documentation footer (#5454)
- makes the documentation footer aligned with the latest recommendations - adds links with links related to privacy and terms of use in the documentation footer Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{%- set show_copyright_backup = show_copyright -%} | ||
{%- set show_copyright = false -%} | ||
{% extends "!footer.html" %} | ||
{%- block extrafooter %} | ||
|
||
<style> | ||
.footer-notice { | ||
font-size: 85%; | ||
} | ||
</style> | ||
|
||
<p class="footer-notice"> | ||
<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> | ||
|
||
{%- if show_copyright_backup %} | ||
<p class="footer-notice"> | ||
{# from https://github.com/readthedocs/sphinx_rtd_theme/blob/1.0.0/sphinx_rtd_theme/footer.html#L20 #} | ||
{%- if hasdoc('copyright') %} | ||
{%- trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} | ||
{%- else %} | ||
{%- trans copyright=copyright|e %}Copyright © {{ copyright }}.{% endtrans %} | ||
{%- endif %} | ||
</p> | ||
{%- endif %} | ||
{{ super() }} | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters