sphinx: fix up some trademark and branding issues

Submitted by Nicolas Dechesne on Sept. 22, 2020, 10:30 a.m. | Patch ID: 176697

Details

Message ID 20200922103049.659574-1-nicolas.dechesne@linaro.org
State New
Headers show

Commit Message

Nicolas Dechesne Sept. 22, 2020, 10:30 a.m.
The following changes were required after a review of trademark and
branding guidelines:

1. add (R) to 'Yocto Project' on the top left (above the logo)
2. Fix up the capitalization of the  main page title
3. Add the copyright/legal blurb at the bottom of the page

For 3. it turned out to be simpler to override the whole footer.html
template, and maintain our own version. Also I took the liberty to
remove the 'next' and 'previous' buttons since I believe they are not
especially useful, given the navigation bar on the left side.

Reported-by: Tracey Erway <tracey.m.erway@intel.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
---
 documentation/_templates/footer.html | 12 ++++++++++++
 documentation/conf.py                |  2 +-
 documentation/index.rst              |  4 ++--
 3 files changed, 15 insertions(+), 3 deletions(-)
 create mode 100644 documentation/_templates/footer.html

Patch hide | download patch | download mbox

diff --git a/documentation/_templates/footer.html b/documentation/_templates/footer.html
new file mode 100644
index 000000000..508129ede
--- /dev/null
+++ b/documentation/_templates/footer.html
@@ -0,0 +1,12 @@ 
+<footer>
+  <hr/>
+  <div role="contentinfo">
+    <p> A Linux Foundation Collaborative Project.
+        <br> All Rights Reserved. Linux Foundation&reg; and Yocto Project&reg; are registered trademarks of the Linux Foundation.
+        <br>Linux&reg; is a registered trademark of Linus Torvalds.
+        <br>&copy; Copyright {{ copyright }}
+        <br>Last updated on {{ last_updated }}
+    </p>
+  </div>
+</footer>
+
diff --git a/documentation/conf.py b/documentation/conf.py
index f2dd2556f..80d5e8e83 100644
--- a/documentation/conf.py
+++ b/documentation/conf.py
@@ -27,7 +27,7 @@  release = current_version
 
 
 # -- Project information -----------------------------------------------------
-project = 'The Yocto Project'
+project = 'The Yocto Project \xae'
 copyright = '2010-%s, The Linux Foundation' % datetime.datetime.now().year
 author = 'The Linux Foundation'
 
diff --git a/documentation/index.rst b/documentation/index.rst
index 258ecb81a..821316915 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -5,8 +5,8 @@ 
    You can adapt this file completely to your liking, but it should at least
    contain the root `toctree` directive.
 
-Welcome to The Yocto Project's documentation!
-=============================================
+Welcome to the Yocto Project Documentation
+==========================================
 
 |