use icons for external links in side menu and external link to "github" under code side menu, and in site map use external or internal link icons instead of words
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/a5d99ad8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/a5d99ad8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/a5d99ad8 Branch: refs/heads/master Commit: a5d99ad87b81c6323b2a41574513c9b510a20912 Parents: d29517f Author: Alex Heneveld <[email protected]> Authored: Tue Jan 13 11:53:46 2015 +0000 Committer: Alex Heneveld <[email protected]> Committed: Tue Jan 13 15:36:30 2015 +0000 ---------------------------------------------------------------------- docs/_includes/sidemenu.html | 3 ++- docs/_includes/sitemap-item.html | 5 +++-- docs/guide/dev/index.md | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/a5d99ad8/docs/_includes/sidemenu.html ---------------------------------------------------------------------- diff --git a/docs/_includes/sidemenu.html b/docs/_includes/sidemenu.html index 4b67287..354fe78 100644 --- a/docs/_includes/sidemenu.html +++ b/docs/_includes/sidemenu.html @@ -37,7 +37,8 @@ {% for item2 in page.menu %} {% capture item_section_classes %}{% if item2.section %} section{% endif %}{% endcapture %} <a href="{{item2.url}}" class="list-group-item sub-item {{ item_section_classes }}" {% if item2.section %}section-target="#{{ item2.section }}"{% endif %}> - {{ item2.title_in_menu }}</a> + {{ item2.title_in_menu }} + {% if item2.external %} <span class="octicon octicon-link-external"></span>{% endif %}</a> {% endfor %} </div> {% else %} http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/a5d99ad8/docs/_includes/sitemap-item.html ---------------------------------------------------------------------- diff --git a/docs/_includes/sitemap-item.html b/docs/_includes/sitemap-item.html index e2f0e76..eb6395c 100644 --- a/docs/_includes/sitemap-item.html +++ b/docs/_includes/sitemap-item.html @@ -14,9 +14,10 @@ <a id="{{ item_path }}"></a> <li> {% if visited contains item_path %} - {{ item['title'] }} (<a href="#{{ item_path }}">repeat</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'] }}">external</a>) + {{ item['title'] }} <a href="{{ item['url'] }}"><span class="octicon octicon-link-external"></span></a> + {% else %} <a href="{{ item['url'] }}">{{ item['title'] }}</a> {% if item['menu'] %} http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/a5d99ad8/docs/guide/dev/index.md ---------------------------------------------------------------------- diff --git a/docs/guide/dev/index.md b/docs/guide/dev/index.md index 31dd7e1..ee62245 100644 --- a/docs/guide/dev/index.md +++ b/docs/guide/dev/index.md @@ -8,6 +8,7 @@ breadcrumbs: children: - env/ - code/ +- { link: "http://github.com/apache/incubating-brooklyn", title: "GitHub" } - code/tests.md - tips/ - tips/logging.md
