From ae818da5d8c80359d0bb37a4886d26ee9d23f60f Mon Sep 17 00:00:00 2001 From: Kristal Dale Date: Mon, 5 Aug 2019 14:28:00 -0700 Subject: [PATCH 1/4] Added canonical tag configuration to config file. Added GA tracking snippet (cross-domain) to layout template. Signed-off-by: Kristal Dale --- .../_themes/otc_tcs_sphinx_theme/layout.html | 18 ++++++++++++++++++ source/conf.py | 1 + 2 files changed, 19 insertions(+) diff --git a/source/_themes/otc_tcs_sphinx_theme/layout.html b/source/_themes/otc_tcs_sphinx_theme/layout.html index 3edaf20a..e4782f90 100644 --- a/source/_themes/otc_tcs_sphinx_theme/layout.html +++ b/source/_themes/otc_tcs_sphinx_theme/layout.html @@ -1,5 +1,23 @@ {% extends "sphinx_rtd_theme/layout.html" %} +{% block htmltitle %} + + + +{{ super() }} + +{% endblock %} + {% block extrahead %} diff --git a/source/conf.py b/source/conf.py index 86fe2a1a..33fcd32e 100644 --- a/source/conf.py +++ b/source/conf.py @@ -127,6 +127,7 @@ version = current_version = "latest" # further. For a list of options available for each theme, see the # documentation. html_theme_options = { + 'canonical_url': 'docs.01.org/clearlinux/', 'style_nav_header_background': '#007ab2', 'navigation_depth': 4, 'display_version': False, From 63317e9d433e46b5b2599bbb7ddc931690d98651 Mon Sep 17 00:00:00 2001 From: Kristal Dale Date: Mon, 5 Aug 2019 15:37:59 -0700 Subject: [PATCH 2/4] Correction to GA snippet Signed-off-by: Kristal Dale --- source/_themes/otc_tcs_sphinx_theme/layout.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/_themes/otc_tcs_sphinx_theme/layout.html b/source/_themes/otc_tcs_sphinx_theme/layout.html index e4782f90..8bdefb85 100644 --- a/source/_themes/otc_tcs_sphinx_theme/layout.html +++ b/source/_themes/otc_tcs_sphinx_theme/layout.html @@ -1,15 +1,14 @@ {% extends "sphinx_rtd_theme/layout.html" %} {% block htmltitle %} - From 564c1de03e4974aef13fc58e22f87735bb2139e3 Mon Sep 17 00:00:00 2001 From: Kristal Dale Date: Mon, 5 Aug 2019 16:04:16 -0700 Subject: [PATCH 3/4] GA edits for spaces Signed-off-by: Kristal Dale --- source/_themes/otc_tcs_sphinx_theme/layout.html | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/source/_themes/otc_tcs_sphinx_theme/layout.html b/source/_themes/otc_tcs_sphinx_theme/layout.html index 8bdefb85..bbd1e1ce 100644 --- a/source/_themes/otc_tcs_sphinx_theme/layout.html +++ b/source/_themes/otc_tcs_sphinx_theme/layout.html @@ -1,17 +1,7 @@ {% extends "sphinx_rtd_theme/layout.html" %} {% block htmltitle %} - + {{ super() }} From fc2f2ee872dde97972280095f806f738b36815fa Mon Sep 17 00:00:00 2001 From: Kristal Dale Date: Tue, 6 Aug 2019 12:00:29 -0700 Subject: [PATCH 4/4] Update "Use Cases" to be "Use case tutorials" Signed-off-by: Kristal Dale --- source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.rst b/source/index.rst index cab854a7..753abac4 100644 --- a/source/index.rst +++ b/source/index.rst @@ -22,7 +22,7 @@ Our documentation is divided into the following sections: Guides cover a range of topics from |CL| features and tooling, to system maintenance, network, and stacks. -:ref:`Use Cases ` +:ref:`Use case tutorials ` Sample use cases, with step-by-step instructions, show how to set up third-party tools and software with |CL|.