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/08 06:34:02 UTC

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

Merge branch 'linksToManuals' of https://github.com/gj262/incubator-mynewt-site


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/4fc5d3df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/4fc5d3df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/4fc5d3df

Branch: refs/heads/master
Commit: 4fc5d3df46e98ad3dd0cd49079b9b313edda743c
Parents: 8d37843 aebac75
Author: aditihilbert <ad...@runtime.io>
Authored: Mon Mar 7 21:21:51 2016 -0800
Committer: aditihilbert <ad...@runtime.io>
Committed: Mon Mar 7 21:21:51 2016 -0800

----------------------------------------------------------------------
 .editorconfig                  | 30 ++++++++++++++++++++++++++++++
 .gitignore                     |  1 +
 custom-theme/base.html         | 15 +++++++++++----
 custom-theme/breadcrumbs.html  |  1 -
 custom-theme/css/custom.css    | 36 ++++++++++++++++++++++++------------
 custom-theme/manual_links.html |  9 +++++++++
 6 files changed, 75 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/4fc5d3df/custom-theme/breadcrumbs.html
----------------------------------------------------------------------
diff --cc custom-theme/breadcrumbs.html
index e49e296,b1c2b36..f17a0cd
--- a/custom-theme/breadcrumbs.html
+++ b/custom-theme/breadcrumbs.html
@@@ -4,24 -4,21 +4,23 @@@
      {% if current_page %}
        {% for doc in current_page.ancestors %}
          {% if doc.link %}
 -          <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
 +          <li>&raquo; <a href="{{ doc.link|e }}">{{ doc.title }}</a></li>
          {% else %}
 -          <li>{{ doc.title }} &raquo;</li>
 +          <li>&raquo; {{ doc.title }}</li>
          {% endif %}
        {% endfor %}
 -    {% endif %}
 -    {% if current_page %}<li>{{ current_page.title }}</li>{% endif %}
 -    <li class="wy-breadcrumbs-aside">
 -      {% if repo_url %}
 -        {% if repo_name == 'GitHub' %}
 -          <a href="{{ repo_url }}" class="icon icon-github"> Edit on GitHub</a>
 -        {% elif repo_name == 'Bitbucket' %}
 -          <a href="{{ repo_url }}" class="icon icon-bitbucket"> Edit on BitBucket</a>
 -        {% endif %}
 +      {% if current_page.title != "toc" %}
 +        <li>&raquo; {{ current_page.title }}</li>
        {% endif %}
 -    </li>
 +    {% endif %}
 +    {% if repo_url %}
 +      <li class="wy-breadcrumbs-aside">
 +          {% if repo_name == 'GitHub' %}
 +            <a href="{{ repo_url }}" class="icon icon-github"> Edit on GitHub</a>
 +          {% elif repo_name == 'Bitbucket' %}
 +            <a href="{{ repo_url }}" class="icon icon-bitbucket"> Edit on BitBucket</a>
 +          {% endif %}
 +      </li>
 +    {% endif %}
    </ul>
-   <hr/>
  </div>