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/07 23:17:10 UTC
incubator-mynewt-site git commit: added appendix to docs and moved
faq there
Repository: incubator-mynewt-site
Updated Branches:
refs/heads/master e744884c1 -> ea94be807
added appendix to docs and moved faq there
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/ea94be80
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/ea94be80
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/ea94be80
Branch: refs/heads/master
Commit: ea94be8077b21889b0e249672b68136e2d760fa6
Parents: e744884
Author: aditihilbert <ad...@runtime.io>
Authored: Mon Mar 7 14:17:04 2016 -0800
Committer: aditihilbert <ad...@runtime.io>
Committed: Mon Mar 7 14:17:04 2016 -0800
----------------------------------------------------------------------
custom-theme/documentation.html | 8 ++++----
custom-theme/toc.html | 2 +-
mkdocs.yml | 3 ++-
3 files changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/ea94be80/custom-theme/documentation.html
----------------------------------------------------------------------
diff --git a/custom-theme/documentation.html b/custom-theme/documentation.html
index e395cfd..451757d 100644
--- a/custom-theme/documentation.html
+++ b/custom-theme/documentation.html
@@ -16,11 +16,11 @@
</div>
</form>
</div>
- </div>
+ </div>
<div class="row">
{% for nav_item in nav %}
- {% if 'Manual' in nav_item.title or 'Guide' in nav_item.title %}
- <div class="col-md-4 doc-section">
+ {% if 'Manual' in nav_item.title or 'Guide' in nav_item.title or 'Appendix' in nav_item.title %}
+ <div class="col-md-3 doc-section">
<div class="outline-title">{{ nav_item.title }}</div>
<p>{{ config.extra.chapters[nav_item.title] }}</p>
{% if nav_item.children %}
@@ -36,5 +36,5 @@
</div>
{% endif %}
{% endfor %}
- </div>
+ </div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/ea94be80/custom-theme/toc.html
----------------------------------------------------------------------
diff --git a/custom-theme/toc.html b/custom-theme/toc.html
index 3580931..f3b5c43 100644
--- a/custom-theme/toc.html
+++ b/custom-theme/toc.html
@@ -12,7 +12,7 @@
</div>
<ul class="nav bs-sidenav">
{% for nav_item in nav %}
- {% if 'Manual' in nav_item.title or 'Guide' in nav_item.title or 'Releases' in nav_item.title %}
+ {% if 'Manual' in nav_item.title or 'Guide' in nav_item.title or 'Appendix' in nav_item.title %}
{% include 'nested_toc.html' %}
{% endif %}
{% endfor %}
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/ea94be80/mkdocs.yml
----------------------------------------------------------------------
diff --git a/mkdocs.yml b/mkdocs.yml
index aed52ba..49be6bb 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -6,7 +6,6 @@ theme_dir: 'custom-theme'
pages:
- Home: 'index.md'
- About: 'about.md'
-- FAQ: 'faq/answers.md'
- Documentation: 'documentation.md'
- Download: 'download.md'
- Community: 'community.md'
@@ -306,6 +305,8 @@ pages:
- 'Project Slinky': 'newtmgr/project-slinky.md'
- Manual:
- 'Protocol': 'newtmgr/protocol.md'
+- Appendix:
+ - 'FAQ': 'faq/answers.md'
markdown_extensions:
- toc: