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/05/20 07:31:54 UTC
[05/18] incubator-mynewt-site git commit: add quickstart template
add quickstart template
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/937bdcac
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/937bdcac
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/937bdcac
Branch: refs/heads/master
Commit: 937bdcac39cc41edb4c8d05fd1aa9dfd57392e8f
Parents: 25630ce
Author: Gavin Jefferies <ga...@runtime.io>
Authored: Wed May 18 18:56:03 2016 -0700
Committer: Gavin Jefferies <ga...@runtime.io>
Committed: Wed May 18 18:56:03 2016 -0700
----------------------------------------------------------------------
custom-theme/base.html | 4 +++-
custom-theme/nav.html | 3 +++
custom-theme/quick-start.html | 13 +++++++++++++
docs/quick-start.md | 0
mkdocs.yml | 13 +++++++------
5 files changed, 26 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/937bdcac/custom-theme/base.html
----------------------------------------------------------------------
diff --git a/custom-theme/base.html b/custom-theme/base.html
index a8b3b18..44dce79 100644
--- a/custom-theme/base.html
+++ b/custom-theme/base.html
@@ -51,13 +51,15 @@
{% include "nav.html" %}
- {% set full_width_page_titles = [None, 'About', 'Documentation', 'Download', 'Community', 'Events'] %}
+ {% set full_width_page_titles = [None, 'Quick Start', 'About', 'Documentation', 'Download', 'Community', 'Events'] %}
<div class="container">
{% if page_title == None %}
{% include "landing.html" %}
{% elif page_title == 'About' %}
{% include "about.html" %}
+ {% elif page_title == 'Quick Start' %}
+ {% include "quick-start.html" %}
{% elif page_title == 'Documentation' %}
{% include "documentation.html" %}
{% elif page_title == 'Download' %}
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/937bdcac/custom-theme/nav.html
----------------------------------------------------------------------
diff --git a/custom-theme/nav.html b/custom-theme/nav.html
index 9548994..dd590e6 100644
--- a/custom-theme/nav.html
+++ b/custom-theme/nav.html
@@ -23,6 +23,9 @@
<a href="/">Home</a>
</li>
<li>
+ <a href="/quick-start/">Quick Start</a>
+ </li>
+ <li>
<a href="/about/">About</a>
</li>
<li class="dropdown">
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/937bdcac/custom-theme/quick-start.html
----------------------------------------------------------------------
diff --git a/custom-theme/quick-start.html b/custom-theme/quick-start.html
new file mode 100644
index 0000000..3211d56
--- /dev/null
+++ b/custom-theme/quick-start.html
@@ -0,0 +1,13 @@
+{% include 'main-banner.html' %}
+
+<div class="container v2-quick-start">
+
+ <div class="row">
+ <div class="col-md-12">
+ <p>
+ Here goes some quick start content.
+ </p>
+ </div>
+ </div>
+
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/937bdcac/docs/quick-start.md
----------------------------------------------------------------------
diff --git a/docs/quick-start.md b/docs/quick-start.md
new file mode 100644
index 0000000..e69de29
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/937bdcac/mkdocs.yml
----------------------------------------------------------------------
diff --git a/mkdocs.yml b/mkdocs.yml
index c680a1e..e9b060a 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -5,6 +5,7 @@ theme_dir: 'custom-theme'
pages:
- Home: 'index.md'
+- Quick Start: 'quick-start.md'
- About: 'about.md'
- Documentation: 'documentation.md'
- Download: 'download.md'
@@ -18,7 +19,7 @@ pages:
- 'Install Native Tools': 'os/get_started/native_tools.md'
- 'Create Your First Project': 'os/get_started/project_create.md'
- 'Install Cross Tools for ARM': 'os/get_started/cross_tools.md'
- - 'Concepts':
+ - 'Concepts':
- toc: 'os/get_started/vocabulary.md'
- Tutorials:
- toc: 'os/tutorials/tutorials.md'
@@ -311,7 +312,7 @@ pages:
- Stats:
- toc: 'os/modules/stats/stats.md'
- Logs:
- - toc: 'os/modules/logs/logs.md'
+ - toc: 'os/modules/logs/logs.md'
- BLE User Guide:
- NimBLE Introduction: 'network/ble/ble_intro.md'
- NimBLE Security: 'network/ble/ble_sec.md'
@@ -319,21 +320,21 @@ pages:
- Initialize stack:
- toc: 'network/ble/ini_stack/ble_ini_intro.md'
- 'Add cputime': 'network/ble/ini_stack/ble_add_cpu.md'
- - 'Create mem pool': 'network/ble/ini_stack/ble_mempool.md'
+ - 'Create mem pool': 'network/ble/ini_stack/ble_mempool.md'
- 'Initialize device addr': 'network/ble/ini_stack/ble_devadd.md'
- 'Initialize stats pkg': 'network/ble/ini_stack/ble_statpkg.md'
- 'Initialize console pkg': 'network/ble/ini_stack/ble_consolepkg.md'
- 'Initialize controller': 'network/ble/ini_stack/ble_controller_ini.md'
- 'Initialize parent task': 'network/ble/ini_stack/ble_parent_ini.md'
- 'Initialize host': 'network/ble/ini_stack/ble_host_ini.md'
- - API for bletiny app:
+ - API for bletiny app:
- toc: 'network/ble/bletiny_api.md'
- 'GAP in bletiny': 'network/ble/bletiny/bletiny_GAP.md'
- 'GATT in bletiny': 'network/ble/bletiny/bletiny_GATT.md'
- 'Advertisement Data Fields': 'network/ble/bletiny/bletiny_advdata.md'
- Newt Tool Manual:
- Introduction: 'newt/newt_intro.md'
- - Install:
+ - Install:
- 'Install Newt on Mac': 'newt/install/newt_mac.md'
- 'Install Newt on Linux': 'newt/install/newt_linux.md'
- Newt Theory of Ops: 'newt/newt_operation.md'
@@ -371,7 +372,7 @@ markdown_extensions:
guess_lang: False
use_pygments: True
noclasses: True
- pygments_style: xcode
+ pygments_style: xcode
extra:
chapters: