From 09a1c3bf70a608d604fd7094a1ddf8cfd78b2207 Mon Sep 17 00:00:00 2001 From: Jodie Putrino <j.putrino@f5.com> Date: Thu, 19 Apr 2018 10:42:00 -0600 Subject: [PATCH] Docs nav improvements - add link to DevCentral to sidebar and add solution docs to breadcrumbs --- docs/_templates/breadcrumb.html | 6 ++++++ docs/_templates/extralinks.html | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 docs/_templates/breadcrumb.html create mode 100644 docs/_templates/extralinks.html diff --git a/docs/_templates/breadcrumb.html b/docs/_templates/breadcrumb.html new file mode 100644 index 00000000..869f417c --- /dev/null +++ b/docs/_templates/breadcrumb.html @@ -0,0 +1,6 @@ + <nav class="site-breadcrumb-nav site-nav"> + <ul class="site-breadcrumb-list"> + <li class="breadcrumb-item"><button type="button" id="sidebarCollapse" class="btn btn-info navbar-btn site-hidden"><i class="fa fa-align-justify"></i></button>  <a href="{{ theme_url_root }}">{{ theme_site_name|striptags|e }}</a> > <a href="http://clouddocs.f5.com/cloud/openstack/latest/">F5 OpenStack Integrations </a> > <a href="{{ pathto(master_doc) }}">{{ project|striptags|e }} </a> > {{ title|striptags|e }}</li> + </ul> + </nav> + \ No newline at end of file diff --git a/docs/_templates/extralinks.html b/docs/_templates/extralinks.html new file mode 100644 index 00000000..927214bc --- /dev/null +++ b/docs/_templates/extralinks.html @@ -0,0 +1,4 @@ +<hr> +<span class="nav-sidebartoc"> +<h5>View related articles on <a href="https://devcentral.f5.com/articles?tag=openstack" target="_blank">DevCentral <i class="fa fa-external-link-square"></i></a></h5> +</span>