From b43fda4cf806769d519713cde810f2cc0ebb839c Mon Sep 17 00:00:00 2001 From: Can Balioglu Date: Wed, 30 Aug 2023 16:34:15 -0400 Subject: [PATCH] Add legal links to the doc (#14) --- doc/conf.py | 4 ++-- doc/templates/footer.html | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 doc/templates/footer.html diff --git a/doc/conf.py b/doc/conf.py index d5b5dadc6..2d72fa337 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -20,8 +20,6 @@ author = "Fundamental AI Research (FAIR) at Meta" -copyright = "Meta Platforms, Inc. and affiliates" - # ------------------------------------------------------------ # General Configuration # ------------------------------------------------------------ @@ -71,4 +69,6 @@ "navigation_depth": 3, } +html_show_copyright = False + html_static_path = ["static"] diff --git a/doc/templates/footer.html b/doc/templates/footer.html new file mode 100644 index 000000000..28330af8c --- /dev/null +++ b/doc/templates/footer.html @@ -0,0 +1,7 @@ +{% extends '!footer.html' %} + +{% block extrafooter %} +

Terms of Use, Privacy Policy

+ +

Copyright © Meta Platforms, Inc

+{% endblock %}