Repository: incubator-brooklyn Updated Branches: refs/heads/master 09377df27 -> 677762b2c
docs - three minor liquid language things which break in v.next of liquid discovered when testing incremental regen in https://github.com/jekyll/jekyll/pull/3116 -- means changes get picked up in 1s instead of 10s, using the next version of jekyll (unfortunately not yet gemmed) Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/335a5755 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/335a5755 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/335a5755 Branch: refs/heads/master Commit: 335a57553745643ecd12fbe40562665fe8873e22 Parents: 663f673 Author: Alex Heneveld <[email protected]> Authored: Thu Jan 15 01:50:46 2015 +0000 Committer: Alex Heneveld <[email protected]> Committed: Thu Jan 15 16:32:11 2015 +0000 ---------------------------------------------------------------------- docs/_includes/sidemenu.html | 3 ++- docs/_includes/sitemap-item.html | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/335a5755/docs/_includes/sidemenu.html ---------------------------------------------------------------------- diff --git a/docs/_includes/sidemenu.html b/docs/_includes/sidemenu.html index 68791ce..f37ce66 100644 --- a/docs/_includes/sidemenu.html +++ b/docs/_includes/sidemenu.html @@ -33,7 +33,8 @@ {% if item.external %} <span class="octicon octicon-link-external"></span>{% endif %}</a></h4> {% endfor %} {% for item in page.menu_parent.menu %} - {% if (page.breadcrumb_paths contains item.menu_path) and page.menu %} + {% if page.breadcrumb_paths contains item.menu_path %}{% assign in_menu = true %}{% else %}{% assign in_menu = false %}{% endif %} + {% if in_menu and page.menu %} {% comment %} case 3b {% endcomment %} <a href="{{item.url}}" class="list-group-item active with-sub-item">{{ item.title_in_menu }} {% if item.external %} <span class="octicon octicon-link-external"></span>{% endif %}</a> http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/335a5755/docs/_includes/sitemap-item.html ---------------------------------------------------------------------- diff --git a/docs/_includes/sitemap-item.html b/docs/_includes/sitemap-item.html index eb6395c..247fc5d 100644 --- a/docs/_includes/sitemap-item.html +++ b/docs/_includes/sitemap-item.html @@ -14,7 +14,7 @@ <a id="{{ item_path }}"></a> <li> {% if visited contains item_path %} - {{ item['title'] }} <a href="#{{ item_path] }}"><span class="octicon octicon-link-external flip"></span></a> + {{ item['title'] }} <a href="#{{ item_path }}"><span class="octicon octicon-link-external flip"></span></a> {% elsif item['external'] %} {{ item['title'] }} <a href="{{ item['url'] }}"><span class="octicon octicon-link-external"></span></a> @@ -24,7 +24,8 @@ {% push visited item_path %} <ul> {% push site_items item %} - {% for item in site_items[-1]['menu'] %} + {% assign last_item = site_items[-1] %} + {% for item in last_item['menu'] %} {% push site_items item %} {% include sitemap-item.html %} {% endfor %}
