You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/03/09 08:57:14 UTC

[1/2] incubator-mynewt-site git commit: Add links to breadcrumbs

Repository: incubator-mynewt-site
Updated Branches:
  refs/heads/master fc08ee9c3 -> d692a2556


Add links to breadcrumbs


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/dc8d280f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/dc8d280f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/dc8d280f

Branch: refs/heads/master
Commit: dc8d280f14cb4df5d571c833e0cfcbe0d86003c5
Parents: e6294a5
Author: Gavin Jefferies <ga...@runtime.io>
Authored: Tue Mar 8 13:01:59 2016 -0800
Committer: Gavin Jefferies <ga...@runtime.io>
Committed: Tue Mar 8 13:01:59 2016 -0800

----------------------------------------------------------------------
 custom-theme/breadcrumbs.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/dc8d280f/custom-theme/breadcrumbs.html
----------------------------------------------------------------------
diff --git a/custom-theme/breadcrumbs.html b/custom-theme/breadcrumbs.html
index f17a0cd..a9c0c1d 100644
--- a/custom-theme/breadcrumbs.html
+++ b/custom-theme/breadcrumbs.html
@@ -1,10 +1,10 @@
 <div role="navigation" aria-label="breadcrumbs navigation">
   <ul class="wy-breadcrumbs">
-    <li><a href="{{ homepage_url }}">Docs</a></li>
+    <li><a href="/documentation/">Docs</a></li>
     {% if current_page %}
-      {% for doc in current_page.ancestors %}
-        {% if doc.link %}
-          <li>&raquo; <a href="{{ doc.link|e }}">{{ doc.title }}</a></li>
+    {% for doc in current_page.ancestors %}
+        {% if doc.children[0].url %}
+          <li>&raquo; <a href="{{ doc.children[0].url|e }}">{{ doc.title }}</a></li>
         {% else %}
           <li>&raquo; {{ doc.title }}</li>
         {% endif %}


[2/2] incubator-mynewt-site git commit: Merge branch 'fixBreadcrumbs' of https://github.com/gj262/incubator-mynewt-site

Posted by ad...@apache.org.
Merge branch 'fixBreadcrumbs' of https://github.com/gj262/incubator-mynewt-site

This closes #41


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/d692a255
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/d692a255
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/d692a255

Branch: refs/heads/master
Commit: d692a2556210e79b621289b7da6fa110032e5777
Parents: fc08ee9 dc8d280
Author: aditihilbert <ad...@runtime.io>
Authored: Tue Mar 8 23:56:41 2016 -0800
Committer: aditihilbert <ad...@runtime.io>
Committed: Tue Mar 8 23:56:41 2016 -0800

----------------------------------------------------------------------
 custom-theme/breadcrumbs.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------