From 9acfa44f630e8e06e2b56c66cde6ff0708f66b05 Mon Sep 17 00:00:00 2001 From: Mike McKiernan Date: Tue, 16 Apr 2024 09:03:32 -0400 Subject: [PATCH] Add GDPR info to footer Signed-off-by: Mike McKiernan --- docs/source/_static/css/custom.css | 13 +++++++++++++ docs/source/_templates/footer.html | 10 ++++++++++ docs/source/conf.py | 3 +-- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 docs/source/_templates/footer.html diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css index 7287e49212..c0b6be6461 100644 --- a/docs/source/_static/css/custom.css +++ b/docs/source/_static/css/custom.css @@ -470,3 +470,16 @@ dd p:first-child { margin-top: 0px; } + +footer div p { + font-size: 80%; + padding-top: 1em; +} + +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 0000000000..67c31217d9 --- /dev/null +++ b/docs/source/_templates/footer.html @@ -0,0 +1,10 @@ +

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

\ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index e110990e32..8c4b8006bb 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -101,8 +101,7 @@ html_theme_options = { "repository_url": "https://github.com/NVIDIA-Merlin/models", "use_repository_button": True, - "footer_content_items": ["copyright.html", "last-updated.html"], - "extra_footer": "", + "footer_content_items": ["copyright.html", "footer.html"], "logo": {"text": "NVIDIA Merlin Models", "alt_text": "NVIDIA Merlin Models"}, } html_sidebars = {