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/02/17 21:36:46 UTC

[1/9] incubator-mynewt-site git commit: Added nested TOC for Console. More nested TOC for other modules to come if this is successful

Repository: incubator-mynewt-site
Updated Branches:
  refs/heads/asf-site 22703eb7b -> 3f895df44


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/semaphore/index.html
----------------------------------------------------------------------
diff --git a/os/semaphore/index.html b/os/semaphore/index.html
index 7365d5e..ad1a012 100644
--- a/os/semaphore/index.html
+++ b/os/semaphore/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,115 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Semaphores</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_sem_init"> os_sem_init</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_sem_release"> os_sem_release </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_sem_pend"> os_sem_pend </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_sem_delete"> os_sem_delete </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Semaphores
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -466,10 +556,10 @@ assert(err == OS_OK);
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/task/index.html
----------------------------------------------------------------------
diff --git a/os/task/index.html b/os/task/index.html
index 0ad95ad..84c2d26 100644
--- a/os/task/index.html
+++ b/os/task/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,113 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Tasks</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#_clear_stack"> _clear_stack </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_task_next_id"> os_task_next_id </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Tasks
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -382,10 +474,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/time/index.html
----------------------------------------------------------------------
diff --git a/os/time/index.html b/os/time/index.html
index 7437890..03f48d2 100644
--- a/os/time/index.html
+++ b/os/time/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,113 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Time</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_time_get"> os_time_get </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_time_tick"> os_time_tick </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Time
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -387,10 +479,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/packaging/dist/index.html
----------------------------------------------------------------------
diff --git a/packaging/dist/index.html b/packaging/dist/index.html
index 1ea5eea..02898ec 100644
--- a/packaging/dist/index.html
+++ b/packaging/dist/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,61 +105,109 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="./">Chapter 7 - Packaging it</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="./">Creating Packages</a></li>
-                            
-                                
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ./
+">Chapter 7 - Packaging it</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li class="active">
+      Creating Packages
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -203,10 +251,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/search.html
----------------------------------------------------------------------
diff --git a/search.html b/search.html
index 614cd3c..23da572 100644
--- a/search.html
+++ b/search.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="./search.html" method="get">
                 <div class="form-group">
@@ -105,52 +105,97 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -183,7 +228,9 @@
   </form>
 
   <div id="mkdocs-search-results">
-    Sorry, page not found.
+    <div>
+      <i class="fa fa-cog fa-spin fa-4x"></i>
+    </div>
   </div>
 
 
@@ -202,10 +249,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/sitemap.xml
----------------------------------------------------------------------
diff --git a/sitemap.xml b/sitemap.xml
index 7e5dad5..520a17e 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
     
     <url>
      <loc>http://mynewt.incubator.apache.org/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
     
@@ -12,7 +12,7 @@
     
     <url>
      <loc>http://mynewt.incubator.apache.org/documentation/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
     
@@ -20,7 +20,7 @@
     
     <url>
      <loc>http://mynewt.incubator.apache.org/download/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
     
@@ -28,7 +28,7 @@
     
     <url>
      <loc>http://mynewt.incubator.apache.org/community/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
     
@@ -36,7 +36,7 @@
     
     <url>
      <loc>http://mynewt.incubator.apache.org/events/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
     
@@ -45,25 +45,25 @@
         
     <url>
      <loc>http://mynewt.incubator.apache.org/get_started/newt_concepts/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/get_started/project1/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/get_started/how_to_edit_docs/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/get_started/try_markdown/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
@@ -73,19 +73,19 @@
         
     <url>
      <loc>http://mynewt.incubator.apache.org/get_acclimated/vocabulary/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/get_acclimated/project2/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/get_acclimated/project3/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
@@ -95,13 +95,13 @@
         
     <url>
      <loc>http://mynewt.incubator.apache.org/newt/newt_ops/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/newt/newt_tool_reference/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
@@ -111,79 +111,79 @@
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/mynewt_os/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/context_switch/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/time/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/task/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/event_queue/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/semaphore/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/mutex/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/memory_pool/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/heap/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/mbufs/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/sanity/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/callout/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/os/port_os/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
@@ -192,62 +192,62 @@
     
         
     <url>
-     <loc>http://mynewt.incubator.apache.org/modules/console/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <loc>http://mynewt.incubator.apache.org</loc>
+     <lastmod></lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/modules/shell/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/modules/bootloader/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/modules/filesystem/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/modules/nffs/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/modules/testutil/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/modules/imgmgr/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/modules/baselibc/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/modules/elua/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/modules/json/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
@@ -257,19 +257,19 @@
         
     <url>
      <loc>http://mynewt.incubator.apache.org/newtmgr/overview/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/newtmgr/protocol/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
     <url>
      <loc>http://mynewt.incubator.apache.org/newtmgr/project-slinky/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         
@@ -279,7 +279,7 @@
         
     <url>
      <loc>http://mynewt.incubator.apache.org/packaging/dist/</loc>
-     <lastmod>2016-02-08</lastmod>
+     <lastmod>2016-02-17</lastmod>
      <changefreq>daily</changefreq>
     </url>
         

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/toc.html
----------------------------------------------------------------------
diff --git a/toc.html b/toc.html
new file mode 100644
index 0000000..b525a56
--- /dev/null
+++ b/toc.html
@@ -0,0 +1,20 @@
+<div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="{{ base_url }}/search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      {% for nav_item in nav %}
+        {% if 'Chapter' in nav_item.title %}
+          {% include 'nested_toc.html' %}
+        {% endif %}
+      {% endfor %}
+    </ul>
+</div>


[4/9] incubator-mynewt-site git commit: Added nested TOC for Console. More nested TOC for other modules to come if this is successful

Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_tx_char/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_tx_char/index.html b/modules/console/console_tx_char/index.html
new file mode 100644
index 0000000..528f197
--- /dev/null
+++ b/modules/console/console_tx_char/index.html
@@ -0,0 +1,496 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_tx_char/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_tx_char - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_tx_char">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_tx_char
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_tx_char</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_tx_char"><font color="#F2853F" style="font-size:24pt"> console_tx_char </font><a class="headerlink" href="#console_tx_char" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">   static int
+   console_tx_char(void *arg)
+</code></pre>
+
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>xx</td>
+<td>explain argument xx</td>
+</tr>
+<tr>
+<td>yy</td>
+<td>explain argument yy</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>List any values returned.
+Error codes?</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Give at least one example of usage.</p>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_write/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_write/index.html b/modules/console/console_write/index.html
new file mode 100644
index 0000000..99a1b3b
--- /dev/null
+++ b/modules/console/console_write/index.html
@@ -0,0 +1,511 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_write/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_write - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_write">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_write
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_write</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_write"><font color="#F2853F" style="font-size:24pt"> console_write </font><a class="headerlink" href="#console_write" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">   void
+   console_write(char *str, int cnt)
+</code></pre>
+
+<p>Transmit characters to console display over serial port.</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>*str</td>
+<td>pointer to the character or packet to be transmitted</td>
+</tr>
+<tr>
+<td>cnt</td>
+<td>size of the character or packet</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>List any values returned.
+Error codes?</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Here is an example of the function being used in an echo command with a newline at the end.</p>
+<pre><code class="no-highlight">static int
+shell_echo_cmd(int argc, char **argv)
+{
+    int i;
+
+    for (i = 1; i &lt; argc; i++) {
+        console_write(argv[i], strlen(argv[i]));
+        console_write(&quot; &quot;, sizeof(&quot; &quot;)-1);
+    }
+    console_write(&quot;\n&quot;, sizeof(&quot;\n&quot;)-1);
+
+    return (0);
+}
+</code></pre>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/index.html
----------------------------------------------------------------------
diff --git a/modules/console/index.html b/modules/console/index.html
index cefa3bb..e69f1de 100644
--- a/modules/console/index.html
+++ b/modules/console/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -402,7 +402,7 @@ task(struct trap_frame *tf)
 <tbody>
 <tr>
 <td>*cr</td>
-<td>Pointer to a console ring data structure whose <code>cr_head</code>variable is to be set to the second argument in this function call</td>
+<td>Pointer to a console ring data structure whose <code>cr_head</code> variable is to be set to the second argument in this function call</td>
 </tr>
 <tr>
 <td>ch</td>
@@ -852,10 +852,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/elua/index.html
----------------------------------------------------------------------
diff --git a/modules/elua/index.html b/modules/elua/index.html
index 9df8cad..56ef1bc 100644
--- a/modules/elua/index.html
+++ b/modules/elua/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,104 +105,182 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../console/">Chapter 5 - Modules</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../console/">Console</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../shell/">Shell</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../bootloader/">Bootloader</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../filesystem/">File System Abstraction</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../nffs/">Newtron Flash File System</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../testutil/">Test Utilities</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../imgmgr/">Image Manager</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../baselibc/">Baselibc library</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Embedded Lua</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#boot_slot_addr"> boot_slot_addr </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#boot_find_image_slot"> boot_find_image_slot </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../json/">JSON</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/console/
+">Console</a>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Embedded Lua
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -373,10 +451,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/filesystem/index.html
----------------------------------------------------------------------
diff --git a/modules/filesystem/index.html b/modules/filesystem/index.html
index 143e285..a5068df 100644
--- a/modules/filesystem/index.html
+++ b/modules/filesystem/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,132 +105,182 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../console/">Chapter 5 - Modules</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../console/">Console</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../shell/">Shell</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../bootloader/">Bootloader</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">File System Abstraction</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data Structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#api">API</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#api-reference">API Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_open"> fs_open </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_close"> fs_close </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_read"> fs_read </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_write"> fs_write </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_seek"> fs_seek </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_getpos"> fs_getpos </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_filelen"> fs_filelen </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_unlink"> fs_unlink </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_rename"> fs_rename </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_mkdir"> fs_mkdir </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_opendir"> fs_opendir </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_readdir"> fs_readdir </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_closedir"> fs_closedir </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_dirent_name"> fs_dirent_name </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fs_dirent_is_dir"> fs_dirent_is_dir </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fsutil_read_file"> fsutil_read_file </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#fsutil_write_file"> fsutil_write_file </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../nffs/">Newtron Flash File System</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../testutil/">Test Utilities</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../imgmgr/">Image Manager</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../baselibc/">Baselibc library</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../elua/">Embedded Lua</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../json/">JSON</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/console/
+">Console</a>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      File System Abstraction
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -1043,10 +1093,10 @@ egg.deps:
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/imgmgr/index.html
----------------------------------------------------------------------
diff --git a/modules/imgmgr/index.html b/modules/imgmgr/index.html
index 06b3b7d..2407305 100644
--- a/modules/imgmgr/index.html
+++ b/modules/imgmgr/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,104 +105,182 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../console/">Chapter 5 - Modules</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../console/">Console</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../shell/">Shell</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../bootloader/">Bootloader</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../filesystem/">File System Abstraction</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../nffs/">Newtron Flash File System</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../testutil/">Test Utilities</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Image Manager</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#boot_slot_addr"> boot_slot_addr </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#boot_find_image_slot"> boot_find_image_slot </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../baselibc/">Baselibc library</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../elua/">Embedded Lua</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../json/">JSON</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/console/
+">Console</a>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Image Manager
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -373,10 +451,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/json/index.html
----------------------------------------------------------------------
diff --git a/modules/json/index.html b/modules/json/index.html
index 8d7a7bb..4761129 100644
--- a/modules/json/index.html
+++ b/modules/json/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,104 +105,182 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../console/">Chapter 5 - Modules</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../console/">Console</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../shell/">Shell</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../bootloader/">Bootloader</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../filesystem/">File System Abstraction</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../nffs/">Newtron Flash File System</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../testutil/">Test Utilities</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../imgmgr/">Image Manager</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../baselibc/">Baselibc library</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../elua/">Embedded Lua</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">JSON</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#boot_slot_addr"> boot_slot_addr </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#boot_find_image_slot"> boot_find_image_slot </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/console/
+">Console</a>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      JSON
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -373,10 +451,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/nffs/index.html
----------------------------------------------------------------------
diff --git a/modules/nffs/index.html b/modules/nffs/index.html
index 342b889..f9f307a 100644
--- a/modules/nffs/index.html
+++ b/modules/nffs/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,110 +105,182 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../console/">Chapter 5 - Modules</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../console/">Console</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../shell/">Shell</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../bootloader/">Bootloader</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../filesystem/">File System Abstraction</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Newtron Flash File System</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#disk-and-data-structures">Disk and data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#configuration">Configuration</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#initialization">Initialization</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#detection">Detection</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#formatting">Formatting</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#flash-writes">Flash writes</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#garbage-collection">Garbage collection</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#miscellaneous-measures">Miscellaneous measures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#future-enhancements">Future enhancements</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../testutil/">Test Utilities</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../imgmgr/">Image Manager</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../baselibc/">Baselibc library</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../elua/">Embedded Lua</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../json/">JSON</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/console/
+">Console</a>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Newtron Flash File System
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -743,10 +815,10 @@ procedure is described below:</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/shell/index.html
----------------------------------------------------------------------
diff --git a/modules/shell/index.html b/modules/shell/index.html
index 31a4753..f3441ad 100644
--- a/modules/shell/index.html
+++ b/modules/shell/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,100 +105,182 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../console/">Chapter 5 - Modules</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../console/">Console</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Shell</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#shell_cmd_register"> shell_cmd_register </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../bootloader/">Bootloader</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../filesystem/">File System Abstraction</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../nffs/">Newtron Flash File System</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../testutil/">Test Utilities</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../imgmgr/">Image Manager</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../baselibc/">Baselibc library</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../elua/">Embedded Lua</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../json/">JSON</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/console/
+">Console</a>
+    
+  </li>
+
+          
+              
+  
+    <li class="active">
+      Shell
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -385,10 +467,10 @@ fs_cli_init(void)
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>



[8/9] incubator-mynewt-site git commit: Added nested TOC for Console. More nested TOC for other modules to come if this is successful

Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/get_started/how_to_edit_docs/index.html
----------------------------------------------------------------------
diff --git a/get_started/how_to_edit_docs/index.html b/get_started/how_to_edit_docs/index.html
index 632f3b3..ba1f692 100644
--- a/get_started/how_to_edit_docs/index.html
+++ b/get_started/how_to_edit_docs/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,94 +105,133 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../newt_concepts/">Newt Concepts</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../project1/">Blinky, The First Project</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">How to edit docs</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#objective">Objective</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#markdown-mkdocs-mou">Markdown, MkDocs, Mou</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#access-to-the-apache-repo">Access to the Apache repo</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#making-a-local-copy">Making a local copy</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#file-to-be-edited">File to be edited</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#editing-an-existing-page">Editing an existing page</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#adding-a-new-page">Adding a new page</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#pushing-changes-to-remote-as-a-committer">Pushing changes to remote as a committer</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#sharing-changes-as-a-non-committer">Sharing changes as a non-committer</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#conversion-to-html">Conversion to HTML</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#local-preview-of-html-files">Local preview of HTML files</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../try_markdown/">Sample doc to edit</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../newt_concepts/">Newt Concepts</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../project1/">Blinky, The First Project</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      How to edit docs
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../try_markdown/">Sample doc to edit</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -417,10 +456,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/get_started/newt_concepts/index.html
----------------------------------------------------------------------
diff --git a/get_started/newt_concepts/index.html b/get_started/newt_concepts/index.html
index 8cf15b9..da76fbd 100644
--- a/get_started/newt_concepts/index.html
+++ b/get_started/newt_concepts/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,80 +105,133 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="./">Chapter 1 - Get Started</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="./">Newt Concepts</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#basic-components-in-the-ecosystem">Basic components in the ecosystem</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#terminology">Terminology</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#a-mynewt-contributor">A Mynewt contributor</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#a-mynewt-user">A Mynewt user</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../project1/">Blinky, The First Project</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../how_to_edit_docs/">How to edit docs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../try_markdown/">Sample doc to edit</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ./
+">Chapter 1 - Get Started</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li class="active">
+      Newt Concepts
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../project1/">Blinky, The First Project</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../how_to_edit_docs/">How to edit docs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../try_markdown/">Sample doc to edit</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -257,10 +310,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/get_started/project1/index.html
----------------------------------------------------------------------
diff --git a/get_started/project1/index.html b/get_started/project1/index.html
index d280ac1..0d6531f 100644
--- a/get_started/project1/index.html
+++ b/get_started/project1/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,92 +105,133 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../newt_concepts/">Newt Concepts</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Blinky, The First Project</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#objective">Objective</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#what-you-need">What you need</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#access-to-the-apache-repo">Access to the Apache repo</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#getting-your-mac-ready">Getting your Mac Ready</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#getting-your-ubuntu-machine-ready">Getting your Ubuntu machine Ready</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#getting-your-windows-machine-ready-for-simulated-target">Getting your Windows machine ready for simulated target</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#getting-your-windows-machine-ready-for-hardware-target">Getting your Windows machine ready for hardware target</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#building-test-code-on-simulator">Building test code on simulator</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#using-sram-to-make-led-blink">Using SRAM to make LED blink</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#using-flash-to-make-led-blink">Using flash to make LED blink</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../how_to_edit_docs/">How to edit docs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../try_markdown/">Sample doc to edit</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../newt_concepts/">Newt Concepts</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Blinky, The First Project
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../how_to_edit_docs/">How to edit docs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../try_markdown/">Sample doc to edit</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -1347,10 +1388,10 @@ tutorial for a Windows machine assumes the specified folders.    </p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/get_started/try_markdown/index.html
----------------------------------------------------------------------
diff --git a/get_started/try_markdown/index.html b/get_started/try_markdown/index.html
index 23a0b2b..b28bba9 100644
--- a/get_started/try_markdown/index.html
+++ b/get_started/try_markdown/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,74 +105,133 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../newt_concepts/">Newt Concepts</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../project1/">Blinky, The First Project</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../how_to_edit_docs/">How to edit docs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Sample doc to edit</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#heading3">Heading3</a></li>
-                                    
-                                
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../newt_concepts/">Newt Concepts</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../project1/">Blinky, The First Project</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../how_to_edit_docs/">How to edit docs</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Sample doc to edit
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -252,10 +311,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 59de525..8ae7572 100644
--- a/index.html
+++ b/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -94,7 +94,7 @@
                 <div class="row"
     <div class="column col-md-12">
         <div class="main-banner">
-            <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+            <img src="/img/logo.svg">
             <h3 class="hidden-xs">modular OS for constrained, embedded environments</h3>
         </div>
     </div>
@@ -108,7 +108,7 @@
                         <h3>See us at Bluetooth World!</h3>
                         <p>Levi's Stadium, CA, USA</p>
                         <p>March 15 - 16, 2016</p>
-                        <a href="http://mynewt.incubator.apache.org/events/">Click here for more details</a>
+                        <a href="/events/">Click here for more details</a>
                     </div>
                 </div>
             </div>
@@ -135,14 +135,14 @@
                     <div class="column col-md-6 goal text-center">
                         <div class="goal-image">
                             <span class="helper"></span>
-                            <img src="http://mynewt.incubator.apache.org/img/folder.png">
+                            <img src="/img/folder.png">
                         </div>
                         <p>Produce a foundational RTOS and embedded middleware utilities such as boot loaders, file systems, and time-series data support</p>
                     </div>
                     <div class="column col-md-6 goal text-center">
                         <div class="goal-image">
                             <span class="helper"></span>
-                            <img src="http://mynewt.incubator.apache.org/img/watch.png">
+                            <img src="/img/watch.png">
                         </div>
                         <p>Build solid networking stack support for secure, efficient communications with constrained devices</p>
                     </div>
@@ -151,14 +151,14 @@
                     <div class="column col-md-6 goal text-center">
                         <div class="goal-image">
                             <span class="helper"></span>
-                            <img src="http://mynewt.incubator.apache.org/img/01.png">
+                            <img src="/img/01.png">
                         </div>
                         <p>Provide simple image and configuration management and deep instrumentation for ongoing diagnostics, whether at the workbench or after mass deployment</p>
                     </div>
                     <div class="column col-md-6 goal text-center">
                         <div class="goal-image">
                             <span class="helper"></span>
-                            <img src="http://mynewt.incubator.apache.org/img/performance.png">
+                            <img src="/img/performance.png">
                         </div>
                         <p>Ensure modularity and easy composability to build an optimized image aligned with the developer’s application requirements and hardware selection</p>
                     </div>
@@ -197,10 +197,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/landing.html
----------------------------------------------------------------------
diff --git a/landing.html b/landing.html
new file mode 100644
index 0000000..c47d3d9
--- /dev/null
+++ b/landing.html
@@ -0,0 +1,86 @@
+{% include 'main-banner.html' %}
+<div class="bg-orange padded event-callout content">
+    <div class="row">
+        <div class="col-md-12">
+            <div class="container">
+                <div class="row">
+                    <div class="col-md-12 text-center">
+                        <h3>{{ config.extra.events['event 1'].title }}</h3>
+                        <p>{{ config.extra.events['event 1'].location }}</p>
+                        <p>{{ config.extra.events['event 1'].date }}</p>
+                        <a href="/events/">Click here for more details</a>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+<div class="row">
+    <div class="column col-md-12">
+        <div class="container">
+            <div class="row">
+                <div class="col-md-12">
+        		    {% block content %}
+                        {{ content }}
+                    {% endblock %}
+                </div>
+            </div>
+            <div class="goals">
+                <div class="row">
+                    <div class="col-md-12 text-center">
+                        <h2>Apache Mynewt consists of four primary collaborative goals:</h2>
+                    </div>
+                </div>
+                <div class="row">
+                    <div class="column col-md-6 goal text-center">
+                        <div class="goal-image">
+                            <span class="helper"></span>
+                            <img src="/img/folder.png">
+                        </div>
+                        <p>Produce a foundational RTOS and embedded middleware utilities such as boot loaders, file systems, and time-series data support</p>
+                    </div>
+                    <div class="column col-md-6 goal text-center">
+                        <div class="goal-image">
+                            <span class="helper"></span>
+                            <img src="/img/watch.png">
+                        </div>
+                        <p>Build solid networking stack support for secure, efficient communications with constrained devices</p>
+                    </div>
+                </div>
+                <div class="row">
+                    <div class="column col-md-6 goal text-center">
+                        <div class="goal-image">
+                            <span class="helper"></span>
+                            <img src="/img/01.png">
+                        </div>
+                        <p>Provide simple image and configuration management and deep instrumentation for ongoing diagnostics, whether at the workbench or after mass deployment</p>
+                    </div>
+                    <div class="column col-md-6 goal text-center">
+                        <div class="goal-image">
+                            <span class="helper"></span>
+                            <img src="/img/performance.png">
+                        </div>
+                        <p>Ensure modularity and easy composability to build an optimized image aligned with the developer’s application requirements and hardware selection</p>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+<div class="row bg-orange">
+    <div class="column col-md-12">
+        <div class="container">
+            <div class="row">
+                <div class="column col-sm-12 col-md-offset-3 col-md-6 search-container text-center">
+                    <form id ="rtd-search-form" class="wy-form" action="{{ base_url }}/search.html" method="get">
+                        <div class="form-group">
+                            <label for="search-input">Search Documentation</label>
+                            <input id="search-input" type="text" name="q" placeholder="Search documentation" />
+                            <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                        </div>
+                    </form>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/main-banner.html
----------------------------------------------------------------------
diff --git a/main-banner.html b/main-banner.html
new file mode 100644
index 0000000..62f4cb5
--- /dev/null
+++ b/main-banner.html
@@ -0,0 +1,8 @@
+<div class="row"
+    <div class="column col-md-12">
+        <div class="main-banner">
+            <img src="/img/logo.svg">
+            <h3 class="hidden-xs">modular OS for constrained, embedded environments</h3>
+        </div>
+    </div>
+</div>



[5/9] incubator-mynewt-site git commit: Added nested TOC for Console. More nested TOC for other modules to come if this is successful

Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_printf/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_printf/index.html b/modules/console/console_printf/index.html
new file mode 100644
index 0000000..33e973d
--- /dev/null
+++ b/modules/console/console_printf/index.html
@@ -0,0 +1,523 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_printf/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_printf - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_printf">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_printf
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_printf</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_printf"><font color="F2853F" style="font-size:24pt"> console_printf</font><a class="headerlink" href="#console_printf" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">    void
+    console_printf(const char *fmt, ...)
+</code></pre>
+
+<p>Writes a formatted message instead of raw output to the console. It first composes a C string containing text specified as arguments to the function or containing the elements in the variable argument list passed to it using snprintf or vsnprintf, respectively. It then uses function <code>console_write</code> to output the formatted data (messages) on the console.</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>fmt</td>
+<td>Pointer to C string that contains a format string that follows the same specifications as format in printf. The string is printed to console.</td>
+</tr>
+<tr>
+<td>...</td>
+<td>Depending on the format string, the function may expect either a sequence of additional arguments to be used to replace a format specifier in the format string or a variable arguments list. va_list is a special type defined in <cstdarg> in stdarg.h.</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>None</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>While <code>console_printf</code>, with its well understood formatting options in C, is more convenient and easy on the eyes than the raw output of <code>console_write</code>, the associated code size is considerably larger.</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Example #1:</p>
+<pre><code class="no-highlight">char adv_data_buf[32];
+
+void
+task()
+{
+   char adv_data_buf[32];
+
+   console_printf(&quot;%s&quot;, adv_data_buf);
+}
+</code></pre>
+
+<p>Example #2:</p>
+<pre><code class="no-highlight">struct exception_frame {
+    uint32_t r0;
+    uint32_t r1;
+
+struct trap_frame {
+    struct exception_frame *ef;
+    uint32_t r2;
+    uint32_t r3;
+};
+
+void
+task(struct trap_frame *tf)
+{
+     console_printf(&quot; r0:%8.8x  r1:%8.8x&quot;, tf-&gt;ef-&gt;r0, tf-&gt;ef-&gt;r1);
+     console_printf(&quot; r8:%8.8x  r9:%8.8x&quot;, tf-&gt;r2, tf-&gt;r3);
+}
+</code></pre>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_pull_char/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_pull_char/index.html b/modules/console/console_pull_char/index.html
new file mode 100644
index 0000000..9367fe8
--- /dev/null
+++ b/modules/console/console_pull_char/index.html
@@ -0,0 +1,505 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_pull_char/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_pull_char - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_pull_char">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_pull_char
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_pull_char</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_pull_char"><font color="#F2853F" style="font-size:24pt"> console_pull_char </font><a class="headerlink" href="#console_pull_char" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">   static uint8_t
+   console_pull_char(struct console_ring *cr)
+</code></pre>
+
+<p>Reads (remove) a byte from the console ring buffer. When you read (pull) an item, you read it at the current tail location, and the tail advances to the next position.</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>*cr</td>
+<td>Pointer to the console ring buffer from where a character is to be removed</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>Returns the character pulled from the ring buffer.</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Read the characters in the ring buffer into a string.</p>
+<pre><code class="no-highlight">void
+task(struct console_ring *cr, char *str, int cnt)
+{
+     for (i = 0; i &lt; cnt; i++) {
+          if (cr-&gt;cr_head == cr-&gt;cr_tail) {
+              i = -1;
+              break;
+          }
+     ch = console_pull_char(cr);
+     *str++ = ch;
+     }
+}
+</code></pre>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_pull_char_head/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_pull_char_head/index.html b/modules/console/console_pull_char_head/index.html
new file mode 100644
index 0000000..95cf6e2
--- /dev/null
+++ b/modules/console/console_pull_char_head/index.html
@@ -0,0 +1,517 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_pull_char_head/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_pull_char_head - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_pull_char_head">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_pull_char_head
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_pull_char_head</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_pull_char_head"><font color="#F2853F" style="font-size:24pt"> console_pull_char_head </font><a class="headerlink" href="#console_pull_char_head" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">   static void
+   console_pull_char_head(struct console_ring *cr)
+</code></pre>
+
+<p>Removes the last character inserted into the ring buffer by moving back the head location and shrinking the ring size by 1.</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>cr</td>
+<td>Pointer to the console ring buffer from which the last inserted character must be deleted</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>None</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>In order to see a character getting deleted when a user hits backspace while typying a command, the following needs to happen in sequence:</p>
+<ul>
+<li>output a backspace (move cursor back one character)</li>
+<li>output space (erasing whatever character there was before)</li>
+<li>output backspace (move cursor back one character)</li>
+<li>remove the previous character from incoming RX queue</li>
+</ul>
+<p>The example below shows console_pull_char_head being used for the last step.</p>
+<pre><code class="no-highlight">void
+task(uint8_t data)
+{
+      struct console_tty *ct = (struct console_tty *)arg;
+      struct console_ring *tx = &amp;ct-&gt;ct_tx;
+      struct console_ring *rx = &amp;ct-&gt;ct_rx;
+
+      switch (data) {
+      case '\b':
+          console_add_char(tx, '\b');
+          console_add_char(tx, ' ');
+          console_add_char(tx, '\b');
+          console_pull_char_head(rx);
+          break;
+      }
+}
+
+</code></pre>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_queue_char/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_queue_char/index.html b/modules/console/console_queue_char/index.html
new file mode 100644
index 0000000..15107c8
--- /dev/null
+++ b/modules/console/console_queue_char/index.html
@@ -0,0 +1,493 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_queue_char/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_queue_char - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_queue_char">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_queue_char
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_queue_char</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_queue_char"><font color="#F2853F" style="font-size:24pt"> console_queue_char </font><a class="headerlink" href="#console_queue_char" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">   static void
+   console_queue_char(char ch)
+</code></pre>
+
+<p>Manage the buffer queue before inserting a character into it. If the head of the output (transmit) console ring is right up to its tail, the queue needs to be drained first before any data can be added. Then it uses console_add_char function to add the character.</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>ch</td>
+<td>Character to be inserted to the queue</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>List any values returned.
+Error codes?</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Function blocks interrupts as a way of protecting against concurrent access to TX buffer.</p>
+<p>If TX buffer is full, the function waits for TX buffer to drain. And the way it does it currently is by calling os_time_delay(). Therefore this function should only be called from within a task context, not from an interrupt handler. We might want to change this...</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<pre><code class="no-highlight">Insert example
+</code></pre>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_read/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_read/index.html b/modules/console/console_read/index.html
new file mode 100644
index 0000000..1f3d1dc
--- /dev/null
+++ b/modules/console/console_read/index.html
@@ -0,0 +1,497 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_read/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_read - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_read">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_read
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_read</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <p>i## <font color="#F2853F" style="font-size:24pt"> console_read </font></p>
+<pre><code class="no-highlight">  int
+  console_read(char *str, int cnt)
+</code></pre>
+
+<p>Calls hal function hal_uart_start_rx to start receiving input from console terminal over serial port.</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>xx</td>
+<td>explain argument xx</td>
+</tr>
+<tr>
+<td>yy</td>
+<td>explain argument yy</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>List any values returned.
+Error codes?</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Give at least one example of usage.</p>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_rx_char/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_rx_char/index.html b/modules/console/console_rx_char/index.html
new file mode 100644
index 0000000..23b0b64
--- /dev/null
+++ b/modules/console/console_rx_char/index.html
@@ -0,0 +1,496 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_rx_char/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_rx_char - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_rx_char">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_rx_char
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_rx_char</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_rx_char"><font color="#F2853F" style="font-size:24pt"> console_rx_char </font><a class="headerlink" href="#console_rx_char" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">   static int
+   console_rx_char(void *arg, uint8_t data)
+</code></pre>
+
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>xx</td>
+<td>explain argument xx</td>
+</tr>
+<tr>
+<td>yy</td>
+<td>explain argument yy</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>List any values returned.
+Error codes?</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Give at least one example of usage.</p>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file


[2/9] incubator-mynewt-site git commit: Added nested TOC for Console. More nested TOC for other modules to come if this is successful

Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/event_queue/index.html
----------------------------------------------------------------------
diff --git a/os/event_queue/index.html b/os/event_queue/index.html
index 055c722..d377bf2 100644
--- a/os/event_queue/index.html
+++ b/os/event_queue/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,117 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Event Queues</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_eventq_init"> os_eventq_init</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_eventq_put"> os_eventq_put</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_eventq_put2"> os_eventq_put2</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_eventq_get"> os_eventq_get</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_eventq_remove"> os_eventq_remove</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Event Queues
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -548,10 +636,10 @@ This is from os_callout_stop(). User wants to stop a callout from getting passed
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/heap/index.html
----------------------------------------------------------------------
diff --git a/os/heap/index.html b/os/heap/index.html
index c2b7f31..5df5151 100644
--- a/os/heap/index.html
+++ b/os/heap/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,113 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Heap</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_malloc"> os_malloc</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_free">os_free</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_realloc">os_realloc</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Heap
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -372,10 +464,10 @@ ptr: pointer to new start of memory block</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/mbufs/index.html
----------------------------------------------------------------------
diff --git a/os/mbufs/index.html b/os/mbufs/index.html
index 09913c8..7d7cf14 100644
--- a/os/mbufs/index.html
+++ b/os/mbufs/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,113 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Mbufs</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_mbuf_pool_init"> os_mbuf_pool_init</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_mbuf_get"> os_mbuf_get</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Mbufs
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -383,10 +475,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/memory_pool/index.html
----------------------------------------------------------------------
diff --git a/os/memory_pool/index.html b/os/memory_pool/index.html
index 9676a9f..b7e0d84 100644
--- a/os/memory_pool/index.html
+++ b/os/memory_pool/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,115 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Memory Pools</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_mempool_init"> os_mempool_init</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_memblock_get"> os_memblock_get</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_memblock_put">os_memblock_put</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_mempool_bytes">OS_MEMPOOL_BYTES</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Memory Pools
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -481,10 +571,10 @@ nffs_file_mem = malloc(
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/mutex/index.html
----------------------------------------------------------------------
diff --git a/os/mutex/index.html b/os/mutex/index.html
index 8809edf..765b29b 100644
--- a/os/mutex/index.html
+++ b/os/mutex/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,115 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Mutexes</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_mutex_init">os_mutex_init</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_mutex_release">os_mutex_release</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_mutex_pend">os_mutex_pend </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_mutex_delete">os_mutex_delete </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Mutexes
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -468,10 +558,10 @@ assert(err == OS_OK);
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/mynewt_os/index.html
----------------------------------------------------------------------
diff --git a/os/mynewt_os/index.html b/os/mynewt_os/index.html
index 9e19b8a..0ae7570 100644
--- a/os/mynewt_os/index.html
+++ b/os/mynewt_os/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,117 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="./">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="./">Overview</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#real-time-kernel">Real-Time Kernel </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#real-time-os">Real-Time OS </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#insert-topic-of-your-choice">Insert topic of your choice</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#features">Features</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os-functions">OS Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_idle_task"> os_idle_task</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_started"> os_started</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ./
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li class="active">
+      Overview
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -403,10 +491,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/port_os/index.html
----------------------------------------------------------------------
diff --git a/os/port_os/index.html b/os/port_os/index.html
index 91ba71e..4975aa3 100644
--- a/os/port_os/index.html
+++ b/os/port_os/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,103 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Porting to other Platforms</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#insert-sections-as-you-wish">Insert sections as you wish</a></li>
-                                    
-                                
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Porting to other Platforms
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -248,10 +350,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/sanity/index.html
----------------------------------------------------------------------
diff --git a/os/sanity/index.html b/os/sanity/index.html
index 3b733a1..76cd1cd 100644
--- a/os/sanity/index.html
+++ b/os/sanity/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,113 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Sanity</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_sanity_check_init"> os_sanity_check_init</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_sanity_check_list_lock"> os_sanity_check_list_lock </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Sanity
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -382,10 +474,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>


[9/9] incubator-mynewt-site git commit: Added nested TOC for Console. More nested TOC for other modules to come if this is successful

Posted by ad...@apache.org.
Added nested TOC for Console. More nested TOC for other modules to come if this is successful


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

Branch: refs/heads/asf-site
Commit: 3f895df445e0c562edcaef95634f6315f7c5a46d
Parents: 22703eb
Author: aditihilbert <ad...@runtime.io>
Authored: Wed Feb 17 12:36:23 2016 -0800
Committer: aditihilbert <ad...@runtime.io>
Committed: Wed Feb 17 12:36:23 2016 -0800

----------------------------------------------------------------------
 base.html                                       |   96 +
 breadcrumbs.html                                |   25 +
 child_url.html                                  |    6 +
 community.html                                  |  181 ++
 community/index.html                            |   94 +-
 content.html                                    |    9 +
 css/custom.css                                  |    4 +
 documentation.html                              |   40 +
 documentation/index.html                        |  201 +-
 download.html                                   |   86 +
 download/index.html                             |   18 +-
 events.html                                     |   22 +
 events/index.html                               |   18 +-
 footer.html                                     |   26 +
 get_acclimated/project2/index.html              |  182 +-
 get_acclimated/project3/index.html              |  176 +-
 get_acclimated/vocabulary/index.html            |  192 +-
 get_started/how_to_edit_docs/index.html         |  209 +-
 get_started/newt_concepts/index.html            |  195 +-
 get_started/project1/index.html                 |  207 +-
 get_started/try_markdown/index.html             |  189 +-
 index.html                                      |   28 +-
 landing.html                                    |   86 +
 main-banner.html                                |    8 +
 mkdocs/search_index.json                        | 2768 ++++++++++++++++--
 modules/baselibc/index.html                     |  260 +-
 modules/bootloader/index.html                   |  268 +-
 modules/console/console/index.html              |  537 ++++
 modules/console/console_add_char/index.html     |  504 ++++
 .../console/console_blocking_mode/index.html    |  505 ++++
 modules/console/console_blocking_tx/index.html  |  505 ++++
 modules/console/console_init/index.html         |  497 ++++
 modules/console/console_printf/index.html       |  523 ++++
 modules/console/console_pull_char/index.html    |  505 ++++
 .../console/console_pull_char_head/index.html   |  517 ++++
 modules/console/console_queue_char/index.html   |  493 ++++
 modules/console/console_read/index.html         |  497 ++++
 modules/console/console_rx_char/index.html      |  496 ++++
 modules/console/console_tx_char/index.html      |  496 ++++
 modules/console/console_write/index.html        |  511 ++++
 modules/console/index.html                      |   22 +-
 modules/elua/index.html                         |  268 +-
 modules/filesystem/index.html                   |  296 +-
 modules/imgmgr/index.html                       |  268 +-
 modules/json/index.html                         |  268 +-
 modules/nffs/index.html                         |  274 +-
 modules/shell/index.html                        |  264 +-
 modules/testutil/index.html                     |  268 +-
 nav.html                                        |   56 +
 nested_toc.html                                 |   22 +
 newt/newt_ops/index.html                        |  165 +-
 newt/newt_tool_reference/index.html             |  227 +-
 newtmgr/overview/index.html                     |  196 +-
 newtmgr/project-slinky/index.html               |  192 +-
 newtmgr/protocol/index.html                     |  180 +-
 os/callout/index.html                           |  304 +-
 os/context_switch/index.html                    |  294 +-
 os/event_queue/index.html                       |  304 +-
 os/heap/index.html                              |  300 +-
 os/mbufs/index.html                             |  300 +-
 os/memory_pool/index.html                       |  302 +-
 os/mutex/index.html                             |  302 +-
 os/mynewt_os/index.html                         |  304 +-
 os/port_os/index.html                           |  290 +-
 os/sanity/index.html                            |  300 +-
 os/semaphore/index.html                         |  302 +-
 os/task/index.html                              |  300 +-
 os/time/index.html                              |  300 +-
 packaging/dist/index.html                       |  152 +-
 search.html                                     |  135 +-
 sitemap.xml                                     |   84 +-
 toc.html                                        |   20 +
 72 files changed, 15879 insertions(+), 3560 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/base.html
----------------------------------------------------------------------
diff --git a/base.html b/base.html
new file mode 100644
index 0000000..d67341a
--- /dev/null
+++ b/base.html
@@ -0,0 +1,96 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        {% if page_description %}<meta name="description" content="{{ page_description }}">{% endif %}
+        {% if site_author %}<meta name="author" content="{{ site_author }}">{% endif %}
+        {% if canonical_url %}<link rel="canonical" href="{{ canonical_url }}">{% endif %}
+        {% if favicon %}<link rel="shortcut icon" href="{{ favicon }}">
+        {% else %}<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}
+
+	<title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
+
+        <link href="{{ base_url }}/css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="{{ base_url }}/css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="{{ base_url }}/css/highlight.css">
+        <link href="{{ base_url }}/css/base.css" rel="stylesheet">
+        <link href="{{ base_url }}/css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        {%- for path in extra_css %}
+        <link href="{{ path }}" rel="stylesheet">
+        {%- endfor %}
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        {% if google_analytics %}
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', '{{ google_analytics[0] }}', '{{ google_analytics[1] }}');
+                ga('send', 'pageview');
+            </script>
+        {% endif %}
+    </head>
+
+{% if page_title != None %}
+    <body class="{{ page_title }}">
+{% else %}
+    <body class="home">
+{% endif %}
+
+        {% include "nav.html" %}
+
+        <div class="container-fluid">
+            {% if page_title == None %}
+                {% include "landing.html" %}
+            {% elif page_title == 'Documentation' %}
+                {% include "documentation.html" %}
+            {% elif page_title == 'Download' %}
+                {% include "download.html" %}
+            {% elif page_title == 'Community' %}
+                {% include "community.html" %}
+            {% elif page_title == 'Events' %}
+                {% include "events.html" %}
+            {% else %}
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container">{% include "toc.html" %}</div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        {% include 'breadcrumbs.html' %}
+                        {% block content %}
+                            {{ content }}
+                        {% endblock %}
+                    </div>
+                </div>
+            {% endif %}
+            <div class="row">    
+                {% include 'footer.html' %}
+            </div>
+        </div>
+
+        <script src="{{ base_url }}/js/jquery-1.10.2.min.js"></script>
+        <script src="{{ base_url }}/js/bootstrap-3.0.3.min.js"></script>
+        <script src="{{ base_url }}/js/highlight.pack.js"></script>
+        <script src="{{ base_url }}/js/base.js"></script>
+        <script src="{{ base_url }}/js/custom.js"></script>
+
+        {%- for path in extra_javascript %}
+            <script src="{{ path }}"></script>
+        {%- endfor %}
+
+    </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/breadcrumbs.html
----------------------------------------------------------------------
diff --git a/breadcrumbs.html b/breadcrumbs.html
new file mode 100644
index 0000000..01960e6
--- /dev/null
+++ b/breadcrumbs.html
@@ -0,0 +1,25 @@
+<div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="{{ homepage_url }}">Docs</a> &raquo;</li>
+    {% if current_page %}
+      {% for doc in current_page.ancestors %}
+        {% if doc.link %}
+          <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
+        {% else %}
+          <li>{{ doc.title }} &raquo;</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 %}
+      {% endif %}
+    </li>
+  </ul>
+  <hr/>
+</div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/child_url.html
----------------------------------------------------------------------
diff --git a/child_url.html b/child_url.html
new file mode 100644
index 0000000..e5ecb62
--- /dev/null
+++ b/child_url.html
@@ -0,0 +1,6 @@
+{% if child.url %}
+  {{ child.url }}
+{% else %}
+  {% set child=child.children[0] %}
+  {% include "child_url.html" %}
+{% endif %}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/community.html
----------------------------------------------------------------------
diff --git a/community.html b/community.html
new file mode 100644
index 0000000..548878a
--- /dev/null
+++ b/community.html
@@ -0,0 +1,181 @@
+{% include 'main-banner.html' %}
+
+
+<div class="bg-orange padded">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-12">
+                <h1>Welcome to the community!</h1>
+                <p>We are happy to see you here. Thank you for your time and effort. Click <a href="#Contributing Code">here</a> if you want to know how to contribute. </p>
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<div class="container small-no-padding">
+    <div class="row content">
+        <div class="col-md-12">
+            {% block content %} {{ content }} {% endblock %}
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-6 mailing-list">
+            <div class="bg-purple mailing-list-title">
+                Dev Mailing List
+            </div>
+            <div class="list-info">
+                <p><a class="bold-link" href="mailto:dev@mynewt.incubator.apache.org">dev@mynewt.incubator.apache.org</a></p>
+                <p>For both contributors and users.</p>
+            </div>
+            <div class="bg-grey subscribe">
+                Subscribe
+            </div>
+            <div class="list-info">
+                <p><a href="mailto:dev-subscribe@mynewt.incubator.apache.org">dev-subscribe@mynewt.incubator.apache.org</a></p>
+            </div>
+            <div class="bg-grey subscribe">
+                Unsubscribe
+            </div>
+            <div class="list-info">
+                <p><a href="mailto:dev-unsubscribe@mynewt.incubator.apache.org">dev-unsubscribe@mynewt.incubator.apache.org</a></p>
+            </div>
+        </div>
+        <div class="col-md-6 mailing-list">
+            <div class="bg-purple mailing-list-title">
+                Commits Mailing List
+            </div>
+            <div class="list-info">
+                <p><a class="bold-link" href="mailto:commits@mynewt.incubator.apache.org">commits@mynewt.incubator.apache.org</a></p>
+                <p>Mainly for contributors to code or documentation.</p>
+            </div>
+            <div class="bg-grey subscribe">
+                Subscribe
+            </div>
+            <div class="list-info">
+                <p><a href="mailto:commits-subscribe@mynewt.incubator.apache.org">commits-subscribe@mynewt.incubator.apache.org</a></p>
+            </div>
+            <div class="bg-grey subscribe">
+                Unsubscribe
+            </div>
+            <div class="list-info">
+                <p><a href="mailto:commits-unsubscribe@mynewt.incubator.apache.org">commits-unsubscribe@mynewt.incubator.apache.org</a></p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-6 mailing-list">
+            <div class="bg-purple mailing-list-title">
+                Notifications Mailing List
+            </div>
+            <div class="list-info">
+                <p><a class="bold-link" href="mailto:notifications@mynewt.incubator.apache.org">notifications@mynewt.incubator.apache.org</a></p>
+                <p>For all autogenerated mail except commits e.g. JIRA notifications.</p>
+            </div>
+            <div class="bg-grey subscribe">
+                Subscribe
+            </div>
+            <div class="list-info">
+                <p><a href="mailto:notifications-subscribe@mynewt.incubator.apache.org">notifications-subscribe@mynewt.incubator.apache.org</a></p>
+            </div>
+            <div class="bg-grey subscribe">
+                Unsubscribe
+            </div>
+            <div class="list-info">
+                <p><a href="mailto:notifications-unsubscribe@mynewt.incubator.apache.org">notifications-unsubscribe@mynewt.incubator.apache.org</a></p>
+            </div>
+        </div>
+            </div>
+</div>
+
+<div class="content">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-12">
+                <h2>Mail Archives</h2>
+                <p>The archives of the emails exchanged on the mailing lists can be found here: 
+                <li>
+                <a href="http://mail-archives.apache.org/mod_mbox/incubator-mynewt-dev/">For dev@mynewt.incubator.apache.org</a> </p>
+                </li>
+                <li>
+                <a href="http://mail-archives.apache.org/mod_mbox/incubator-mynewt-commits/">For commits@mynewt.incubator.apache.org</a> </p>
+                </li>
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<div class="content">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-12">
+                <h2>Issue Tracking</h2>
+                <p>Issues, features, improvements, and wish-lists are tracked using the Atlassian JIRA software on Apache Software Foundation: 
+               
+                <li>
+                <a href="https://issues.apache.org/jira/browse/Mynewt/">ASF JIRA</a> </p>
+                </li>
+            </div>
+        </div>
+    </div>
+
+</div>
+
+
+<a name="Contributing Code"></a> 
+
+<br> 
+                
+<div class="bg-purple padded">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-12">
+                <h2>Contributing Code</h2>
+                <p>                
+                You get started by submitting patches for your peers to review and merge. After a few patches under your belt you will get access to commit code directly to the module you are working on in the repository. Over time you will get full access to all the repositories and can commit code to any module. </p>
+                <p>You may choose to submit patches in one of the two following ways: </p>
+                <br>
+                <ol>
+                <li>
+                Clone the repository into a local branch on your machine and make your changes. Then Submit a pull request on the github mirror of the appropriate Apache Mynewt repository by clicking the green "New pull request" button on the page:
+                   <ul>
+                   <br>
+                   <li><a href="https://github.com/apache/incubator-mynewt-larva">Apache Mynewt larva repo mirrored on github</a></li>
+                   <br>
+                   <li><a href="https://github.com/apache/incubator-mynewt-newt">Apache Mynewt newt tool repo mirrored on github</a></li>
+                   <br>
+                   <li><a href="https://github.com/apache/incubator-mynewt-site">Apache Mynewt documentation repo mirrored on github</a></li>
+                   <br>
+                   </ul>
+                <p>In the comment for the pull request, include a description of the changes you have made and why. Github will automatically notify everyone on the commits@mynewt.incubator.apache.org mailing list about the newly opened pull request. You can open a pull request even if you don't think the code is ready for merge but want some discussion on the matter. </p>
+                <p> One or more committers will review your work, ask for edits or clarifications, and merge when it is ready.     </p>
+                <br>      
+                <li>
+                Submit your new code snippet along with a diff from the old code via email to the @dev mailing list. Regular project members will review your suggested patch and add it to the repository, acknowledging your contribution by referencing your name in the commit message. 
+                </li>
+                <br> 
+               
+            </div>
+        </div>
+    </div>
+</div>
+
+
+
+<div class="padded">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-12">
+                <h2>Contributing to the web site</h2>
+                <p>All content on this site is statically generated using MkDocs from documents written in Markdown and HTML and stored on the master branch in the documentation repository. </p>
+                <br>
+                <p>Click on the tutorial "How to edit docs" under "Get Started", the first chapter in Docs, to learn how to edit a sample file try_markdown.md on Mynewt's documentation git repository. The static html content for this website is generated and maintained in the `asf-site` branch in the documentation repository. Currently, the static html files are generated manually once a day. This will be automated in the future.
+                </p>
+                <br> 
+                <p>If you wish, you may preview the changes you have made on your desktop by installing MkDocs and starting up its builtin webserver as described in MkDocs. This step is optional but described in the tutorial.
+                </p>
+            </div>
+        </div>
+    </div>
+</div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/community/index.html
----------------------------------------------------------------------
diff --git a/community/index.html b/community/index.html
index 9ef5c35..9567ecb 100644
--- a/community/index.html
+++ b/community/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -94,16 +94,29 @@
                 <div class="row"
     <div class="column col-md-12">
         <div class="main-banner">
-            <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+            <img src="/img/logo.svg">
             <h3 class="hidden-xs">modular OS for constrained, embedded environments</h3>
         </div>
     </div>
 </div>
+
+
+<div class="bg-orange padded">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-12">
+                <h1>Welcome to the community!</h1>
+                <p>We are happy to see you here. Thank you for your time and effort. Click <a href="#Contributing Code">here</a> if you want to know how to contribute. </p>
+            </div>
+        </div>
+    </div>
+</div>
+
+
 <div class="container small-no-padding">
     <div class="row content">
         <div class="col-md-12">
-             <h1 id="community">Community<a class="headerlink" href="#community" title="Permanent link">&para;</a></h1>
-<h2 id="mailing-lists">Mailing Lists<a class="headerlink" href="#mailing-lists" title="Permanent link">&para;</a></h2>
+             <h2 id="mailing-lists">Mailing Lists<a class="headerlink" href="#mailing-lists" title="Permanent link">&para;</a></h2>
 <p>To subscribe to a mailing list, you simply send an email to a special subscription address. For example, to subscribe to the dev list, send an email to <a href="mailto:dev-subscribe@mynewt.incubator.apache.org">dev-subscribe@mynewt.incubator.apache.org</a>.</p>
 <p>The following mailing lists can be used to get help with MyNewt.</p> 
         </div>
@@ -208,24 +221,61 @@
             </div>
         </div>
     </div>
+
 </div>
 
 
+<a name="Contributing Code"></a> 
 
-<div class="bg-orange padded">
+<br> 
+                
+<div class="bg-purple padded">
     <div class="container">
         <div class="row">
             <div class="col-md-12">
-                <h2>Contributing</h2>
-                <p>All content on this site is statically generated using MkDocs from documents written in Markdown and stored in the docs directory on the master branch in the Documentation repository. As a documentation contributor you will modify the desired markdown file or create new ones in the appropriate chapter subdirectory under docs.</p>
-                <p>To edit content in a Markdown file and be able to see how the changes look you may use desktop apps such as:</p>
-                <ul>
-                    <li><a target="_blank" href="http://25.io/mou/">Mou</a> for Mac</li>
-                    <li><a target="_blank" href="http://alternativeto.net/software/mou/?platform=windows">Something like Mou</a> for Windows</li>
-                </ul>
-                <p>
-                    Click on the tutorial How to edit docs under "Get Started" to learn how to edit a sample file try_markdown.md on Mynewt's documentation git repository. The static html content is generated and maintained in the asf-site branch in the documentation repository. Currently, the static html files are generated manually once a day. This will be automated in the future.
-                    <br> If you wish, you may preview the changes you have made on your desktop by installing MkDocs and starting up its builtin webserver as described in MkDocs. This step is optional but described in the tutorial.
+                <h2>Contributing Code</h2>
+                <p>                
+                You get started by submitting patches for your peers to review and merge. After a few patches under your belt you will get access to commit code directly to the module you are working on in the repository. Over time you will get full access to all the repositories and can commit code to any module. </p>
+                <p>You may choose to submit patches in one of the two following ways: </p>
+                <br>
+                <ol>
+                <li>
+                Clone the repository into a local branch on your machine and make your changes. Then Submit a pull request on the github mirror of the appropriate Apache Mynewt repository by clicking the green "New pull request" button on the page:
+                   <ul>
+                   <br>
+                   <li><a href="https://github.com/apache/incubator-mynewt-larva">Apache Mynewt larva repo mirrored on github</a></li>
+                   <br>
+                   <li><a href="https://github.com/apache/incubator-mynewt-newt">Apache Mynewt newt tool repo mirrored on github</a></li>
+                   <br>
+                   <li><a href="https://github.com/apache/incubator-mynewt-site">Apache Mynewt documentation repo mirrored on github</a></li>
+                   <br>
+                   </ul>
+                <p>In the comment for the pull request, include a description of the changes you have made and why. Github will automatically notify everyone on the commits@mynewt.incubator.apache.org mailing list about the newly opened pull request. You can open a pull request even if you don't think the code is ready for merge but want some discussion on the matter. </p>
+                <p> One or more committers will review your work, ask for edits or clarifications, and merge when it is ready.     </p>
+                <br>      
+                <li>
+                Submit your new code snippet along with a diff from the old code via email to the @dev mailing list. Regular project members will review your suggested patch and add it to the repository, acknowledging your contribution by referencing your name in the commit message. 
+                </li>
+                <br> 
+               
+            </div>
+        </div>
+    </div>
+</div>
+
+
+
+<div class="padded">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-12">
+                <h2>Contributing to the web site</h2>
+                <p>All content on this site is statically generated using MkDocs from documents written in Markdown and HTML and stored on the master branch in the documentation repository. </p>
+                <br>
+                <p>Click on the tutorial "How to edit docs" under "Get Started", the first chapter in Docs, to learn how to edit a sample file try_markdown.md on Mynewt's documentation git repository. The static html content for this website is generated and maintained in the `asf-site` branch in the documentation repository. Currently, the static html files are generated manually once a day. This will be automated in the future.
+                </p>
+                <br> 
+                <p>If you wish, you may preview the changes you have made on your desktop by installing MkDocs and starting up its builtin webserver as described in MkDocs. This step is optional but described in the tutorial.
                 </p>
             </div>
         </div>
@@ -244,10 +294,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/content.html
----------------------------------------------------------------------
diff --git a/content.html b/content.html
new file mode 100644
index 0000000..b578f1a
--- /dev/null
+++ b/content.html
@@ -0,0 +1,9 @@
+{% if meta.source %}
+    <div class="source-links">
+        {% for filename in meta.source %}
+            <span class="label label-primary">{{ filename }}</span>
+        {% endfor %}
+    </div>
+{% endif %}
+
+{{ content }}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/css/custom.css
----------------------------------------------------------------------
diff --git a/css/custom.css b/css/custom.css
index f4dd137..57aacfd 100644
--- a/css/custom.css
+++ b/css/custom.css
@@ -612,3 +612,7 @@ code {
 li.toctree-l3 {
     padding-left: 20px;
 }
+
+li.active {
+    background-color: #F2853F !important;
+}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/documentation.html
----------------------------------------------------------------------
diff --git a/documentation.html b/documentation.html
new file mode 100644
index 0000000..1844490
--- /dev/null
+++ b/documentation.html
@@ -0,0 +1,40 @@
+{% include 'main-banner.html' %}
+<div class="container small-no-padding">
+    <div class="row">
+        <div class="col-md-12 content">
+            {% block content %}
+                {{ content }}
+            {% endblock %}
+        </div>
+    </div>
+    <div class="row content">
+        <div class="column col-sm-12 col-md-offset-3 col-md-6 search-container text-center">
+            <form id ="rtd-search-form" class="wy-form" action="{{ base_url }}/search.html" method="get">
+                <div class="form-group">
+                    <input id="search-input" type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <div class="row">
+        {% for nav_item in nav %}
+            {% if 'Chapter' in nav_item.title %}
+                <div class="col-md-6 doc-section">
+                    <div class="outline-title">{{ nav_item.title }}</div>
+                    <p>{{ config.extra.chapters[nav_item.title] }}</p>
+                    {% if nav_item.children %}
+                        <ul>
+                            {% for nav_item in nav_item.children %}
+                                {% set child=nav_item %}
+                                <li class="{% if nav_item.active%}current{%endif%}">
+                                    <a href="{% include "child_url.html" %}">{{ nav_item.title }}</a>
+                                </li>
+                            {% endfor %}
+                        </ul>
+                    {% endif %}
+                </div>
+            {% endif %}
+        {% endfor %}
+    </div>
+</div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/documentation/index.html
----------------------------------------------------------------------
diff --git a/documentation/index.html b/documentation/index.html
index 729060b..c83b4d0 100644
--- a/documentation/index.html
+++ b/documentation/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -94,7 +94,7 @@
                 <div class="row"
     <div class="column col-md-12">
         <div class="main-banner">
-            <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+            <img src="/img/logo.svg">
             <h3 class="hidden-xs">modular OS for constrained, embedded environments</h3>
         </div>
     </div>
@@ -137,20 +137,32 @@
                     
                         <ul>
                             
+                                
                                 <li class="">
-                                    <a href="../get_started/newt_concepts/">Newt Concepts</a>
+                                    <a href="
+  ../get_started/newt_concepts/
+">Newt Concepts</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../get_started/project1/">Blinky, The First Project</a>
+                                    <a href="
+  ../get_started/project1/
+">Blinky, The First Project</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../get_started/how_to_edit_docs/">How to edit docs</a>
+                                    <a href="
+  ../get_started/how_to_edit_docs/
+">How to edit docs</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../get_started/try_markdown/">Sample doc to edit</a>
+                                    <a href="
+  ../get_started/try_markdown/
+">Sample doc to edit</a>
                                 </li>
                             
                         </ul>
@@ -165,16 +177,25 @@
                     
                         <ul>
                             
+                                
                                 <li class="">
-                                    <a href="../get_acclimated/vocabulary/">Understanding Newt Terms</a>
+                                    <a href="
+  ../get_acclimated/vocabulary/
+">Understanding Newt Terms</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../get_acclimated/project2/">Project 2</a>
+                                    <a href="
+  ../get_acclimated/project2/
+">Project 2</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../get_acclimated/project3/">Project 3</a>
+                                    <a href="
+  ../get_acclimated/project3/
+">Project 3</a>
                                 </li>
                             
                         </ul>
@@ -189,12 +210,18 @@
                     
                         <ul>
                             
+                                
                                 <li class="">
-                                    <a href="../newt/newt_ops/">Command structure</a>
+                                    <a href="
+  ../newt/newt_ops/
+">Command structure</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../newt/newt_tool_reference/">Command list</a>
+                                    <a href="
+  ../newt/newt_tool_reference/
+">Command list</a>
                                 </li>
                             
                         </ul>
@@ -209,56 +236,95 @@
                     
                         <ul>
                             
+                                
                                 <li class="">
-                                    <a href="../os/mynewt_os/">Overview</a>
+                                    <a href="
+  ../os/mynewt_os/
+">Overview</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/context_switch/">Scheduler/Context Switching</a>
+                                    <a href="
+  ../os/context_switch/
+">Scheduler/Context Switching</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/time/">Time</a>
+                                    <a href="
+  ../os/time/
+">Time</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/task/">Tasks</a>
+                                    <a href="
+  ../os/task/
+">Tasks</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/event_queue/">Event Queues</a>
+                                    <a href="
+  ../os/event_queue/
+">Event Queues</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/semaphore/">Semaphores</a>
+                                    <a href="
+  ../os/semaphore/
+">Semaphores</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/mutex/">Mutexes</a>
+                                    <a href="
+  ../os/mutex/
+">Mutexes</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/memory_pool/">Memory Pools</a>
+                                    <a href="
+  ../os/memory_pool/
+">Memory Pools</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/heap/">Heap</a>
+                                    <a href="
+  ../os/heap/
+">Heap</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/mbufs/">Mbufs</a>
+                                    <a href="
+  ../os/mbufs/
+">Mbufs</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/sanity/">Sanity</a>
+                                    <a href="
+  ../os/sanity/
+">Sanity</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/callout/">Callout Functions</a>
+                                    <a href="
+  ../os/callout/
+">Callout Functions</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../os/port_os/">Porting to other Platforms</a>
+                                    <a href="
+  ../os/port_os/
+">Porting to other Platforms</a>
                                 </li>
                             
                         </ul>
@@ -273,44 +339,77 @@
                     
                         <ul>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/console/">Console</a>
+                                    <a href="
+  
+  
+  ../modules/console/console/
+
+">Console</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/shell/">Shell</a>
+                                    <a href="
+  ../modules/shell/
+">Shell</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/bootloader/">Bootloader</a>
+                                    <a href="
+  ../modules/bootloader/
+">Bootloader</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/filesystem/">File System Abstraction</a>
+                                    <a href="
+  ../modules/filesystem/
+">File System Abstraction</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/nffs/">Newtron Flash File System</a>
+                                    <a href="
+  ../modules/nffs/
+">Newtron Flash File System</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/testutil/">Test Utilities</a>
+                                    <a href="
+  ../modules/testutil/
+">Test Utilities</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/imgmgr/">Image Manager</a>
+                                    <a href="
+  ../modules/imgmgr/
+">Image Manager</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/baselibc/">Baselibc library</a>
+                                    <a href="
+  ../modules/baselibc/
+">Baselibc library</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/elua/">Embedded Lua</a>
+                                    <a href="
+  ../modules/elua/
+">Embedded Lua</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../modules/json/">JSON</a>
+                                    <a href="
+  ../modules/json/
+">JSON</a>
                                 </li>
                             
                         </ul>
@@ -325,16 +424,25 @@
                     
                         <ul>
                             
+                                
                                 <li class="">
-                                    <a href="../newtmgr/overview/">Overview</a>
+                                    <a href="
+  ../newtmgr/overview/
+">Overview</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../newtmgr/protocol/">Protocol</a>
+                                    <a href="
+  ../newtmgr/protocol/
+">Protocol</a>
                                 </li>
                             
+                                
                                 <li class="">
-                                    <a href="../newtmgr/project-slinky/">Project Slinky</a>
+                                    <a href="
+  ../newtmgr/project-slinky/
+">Project Slinky</a>
                                 </li>
                             
                         </ul>
@@ -349,8 +457,11 @@
                     
                         <ul>
                             
+                                
                                 <li class="">
-                                    <a href="../packaging/dist/">Creating Packages</a>
+                                    <a href="
+  ../packaging/dist/
+">Creating Packages</a>
                                 </li>
                             
                         </ul>
@@ -373,10 +484,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/download.html
----------------------------------------------------------------------
diff --git a/download.html b/download.html
new file mode 100644
index 0000000..dbe70ad
--- /dev/null
+++ b/download.html
@@ -0,0 +1,86 @@
+{% include 'main-banner.html' %}
+<div class="container">
+    <div class="row">
+        <div class="col-md-12">
+            <h1 class="text-center">Download - Project Git Repository</h1>
+        </div>
+    </div>
+    <div class="row downloadables">
+        <div class="col-md-4">
+            <div class="downloadable text-center">
+                <div class="container-fluid">
+                    <div class="row">
+                        <div class="col-md-12">
+                            <h3>Documentation Repository</h3>
+                        </div>
+                    </div>
+                    <div class="row">
+                        <div class="col-md-12">
+                            <p>Containing the markdown docs that generate the html pages you see here.</p>
+                        </div>
+                    </div>
+                    <div class="row">
+                        <div class="col-md-12">
+                            <a target="_blank" href="https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-site.git">
+                                <button class="download-button bg-orange">view git repository <i class="fa fa-arrow-circle-o-right"></i></button>
+                            </a>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+        <div class="col-md-4">
+            <div class="downloadable text-center">
+                <div class="container-fluid">
+                    <div class="row">
+                        <div class="col-md-12">
+                            <h3>Mynewt OS development repository (larva)</h3>
+                        </div>
+                    </div>
+                    <div class="row">
+                        <div class="col-md-12">
+                            <p>Containing all code packages for newt operating system and middleware software being worked on.</p>
+                        </div>
+                    </div>
+                    <div class="row">
+                        <div class="col-md-12">
+                            <a target="_blank" href="https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-larva.git">
+                                <button class="download-button bg-orange">view git repository <i class="fa fa-arrow-circle-o-right"></i></button>
+                            </a>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+        <div class="col-md-4">
+            <div class="downloadable text-center">
+                <div class="container-fluid">
+                    <div class="row">
+                        <div class="col-md-12">
+                            <h3>Newt tool development repository (newt)</h3>
+                        </div>
+                    </div>
+                    <div class="row">
+                        <div class="col-md-12">
+                            <p>Containing source code for the newt tool.</p>
+                        </div>
+                    </div>
+                    <div class="row">
+                        <div class="col-md-12">
+                            <a target="_blank"  href="https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-newt.git">
+                                <button class="download-button bg-orange">view git repository <i class="fa fa-arrow-circle-o-right"></i></button>
+                            </a>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+    <div class="row content">
+        <div class="col-md-12">
+            {% block content %}
+                {{ content }}
+            {% endblock %}
+        </div>
+    </div>
+</div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/download/index.html
----------------------------------------------------------------------
diff --git a/download/index.html b/download/index.html
index 55f7487..8ae128a 100644
--- a/download/index.html
+++ b/download/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -94,7 +94,7 @@
                 <div class="row"
     <div class="column col-md-12">
         <div class="main-banner">
-            <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+            <img src="/img/logo.svg">
             <h3 class="hidden-xs">modular OS for constrained, embedded environments</h3>
         </div>
     </div>
@@ -206,10 +206,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/events.html
----------------------------------------------------------------------
diff --git a/events.html b/events.html
new file mode 100644
index 0000000..f8d77c8
--- /dev/null
+++ b/events.html
@@ -0,0 +1,22 @@
+{% include 'main-banner.html' %}
+<div class="row">
+    <div class="column col-md-12">
+        <div class="container">
+            <div class="row">
+                <div class="col-md-12 content">
+                    {% block content %}
+                        {{ content }}
+                    {% endblock %}
+                    {% for event in config.extra.events %}
+                        <div class="event">
+                            <h2>{{ config.extra.events[event].title }}</h2>
+                            <p>{{ config.extra.events[event].date }}</p>
+                            <p>{{ config.extra.events[event].location }}</p>
+                            <p>{{ config.extra.events[event].description }}</p>
+                        </div>
+                    {% endfor %}
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/events/index.html
----------------------------------------------------------------------
diff --git a/events/index.html b/events/index.html
index 1418081..028343e 100644
--- a/events/index.html
+++ b/events/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -94,7 +94,7 @@
                 <div class="row"
     <div class="column col-md-12">
         <div class="main-banner">
-            <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+            <img src="/img/logo.svg">
             <h3 class="hidden-xs">modular OS for constrained, embedded environments</h3>
         </div>
     </div>
@@ -141,10 +141,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/footer.html
----------------------------------------------------------------------
diff --git a/footer.html b/footer.html
new file mode 100644
index 0000000..04c7cf5
--- /dev/null
+++ b/footer.html
@@ -0,0 +1,26 @@
+<footer>
+    <div class="row">
+        <div class="col-md-12">
+            {% if copyright %}
+                <p class="copyright">{{ copyright }}</p>
+            {% endif %}
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/get_acclimated/project2/index.html
----------------------------------------------------------------------
diff --git a/get_acclimated/project2/index.html b/get_acclimated/project2/index.html
index f2f1717..c22bc7c 100644
--- a/get_acclimated/project2/index.html
+++ b/get_acclimated/project2/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,75 +105,125 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../vocabulary/">Understanding Newt Terms</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Project 2</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#objective">Objective</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#stm32f303vc-mcu">STM32F303VC MCU</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#nrf52-series">nRF52 Series</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../project3/">Project 3</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../vocabulary/">Understanding Newt Terms</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Project 2
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../project3/">Project 3</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -602,10 +652,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/get_acclimated/project3/index.html
----------------------------------------------------------------------
diff --git a/get_acclimated/project3/index.html b/get_acclimated/project3/index.html
index b7a9ddd..4bd4bc3 100644
--- a/get_acclimated/project3/index.html
+++ b/get_acclimated/project3/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,69 +105,125 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../vocabulary/">Understanding Newt Terms</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../project2/">Project 2</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Project 3</a></li>
-                            
-                                
-                                    
-                                
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../vocabulary/">Understanding Newt Terms</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../project2/">Project 2</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Project 3
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -211,10 +267,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/get_acclimated/vocabulary/index.html
----------------------------------------------------------------------
diff --git a/get_acclimated/vocabulary/index.html b/get_acclimated/vocabulary/index.html
index 3427c31..2d1f8d8 100644
--- a/get_acclimated/vocabulary/index.html
+++ b/get_acclimated/vocabulary/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,85 +105,125 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="./">Chapter 2 - Get Acclimated</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="./">Understanding Newt Terms</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#nest">Nest</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#project">Project</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#egg">Egg</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#clutch">Clutch</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#eggshell">Eggshell</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#target">Target</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#capability">Capability</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#identity">Identity</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../project2/">Project 2</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../project3/">Project 3</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ./
+">Chapter 2 - Get Acclimated</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li class="active">
+      Understanding Newt Terms
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../project2/">Project 2</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../project3/">Project 3</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -371,10 +411,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>


[3/9] incubator-mynewt-site git commit: Added nested TOC for Console. More nested TOC for other modules to come if this is successful

Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/testutil/index.html
----------------------------------------------------------------------
diff --git a/modules/testutil/index.html b/modules/testutil/index.html
index 3b18be8..d30e9bd 100644
--- a/modules/testutil/index.html
+++ b/modules/testutil/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,104 +105,182 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../console/">Chapter 5 - Modules</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../console/">Console</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../shell/">Shell</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../bootloader/">Bootloader</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../filesystem/">File System Abstraction</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../nffs/">Newtron Flash File System</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Test Utilities</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#tu_init"> tu_init </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#tu_restart"> tu_restart </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../imgmgr/">Image Manager</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../baselibc/">Baselibc library</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../elua/">Embedded Lua</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../json/">JSON</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/console/
+">Console</a>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Test Utilities
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -373,10 +451,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/nav.html
----------------------------------------------------------------------
diff --git a/nav.html b/nav.html
new file mode 100644
index 0000000..0d68725
--- /dev/null
+++ b/nav.html
@@ -0,0 +1,56 @@
+<div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                {% if repo_url %}
+                <li>
+                    <a href="{{ repo_url }}">
+                        {% if repo_name == 'GitHub' %}
+                            <i class="fa fa-github"></i>
+                        {% elif repo_name == 'Bitbucket' %}
+                            <i class="fa fa-bitbucket"></i>
+                        {% endif %}
+                        {{ repo_name }}
+                    </a>
+                </li>
+                {% endif %}
+            </ul>
+        </div>
+    </div>
+</div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/nested_toc.html
----------------------------------------------------------------------
diff --git a/nested_toc.html b/nested_toc.html
new file mode 100644
index 0000000..3ca8db0
--- /dev/null
+++ b/nested_toc.html
@@ -0,0 +1,22 @@
+{% if nav_item.children %}
+  {% set child=nav_item.children[0] %}
+  <li><a href="{% include "child_url.html" %}">{{ nav_item.title }}</a>
+    {% if nav_item.active %}
+      <ul class="current-toc">
+          {% for nav_item in nav_item.children %}
+              {% include "nested_toc.html" %}
+          {% endfor %}
+      </ul>
+    {% endif %}
+  </li>
+{% else %}
+  {% if nav_item.active %}
+    <li class="active">
+      {{ nav_item.title }}
+    </li>
+  {% else %}
+    <li>
+      <a href="{{ nav_item.url }}">{{ nav_item.title }}</a>
+    </li>
+  {% endif %}
+{% endif %}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/newt/newt_ops/index.html
----------------------------------------------------------------------
diff --git a/newt/newt_ops/index.html b/newt/newt_ops/index.html
index 0f748f8..eafe52f 100644
--- a/newt/newt_ops/index.html
+++ b/newt/newt_ops/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,66 +105,117 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="./">Chapter 3 - Newt Tool</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="./">Command structure</a></li>
-                            
-                                
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../newt_tool_reference/">Command list</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ./
+">Chapter 3 - Newt Tool</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li class="active">
+      Command structure
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../newt_tool_reference/">Command list</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -243,10 +294,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/newt/newt_tool_reference/index.html
----------------------------------------------------------------------
diff --git a/newt/newt_tool_reference/index.html b/newt/newt_tool_reference/index.html
index ef4e425..5cc2263 100644
--- a/newt/newt_tool_reference/index.html
+++ b/newt/newt_tool_reference/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,78 +105,117 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../newt_ops/">Command structure</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Command list</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#available-high-level-commands">Available high-level commands</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#version">version</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#help">help</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#nest">nest</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#egg">egg</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#target">target</a></li>
-                                    
-                                
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../newt_ops/">Command structure</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Command list
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -314,15 +353,15 @@ target      Set and view target information
 <tbody>
 <tr>
 <td>create</td>
-<td>Downloads the skeleton of a nest on your local machine from the optional <code>input2</code>nest url, if specified, and creates a new nest directory by the name of <code>input1</code> If <code>input2</code>is not specified, then a default skeleton from the <code>tadpole</code>nest on Mynewt is downloaded. The command lays out a generic directory structure for the nest you are going to build under it and includes some default eggs in it.</td>
+<td>Downloads the skeleton of a nest on your local machine from the optional <code>input2</code> nest url, if specified, and creates a new nest directory by the name of <code>input1</code>. If <code>input2</code> is not specified, then a default skeleton from the <code>tadpole</code> nest on Mynewt is downloaded. The command lays out a generic directory structure for the nest you are going to build under it and includes some default eggs in it.</td>
 </tr>
 <tr>
 <td>generate-clutch</td>
-<td>Takes a snapshot of the eggs in the current local directory and combines them into a clutch by the name of <code>input1</code>and with the url of <code>input2</code>and generates a standard output of the clutch details that can be redirected to a <code>.yml</code>clutch file. Typically the clutch file name is chosen to match the clutch name which means the standard output should be directed to a clutch file named <code>input1.yml</code></td>
+<td>Takes a snapshot of the eggs in the current local directory and combines them into a clutch by the name of <code>input1</code> and with the url of <code>input2</code> and generates a standard output of the clutch details that can be redirected to a <code>.yml</code> clutch file. Typically the clutch file name is chosen to match the clutch name which means the standard output should be directed to a clutch file named <code>input1.yml</code></td>
 </tr>
 <tr>
 <td>add-clutch</td>
-<td>Downloads the clutch of the name <code>input1</code>from the master branch of the github repository <code>input2</code>into the current nest. A file named <code>input1.yml</code>file is added in the <code>.nest/clutches</code>subdirectory inside the current local nest. The <code>.nest/</code>directory structure is created automatically if it does not exist.</td>
+<td>Downloads the clutch of the name <code>input1</code> from the master branch of the github repository <code>input2</code> into the current nest. A file named <code>input1.yml</code> file is added in the <code>.nest/clutches</code> subdirectory inside the current local nest. The <code>.nest/</code> directory structure is created automatically if it does not exist.</td>
 </tr>
 <tr>
 <td>list-clutches</td>
@@ -330,7 +369,7 @@ target      Set and view target information
 </tr>
 <tr>
 <td>show-clutch</td>
-<td>Shows information about the clutch that has the name given in the <code>input1</code>argument. Output includes the clutch name, url, and all the constituent eggs with their version numbers.</td>
+<td>Shows information about the clutch that has the name given in the <code>input1</code> argument. Output includes the clutch name, url, and all the constituent eggs with their version numbers.</td>
 </tr>
 </tbody>
 </table>
@@ -347,7 +386,7 @@ target      Set and view target information
 <tr>
 <td>add-clutch</td>
 <td>-b, --branch="<branch-name>"</td>
-<td>Fetches the clutch file with name <code>input1</code>from the specified branch at <code>input1</code>url of the github repository. All subsequent egg installations will be done from that branch.</td>
+<td>Fetches the clutch file with name <code>input1</code> from the specified branch at <code>input1</code> url of the github repository. All subsequent egg installations will be done from that branch.</td>
 </tr>
 </tbody>
 </table>
@@ -374,7 +413,7 @@ target      Set and view target information
 <tr>
 <td>generate-clutch</td>
 <td>newt nest generate-clutch myclutch https://www.github.com/mynewt/larva &gt; myclutch.yml</td>
-<td>Takes a snapshot of the eggs in the current nest to form a clutch named myclutch with the url https://www.github.com/mynewt/larva. The output is written to a file named <code>myclutch.yml</code>and describes the properties and contents of the clutch (name, url, eggs).</td>
+<td>Takes a snapshot of the eggs in the current nest to form a clutch named myclutch with the url https://www.github.com/mynewt/larva. The output is written to a file named <code>myclutch.yml</code> and describes the properties and contents of the clutch (name, url, eggs).</td>
 </tr>
 <tr>
 <td>add-clutch</td>
@@ -437,19 +476,19 @@ Global Flags:
 </tr>
 <tr>
 <td>hunt</td>
-<td>Hunts for an egg, specified by <code>input1</code> The local nest, along with all remote nests (clutches) are searched. All matched eggs are shown along with the clutch informaton. Installed eggs are called out as such. The command can be invoked from anywhere in the nest.</td>
+<td>Hunts for an egg, specified by <code>input1</code>. The local nest, along with all remote nests (clutches) are searched. All matched eggs are shown along with the clutch informaton. Installed eggs are called out as such. The command can be invoked from anywhere in the nest.</td>
 </tr>
 <tr>
 <td>show</td>
-<td>Show the contents of the egg named <code>input2</code>found in the clutch named <code>input1</code> The clutch name is optional; if only the egg name is given as the argument it is resolved using all the clutches installed in the current nest. If the egg is present in multiple clutches it will list all of them along with the clutch information for each.</td>
+<td>Show the contents of the egg named <code>input2</code> found in the clutch named <code>input1</code>. The clutch name is optional; if only the egg name is given as the argument it is resolved using all the clutches installed in the current nest. If the egg is present in multiple clutches it will list all of them along with the clutch information for each.</td>
 </tr>
 <tr>
 <td>install</td>
-<td>Install the egg specified by <code>input2</code>from the clutch named <code>input1</code> The command downloads the egg from the github repository using the URL in the clutch description file (typically donwloaded as 'input1@<branch-name>.yml' in .nest/clutches). It also downloads all the dependencies (constituent eggs) as decribed in the egg's description file ('egg.yml') and installs all of them. The clutch name is optional. If only the egg name is given as the argument, the command looks for the egg name in all the clutches in the local nest and installs accordingly. An egg is installed by this command only if it has not already been installed.</td>
+<td>Install the egg specified by <code>input2</code> from the clutch named <code>input1</code>. The command downloads the egg from the github repository using the URL in the clutch description file (typically donwloaded as 'input1@<branch-name>.yml' in .nest/clutches). It also downloads all the dependencies (constituent eggs) as decribed in the egg's description file ('egg.yml') and installs all of them. The clutch name is optional. If only the egg name is given as the argument, the command looks for the egg name in all the clutches in the local nest and installs accordingly. An egg is installed by this command only if it has not already been installed.</td>
 </tr>
 <tr>
 <td>remove</td>
-<td>Remove an egg named <code>input2</code>from clutch <code>input1</code> if clutch is specified. Otherwise only one input required - that of the name of the egg to be removed from the local nest.</td>
+<td>Remove an egg named <code>input2</code> from clutch <code>input1</code>, if clutch is specified. Otherwise only one input required - that of the name of the egg to be removed from the local nest.</td>
 </tr>
 </tbody>
 </table>
@@ -559,7 +598,7 @@ Global Flags:
 <tbody>
 <tr>
 <td>set</td>
-<td>Set attributes of the target. Currently the list of possible attributes are:<code>arch, compiler, compiler_def, project, bsp, egg, identities, capabilities, dependencies, cflags, lflags</code> Typically only the first 5 need to be set for a hardware target. For a simulated target, e.g. for software testing purposes, <code>arch=sim</code> <code>compiler=sim</code> and <code>egg=&lt;egg name to be tested&gt;</code> You cannot set both the project and egg for a target.</td>
+<td>Set attributes of the target. Currently the list of possible attributes are:<code>arch, compiler, compiler_def, project, bsp, egg, identities, capabilities, dependencies, cflags, lflags</code>. Typically only the first 5 need to be set for a hardware target. For a simulated target, e.g. for software testing purposes, <code>arch=sim</code>, <code>compiler=sim</code>, and <code>egg=&lt;egg name to be tested&gt;</code>. You cannot set both the project and egg for a target.</td>
 </tr>
 <tr>
 <td>unset</td>
@@ -567,43 +606,43 @@ Global Flags:
 </tr>
 <tr>
 <td>delete</td>
-<td>Deletes only the description for the target. Does not delete the target directory with associated binaries. If you want to clean out the binaries, list files, and executables use<code>newt target build &lt;target-name&gt; clean</code><strong>before</strong> deleting the target!</td>
+<td>Deletes only the description for the target. Does not delete the target directory with associated binaries. If you want to clean out the binaries, list files, and executables use<code>newt target build &lt;target-name&gt; clean</code> <strong>before</strong> deleting the target!</td>
 </tr>
 <tr>
 <td>create</td>
-<td>Creates a target description or build definition by the name <code>input1</code> By default it assigns the sim (simulator) architecture to it which allows you to build new projects and software on your native OS and try it out.</td>
+<td>Creates a target description or build definition by the name <code>input1</code>. By default it assigns the sim (simulator) architecture to it which allows you to build new projects and software on your native OS and try it out.</td>
 </tr>
 <tr>
 <td>show</td>
-<td>Display the configuration defined for the target named <code>input1</code> If no <code>input1</code>is specified then show the details for all the targets in the nest.</td>
+<td>Display the configuration defined for the target named <code>input1</code>. If no <code>input1</code> is specified then show the details for all the targets in the nest.</td>
 </tr>
 <tr>
 <td>build</td>
-<td>Build the source code into an image that can be loaded on the hardware associated with the target named <code>input1</code>to do the application enabled by the 'project' associated with that target (via the target definition). It creates 'bin/' and 'bin/<input1>/' subdirectories inside the base directory for the project, compiles and generates binaries and executables, and places them in 'bin/<input1>/.</td>
+<td>Build the source code into an image that can be loaded on the hardware associated with the target named <code>input1</code> to do the application enabled by the 'project' associated with that target (via the target definition). It creates 'bin/' and 'bin/<input1>/' subdirectories inside the base directory for the project, compiles and generates binaries and executables, and places them in 'bin/<input1>/.</td>
 </tr>
 <tr>
 <td>test</td>
-<td>Test an egg on the target named <code>input1</code> The egg is either supplied as an argument to the command line invocation of <code>newt target test</code>or added as part of the target definition. If only the target is specified as <code>input1</code> then the egg in the target's definition is automatically chosen to be tested. You currently cannot test an entire project on a hardware target. The test command is envisioned for use if one or two eggs gets updated and each needs to be tested against a target. Alternatively, a script may be written for a series of tests on several eggs.</td>
+<td>Test an egg on the target named <code>input1</code>. The egg is either supplied as an argument to the command line invocation of <code>newt target test</code> or added as part of the target definition. If only the target is specified as <code>input1</code>, then the egg in the target's definition is automatically chosen to be tested. You currently cannot test an entire project on a hardware target. The test command is envisioned for use if one or two eggs gets updated and each needs to be tested against a target. Alternatively, a script may be written for a series of tests on several eggs.</td>
 </tr>
 <tr>
 <td>export</td>
-<td>Exports the configurations of the specified target <code>input1</code> If -a or -export-all flag is used, then all targets are exported and printed out to standard out. You may redirect the output to a file.</td>
+<td>Exports the configurations of the specified target <code>input1</code>. If -a or -export-all flag is used, then all targets are exported and printed out to standard out. You may redirect the output to a file.</td>
 </tr>
 <tr>
 <td>import</td>
-<td>Import one or more target configuration from standard input or a file. Each target starts with <code>@target=&lt;target-name&gt;</code>followed by the attributes. The list of targets should end with <code>@endtargets</code></td>
+<td>Import one or more target configuration from standard input or a file. Each target starts with <code>@target=&lt;target-name&gt;</code> followed by the attributes. The list of targets should end with <code>@endtargets</code>.</td>
 </tr>
 <tr>
 <td>size</td>
-<td>Outputs the RAM and flash consumption by the components of the specified target <code>input1</code></td>
+<td>Outputs the RAM and flash consumption by the components of the specified target <code>input1</code>.</td>
 </tr>
 <tr>
 <td>download</td>
-<td>Downloads the binary executable <code>&lt;target-name&gt;.elf.bin</code>to the board.</td>
+<td>Downloads the binary executable <code>&lt;target-name&gt;.elf.bin</code> to the board.</td>
 </tr>
 <tr>
 <td>debug</td>
-<td>Downloads the binary executable <code>&lt;target-name&gt;.elf.bin</code>to the board and starts up the openocd/gdb combination session. gdb takes over the terminal.</td>
+<td>Downloads the binary executable <code>&lt;target-name&gt;.elf.bin</code> to the board and starts up the openocd/gdb combination session. gdb takes over the terminal.</td>
 </tr>
 </tbody>
 </table>
@@ -630,7 +669,7 @@ Global Flags:
 <tr>
 <td>export</td>
 <td>-a, -export-all</td>
-<td>Export all targets. <code>input1</code>is not necessary when this flag is used.</td>
+<td>Export all targets. <code>input1</code> is not necessary when this flag is used.</td>
 </tr>
 <tr>
 <td>import</td>
@@ -707,7 +746,7 @@ Global Flags:
 <tr>
 <td>import</td>
 <td>newt target import -a &lt; in_targets.txt</td>
-<td>Imports all the targets specified in the file named <code>in_targets.txt</code> A sample file is shown after this table.</td>
+<td>Imports all the targets specified in the file named <code>in_targets.txt</code>. A sample file is shown after this table.</td>
 </tr>
 <tr>
 <td>size</td>
@@ -717,12 +756,12 @@ Global Flags:
 <tr>
 <td>download</td>
 <td>newt target -v -lVERBOSE download blinky</td>
-<td>Downloads <code>blinky.elf.bin</code>to the hardware in verbose mode with logging turned on at VERBOSE level.</td>
+<td>Downloads <code>blinky.elf.bin</code> to the hardware in verbose mode with logging turned on at VERBOSE level.</td>
 </tr>
 <tr>
 <td>debug</td>
 <td>newt target debug blinky</td>
-<td>Downloads <code>blinky.elf.bin</code>to the hardware, opens up a gdb session with <code>blinky.elf</code>in the terminal, and halts for further input in gdb.</td>
+<td>Downloads <code>blinky.elf.bin</code> to the hardware, opens up a gdb session with <code>blinky.elf</code> in the terminal, and halts for further input in gdb.</td>
 </tr>
 </tbody>
 </table>
@@ -756,10 +795,10 @@ compiler=arm-none-eabi-m4<br />
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/newtmgr/overview/index.html
----------------------------------------------------------------------
diff --git a/newtmgr/overview/index.html b/newtmgr/overview/index.html
index bad558c..16d777b 100644
--- a/newtmgr/overview/index.html
+++ b/newtmgr/overview/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,89 +105,125 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="./">Chapter 6 - Newt Manager</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="./">Overview</a></li>
-                            
-                                
-                                    
-                                
-                                    
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#available-high-level-commands">Available high-level commands</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#available-flags">Available Flags</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#help">help</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#conn">conn</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#echo">echo</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#image">image</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#stat">stat</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#taskstats">taskstats</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../protocol/">Protocol</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../project-slinky/">Project Slinky</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ./
+">Chapter 6 - Newt Manager</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li class="active">
+      Overview
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../protocol/">Protocol</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../project-slinky/">Project Slinky</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -550,10 +586,10 @@ Return Code = 0
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/newtmgr/project-slinky/index.html
----------------------------------------------------------------------
diff --git a/newtmgr/project-slinky/index.html b/newtmgr/project-slinky/index.html
index aef49a0..c9e810c 100644
--- a/newtmgr/project-slinky/index.html
+++ b/newtmgr/project-slinky/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,85 +105,125 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../overview/">Chapter 6 - Newt Manager</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../overview/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../protocol/">Protocol</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Project Slinky</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#objective">Objective</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#what-you-need">What you need</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#overview-of-steps">Overview of steps</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#creating-local-repository">Creating local repository</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#installing-newtmgr">Installing Newtmgr</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#building-targets">Building Targets</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#using-newtmgr-with-a-sim-target">Using newtmgr with a sim target</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#using-newtmgr-with-a-remote-target">Using newtmgr with a remote target</a></li>
-                                    
-                                
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../overview/
+">Chapter 6 - Newt Manager</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../overview/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../protocol/">Protocol</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Project Slinky
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -461,10 +501,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/newtmgr/protocol/index.html
----------------------------------------------------------------------
diff --git a/newtmgr/protocol/index.html b/newtmgr/protocol/index.html
index f93b19c..7941b29 100644
--- a/newtmgr/protocol/index.html
+++ b/newtmgr/protocol/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,73 +105,125 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../overview/">Chapter 6 - Newt Manager</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../overview/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Protocol</a></li>
-                            
-                                
-                                    
-                                
-                                    
-                                
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../project-slinky/">Project Slinky</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../overview/
+">Chapter 6 - Newt Manager</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../overview/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Protocol
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../project-slinky/">Project Slinky</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -218,10 +270,10 @@
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/callout/index.html
----------------------------------------------------------------------
diff --git a/os/callout/index.html b/os/callout/index.html
index af5f6fb..cfe93f7 100644
--- a/os/callout/index.html
+++ b/os/callout/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,117 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../context_switch/">Scheduler/Context Switching</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Callout Functions</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_callout_init">os_callout_init </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_callout_func_init"> os_callout_func_init </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_callout_stop"> os_callout_stop </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_callout_reset"> os_callout_reset </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#os_callout_queued">os_callout_queued</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../context_switch/">Scheduler/Context Switching</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Callout Functions
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -533,10 +621,10 @@ non-zero: timer is armed</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/os/context_switch/index.html
----------------------------------------------------------------------
diff --git a/os/context_switch/index.html b/os/context_switch/index.html
index 5c66748..82ab86b 100644
--- a/os/context_switch/index.html
+++ b/os/context_switch/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,107 +105,205 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../mynewt_os/">Overview</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Scheduler/Context Switching</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../time/">Time</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../task/">Tasks</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../event_queue/">Event Queues</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../semaphore/">Semaphores</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mutex/">Mutexes</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../memory_pool/">Memory Pools</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../heap/">Heap</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../mbufs/">Mbufs</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../sanity/">Sanity</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../callout/">Callout Functions</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../port_os/">Porting to other Platforms</a></li>
-                            
-                        
-                    </ul>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../modules/console/">Chapter 5 - Modules</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../mynewt_os/">Overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Scheduler/Context Switching
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../time/">Time</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../task/">Tasks</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../event_queue/">Event Queues</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../semaphore/">Semaphores</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mutex/">Mutexes</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../memory_pool/">Memory Pools</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../heap/">Heap</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../mbufs/">Mbufs</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../sanity/">Sanity</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../callout/">Callout Functions</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../port_os/">Porting to other Platforms</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
         
+          
+  
+  <li><a href="
+  
+  
+  ../../modules/console/console/
+
+">Chapter 5 - Modules</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -376,10 +474,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>


[6/9] incubator-mynewt-site git commit: Added nested TOC for Console. More nested TOC for other modules to come if this is successful

Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/baselibc/index.html
----------------------------------------------------------------------
diff --git a/modules/baselibc/index.html b/modules/baselibc/index.html
index 2179f6b..913080e 100644
--- a/modules/baselibc/index.html
+++ b/modules/baselibc/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,96 +105,182 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../console/">Chapter 5 - Modules</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../console/">Console</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../shell/">Shell</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../bootloader/">Bootloader</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../filesystem/">File System Abstraction</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../nffs/">Newtron Flash File System</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../testutil/">Test Utilities</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../imgmgr/">Image Manager</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Baselibc library</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#how-to-switch-to-baselibc">How to switch to baselibc</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#stdout_write"> stdout_write </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../elua/">Embedded Lua</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../json/">JSON</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/console/
+">Console</a>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Baselibc library
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -413,10 +499,10 @@ The functions available in this OS feature are listed below. Documentation is av
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/bootloader/index.html
----------------------------------------------------------------------
diff --git a/modules/bootloader/index.html b/modules/bootloader/index.html
index 04f9aa2..c56652c 100644
--- a/modules/bootloader/index.html
+++ b/modules/bootloader/index.html
@@ -45,7 +45,7 @@
 
         <div class="navbar navbar-default navbar-fixed-top" role="navigation">
     <div class="logo-container">
-        <img src="http://mynewt.incubator.apache.org/img/logo.svg">
+        <img src="/img/logo.svg">
     </div>
     <div class="container-fluid">
         <!-- Collapsed navigation -->
@@ -65,19 +65,19 @@
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/">Home</a>
+                    <a href="/">Home</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/documentation/">Docs</a>
+                    <a href="/documentation/">Docs</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/download/">Download</a>
+                    <a href="/download/">Download</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/community/">Community</a>
+                    <a href="/community/">Community</a>
                 </li>
                 <li>
-                    <a href="http://mynewt.incubator.apache.org/events/">Events</a>
+                    <a href="/events/">Events</a>
                 </li>
             </ul>
 
@@ -92,9 +92,9 @@
         <div class="container-fluid">
             
                 <div class="row sm-extra-padding">
-                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">    
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
     <div class="sidebar-top">
-        <img class="hidden-xs hidden-sm logo-small" src="http://mynewt.incubator.apache.org/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div class="small" role="search">
             <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
                 <div class="form-group">
@@ -105,104 +105,182 @@
         </div>
     </div>
     <ul class="nav bs-sidenav">
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
+      
         
-            
-                <li class="main"><a href="../../get_started/newt_concepts/">Chapter 1 - Get Started</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../get_acclimated/vocabulary/">Chapter 2 - Get Acclimated</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../newt/newt_ops/">Chapter 3 - Newt Tool</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../os/mynewt_os/">Chapter 4 - Mynewt OS</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../console/">Chapter 5 - Modules</a></li>
-                
-                    <ul class="current-toc">
-                        
-                            <li class="toctree-l2"><a href="../console/">Console</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../shell/">Shell</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="./">Bootloader</a></li>
-                            
-                                
-                                    
-                                        <li class="toctree-l3"><a href="#description">Description</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#data-structures">Data structures</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#list-of-functions">List of Functions</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#function-reference">Function Reference</a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#boot_slot_addr"> boot_slot_addr </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#boot_find_image_slot"> boot_find_image_slot </a></li>
-                                    
-                                        <li class="toctree-l3"><a href="#next_one"> next_one </a></li>
-                                    
-                                
-                            
-                        
-                            <li class="toctree-l2"><a href="../filesystem/">File System Abstraction</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../nffs/">Newtron Flash File System</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../testutil/">Test Utilities</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../imgmgr/">Image Manager</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../baselibc/">Baselibc library</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../elua/">Embedded Lua</a></li>
-                            
-                        
-                            <li class="toctree-l2"><a href="../json/">JSON</a></li>
-                            
-                        
-                    </ul>
-                
-            
+          
+  
+  <li><a href="
+  ../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
         
-            
-                <li class="main"><a href="../../newtmgr/overview/">Chapter 6 - Newt Manager</a></li>
-                
-            
+      
         
-            
-                <li class="main"><a href="../../packaging/dist/">Chapter 7 - Packaging it</a></li>
-                
-            
+          
+  
+  <li><a href="
+  ../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/console/
+">Console</a>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Bootloader
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
         
+      
+        
+          
+  
+  <li><a href="
+  ../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
     </ul>
 </div></div>
                     
@@ -373,10 +451,10 @@ Any caveats to be careful about (e.g. high memory requirements).</p>
     <div class="copyright-logos">
         <div class="row">
             <div class="col-xs-6 text-right">
-                <img src="http://mynewt.incubator.apache.org/img/apache-feather.png" alt="Apache" title="Apache">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
             </div>
             <div class="col-xs-6 text-left">
-                <img src="http://mynewt.incubator.apache.org/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console/index.html b/modules/console/console/index.html
new file mode 100644
index 0000000..75f86c1
--- /dev/null
+++ b/modules/console/console/index.html
@@ -0,0 +1,537 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console overview - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console overview">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ./
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ./
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li class="active">
+      console overview
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console overview</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h1 id="console">Console<a class="headerlink" href="#console" title="Permanent link">&para;</a></h1>
+<p>The console is an operating system window where users interact with system programs of the operating system or a console application by entering text input (typically from a keyboard) and reading text output (typically on the computer terminal or monitor). The text written on the console brings some information and is a sequence of characters sent by the OS or programs running on the OS. </p>
+<p>Support is currently available for console access via the serial port on the hardware board.</p>
+<h2 id="description">Description<a class="headerlink" href="#description" title="Permanent link">&para;</a></h2>
+<p>In the Mynewt OS, the console library comes in two versions:</p>
+<ul>
+<li>full - containing the full implementation</li>
+<li>stub - containing stubs for the API</li>
+</ul>
+<p>Both of these have <code>egg.yml</code> file which states that they provide the <code>console</code> API. If an egg uses this API, it should list <code>console</code> as a requirement.
+For example, the shell egg is defined by the following egg.yml file:</p>
+<pre><code class="no-highlight">    egg.name: libs/shell 
+    egg.vers: 0.1
+    egg.deps:
+        - libs/os
+        - libs/util
+    egg.reqs:
+        - console
+    egg.identities:
+        - SHELL 
+</code></pre>
+
+<p>The project .yml file decides which version of the console egg should be included. 
+If project requires the full console capability it lists dependency <code>libs/console/full</code> in its egg.yml file. 
+On the other hand, a project may not have a physical console (e.g. a UART port to connect a terminal to) but may have a dependency on an egg that has console capability. In that case you would use a console stub. Another example would be the bootloader project where we want to keep the size of the image small. It includes the <code>libs/os</code> egg that can print out messages on a console (e.g. if there is a hard fault) and the <code>libs/util</code> egg that uses full console (but only if SHELL is present to provide a CLI). However, we do not want to use any console I/O capability in this particular bootloader project to keep the size small. We simply use the console stub instead and the egg.yml file for the project boot egg looks like the following:</p>
+<pre><code class="no-highlight">    project.name: boot
+    project.identities: bootloader
+    project.eggs:
+        - libs/os
+        - libs/bootutil
+        - libs/nffs
+        - libs/console/stub
+        - libs/util 
+</code></pre>
+
+<p>Console has 2 modes for transmit; blocking and non-blocking mode. Usually the non-blocking mode is the active one; the output buffer is drained by getting TX completion interrupts from hardware, and more data is added based on these interrupts.
+Blocking mode is used when we don't want TX completion interrupts. This is used when system crashes, and we still want to output info related to that crash.</p>
+<h2 id="data-structures">Data structures<a class="headerlink" href="#data-structures" title="Permanent link">&para;</a></h2>
+<p>Console interaction is intrinsically composed of two unidirectional systems. The console implementation uses two ring buffers containing input (receive) and output (transmit) characters, respectively. Read and write operations on the console_ring structure are managed by labeling the read location indicator the <code>cr_tail</code> and the write location indicator the <code>cr_head</code>. The console ring length is variable and is specified as the <code>cr_size</code> member of the data structure. <code>cr_buf</code> is the pointer to the actual array of data contained.</p>
+<pre><code class="no-highlight">struct console_ring {
+  32     uint8_t cr_head;
+  33     uint8_t cr_tail;
+  34     uint8_t cr_size;
+  35     uint8_t _pad;
+  36     uint8_t *cr_buf;
+  37 }
+</code></pre>
+
+<pre><code class="no-highlight">struct console_tty {
+  40     struct console_ring ct_tx;
+  41     uint8_t ct_tx_buf[CONSOLE_TX_BUF_SZ]; /* must be after console_ring */
+  42     struct console_ring ct_rx;
+  43     uint8_t ct_rx_buf[CONSOLE_RX_BUF_SZ]; /* must be after console_ring */
+  44     console_rx_cb ct_rx_cb;     /* callback that input is ready */
+  45     console_write_char ct_write_char;
+  46 } console_tty
+</code></pre>
+
+<h2 id="list-of-functions">List of Functions<a class="headerlink" href="#list-of-functions" title="Permanent link">&para;</a></h2>
+<p>The functions available in console are:</p>
+<ul>
+<li><a href="../console_add_char/">console_add_char</a></li>
+<li><a href="../console_blocking_mode/">console_blocking_mode</a></li>
+<li><a href="../console_blocking_tx/">console_blocking_tx</a></li>
+<li><a href="../console_init/">console_init</a></li>
+<li><a href="../console_printf/">console_printf</a></li>
+<li><a href="../console_pull_char/">console_pull_char</a></li>
+<li><a href="../console_pull_char_head/">console_pull_char_head</a></li>
+<li><a href="../console_queue_char/">console_queue_char</a></li>
+<li><a href="../console_read/">console_read</a></li>
+<li><a href="../console_rx_char/">console_rx_char</a></li>
+<li><a href="../console_tx_char/">console_tx_char</a></li>
+<li><a href="../console_write/">console_write</a></li>
+</ul>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_add_char/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_add_char/index.html b/modules/console/console_add_char/index.html
new file mode 100644
index 0000000..015aadc
--- /dev/null
+++ b/modules/console/console_add_char/index.html
@@ -0,0 +1,504 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_add_char/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_add_char - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_add_char">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_add_char
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_add_char</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_add_char"><font color="#F2853F" style="font-size:24pt"> console_add_char</font><a class="headerlink" href="#console_add_char" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">   static void
+   console_add_char(struct console_ring *cr, char ch)
+</code></pre>
+
+<p>Adds a character to the console ring buffer. When you store an item in the buffer you store it at the head location, and the head advances to the next location.</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>*cr</td>
+<td>Pointer to a console ring data structure whose <code>cr_head</code> variable is to be set to the second argument in this function call</td>
+</tr>
+<tr>
+<td>ch</td>
+<td>Character to be inserted to the ring</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>None</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Add a new line character to the output (transmit) buffer.</p>
+<pre><code class="no-highlight">void
+task()
+{
+     struct console_ring *tx = &amp;ct-&gt;ct_tx;
+
+     console_add_char(tx, '\n');
+}
+</code></pre>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_blocking_mode/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_blocking_mode/index.html b/modules/console/console_blocking_mode/index.html
new file mode 100644
index 0000000..7f077ac
--- /dev/null
+++ b/modules/console/console_blocking_mode/index.html
@@ -0,0 +1,505 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_blocking_mode/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_blocking_mode - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_blocking_mode">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_blocking_mode
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_blocking_mode</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_blocking_mode"><font color="#F2853F" style="font-size:24pt"> console_blocking_mode </font><a class="headerlink" href="#console_blocking_mode" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">   void
+   console_blocking_mode(void)
+</code></pre>
+
+<p>Calls the console_blocking_tx function to flush the buffered console output (transmit) queue. The function OS_ENTER_CRITICAL() is called to disable interrupts and OS_EXIT_CRITICAL() is called to enable interrupts back again once the buffer is flushed.</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>none</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>List any values returned.
+Error codes?</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Here is an example of calling <code>console_blocking_mode</code> and printing crash information from an assert to help debug.</p>
+<pre><code class="no-highlight">void
+_assert_func(const char *file, int line, const char *func, const char *e)
+{
+    int sr;
+
+    OS_ENTER_CRITICAL(sr);
+    (void)sr;
+    os_die_line = line;
+    os_die_module = file;
+    console_blocking_mode();
+    console_printf(&quot;Assert %s; failed in %s:%d\n&quot;, e ? e : &quot;&quot;, file, line);
+    system_reset();
+}
+</code></pre>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_blocking_tx/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_blocking_tx/index.html b/modules/console/console_blocking_tx/index.html
new file mode 100644
index 0000000..3e28976
--- /dev/null
+++ b/modules/console/console_blocking_tx/index.html
@@ -0,0 +1,505 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_blocking_tx/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_blocking_tx - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_blocking_tx">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_blocking_tx
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_init/">console_init</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_blocking_tx</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_blocking_tx"><font color="#F2853F" style="font-size:24pt"> console_blocking_tx </font><a class="headerlink" href="#console_blocking_tx" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">    static void
+    console_blocking_tx(char ch)
+</code></pre>
+
+<p>Calls the hal function hal_uart_blocking_tx to transmit a byte to the console over UART in a blocking mode until the entire character has been sent. Hence it must be called with interrupts disabled. It is used when printing diagnostic output from system crash.</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>ch</td>
+<td>8 bit character (data) to be transmitted</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>List any values returned.
+Error codes?</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Here is an example of a console output queue being flushed.</p>
+<pre><code class="no-highlight">void
+task(void)
+{
+    struct console_tty *ct = &amp;console_tty;
+    uint8_t byte;
+
+    while (ct-&gt;ct_tx.cr_head != ct-&gt;ct_tx.cr_tail) {
+        byte = console_pull_char(&amp;ct-&gt;ct_tx);
+        console_blocking_tx(byte);
+    }
+}
+</code></pre>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/modules/console/console_init/index.html
----------------------------------------------------------------------
diff --git a/modules/console/console_init/index.html b/modules/console/console_init/index.html
new file mode 100644
index 0000000..6e5ac5f
--- /dev/null
+++ b/modules/console/console_init/index.html
@@ -0,0 +1,497 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        
+        
+        <link rel="canonical" href="http://mynewt.incubator.apache.org/modules/console/console_init/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>console_init - Apache Mynewt</title>
+
+        <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+        <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+        <link rel="stylesheet" href="../../../css/highlight.css">
+        <link href="../../../css/base.css" rel="stylesheet">
+        <link href="../../../css/custom.css" rel="stylesheet">
+        <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="../../../extra.css" rel="stylesheet">
+
+        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+        <!--[if lt IE 9]>
+            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+            <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+        <![endif]-->
+
+        
+            <script>
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+                ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+                ga('send', 'pageview');
+            </script>
+        
+    </head>
+
+
+    <body class="console_init">
+
+
+        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+    <div class="logo-container">
+        <img src="/img/logo.svg">
+    </div>
+    <div class="container-fluid">
+        <!-- Collapsed navigation -->
+        <div class="navbar-header">
+            <!-- Expander button -->
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+
+        </div>
+
+        <!-- Expanded navigation -->
+        <div class="navbar-collapse collapse">
+            <!-- Main navigation -->
+            <ul class="nav navbar-nav navbar-right">
+                <li>
+                    <a href="/">Home</a>
+                </li>
+                <li>
+                    <a href="/documentation/">Docs</a>
+                </li>
+                <li>
+                    <a href="/download/">Download</a>
+                </li>
+                <li>
+                    <a href="/community/">Community</a>
+                </li>
+                <li>
+                    <a href="/events/">Events</a>
+                </li>
+            </ul>
+
+            <!-- Search, Navigation and Repo links -->
+            <ul class="nav navbar-nav navbar-right">
+                
+            </ul>
+        </div>
+    </div>
+</div>
+
+        <div class="container-fluid">
+            
+                <div class="row sm-extra-padding">
+                    <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+    <div class="sidebar-top">
+        <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+        <div class="small" role="search">
+            <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+                <div class="form-group">
+                    <input type="text" name="q" placeholder="Search documentation" />
+                    <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+                </div>
+            </form>
+        </div>
+    </div>
+    <ul class="nav bs-sidenav">
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_started/newt_concepts/
+">Chapter 1 - Get Started</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../get_acclimated/vocabulary/
+">Chapter 2 - Get Acclimated</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_ops/
+">Chapter 3 - Newt Tool</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../os/mynewt_os/
+">Chapter 4 - Mynewt OS</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  
+  
+  ../console/
+
+">Chapter 5 - Modules</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+  <li><a href="
+  ../console/
+">Console</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../console/">console overview</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_add_char/">console_add_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_mode/">console_blocking_mode</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_blocking_tx/">console_blocking_tx</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      console_init
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_printf/">console_printf</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char/">console_pull_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_pull_char_head/">console_pull_char_head</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_queue_char/">console_queue_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_read/">console_read</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_rx_char/">console_rx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_tx_char/">console_tx_char</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../console_write/">console_write</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+    <li>
+      <a href="../../shell/">Shell</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../bootloader/">Bootloader</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../filesystem/">File System Abstraction</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../nffs/">Newtron Flash File System</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../testutil/">Test Utilities</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../imgmgr/">Image Manager</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../baselibc/">Baselibc library</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../elua/">Embedded Lua</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../../json/">JSON</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newtmgr/overview/
+">Chapter 6 - Newt Manager</a>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../packaging/dist/
+">Chapter 7 - Packaging it</a>
+    
+  </li>
+
+        
+      
+    </ul>
+</div></div>
+                    
+                    <div class="show-sidebar-container">
+                        <button class="show-sidebar">Docs Menu</button>
+                    </div>
+                    
+                    <div class="col-md-9 documentation-viewer" role="main">
+                        <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../../..">Docs</a> &raquo;</li>
+    
+      
+        
+          <li>Chapter 5 - Modules &raquo;</li>
+        
+      
+        
+          <li>Console &raquo;</li>
+        
+      
+    
+    <li>console_init</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="console_init"><font color="#F2853F" style="font-size:24pt"> console_init </font><a class="headerlink" href="#console_init" title="Permanent link">&para;</a></h2>
+<pre><code class="no-highlight">   int
+   console_init(console_rx_cb rx_cb)
+</code></pre>
+
+<p>Initializes console receive buffer and calls hal funtions hal_uart_init_cbs and hal_uart_config to initialize serial port connection and configure it (e.g. baud rate, flow control etc.)</p>
+<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<table>
+<thead>
+<tr>
+<th>Arguments</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>xx</td>
+<td>explain argument xx</td>
+</tr>
+<tr>
+<td>yy</td>
+<td>explain argument yy</td>
+</tr>
+</tbody>
+</table>
+<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<p>List any values returned.
+Error codes?</p>
+<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<p>Any special feature/special benefit that we want to tout.
+Does it need to be used with some other specific functions?
+Any caveats to be careful about (e.g. high memory requirements).</p>
+<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<p>Give at least one example of usage.</p>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+            
+        </div>
+    </div>
+    <div class="copyright-logos">
+        <div class="row">
+            <div class="col-xs-6 text-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <small class="footnote">
+                MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+            </small>
+        </div>
+    </div>
+</footer>
+            </div>
+        </div>
+
+        <script src="../../../js/jquery-1.10.2.min.js"></script>
+        <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+        <script src="../../../js/highlight.pack.js"></script>
+        <script src="../../../js/base.js"></script>
+        <script src="../../../js/custom.js"></script>
+
+    </body>
+</html>
\ No newline at end of file



[7/9] incubator-mynewt-site git commit: Added nested TOC for Console. More nested TOC for other modules to come if this is successful

Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/3f895df4/mkdocs/search_index.json
----------------------------------------------------------------------
diff --git a/mkdocs/search_index.json b/mkdocs/search_index.json
index 714042d..a2ad48a 100644
--- a/mkdocs/search_index.json
+++ b/mkdocs/search_index.json
@@ -22,12 +22,7 @@
         }, 
         {
             "location": "/community/", 
-            "text": "Community\n\n\nMailing Lists\n\n\nTo subscribe to a mailing list, you simply send an email to a special subscription address. For example, to subscribe to the dev list, send an email to \ndev-subscribe@mynewt.incubator.apache.org\n.\n\n\nThe following mailing lists can be used to get help with MyNewt.", 
-            "title": "Community"
-        }, 
-        {
-            "location": "/community/#community", 
-            "text": "", 
+            "text": "Mailing Lists\n\n\nTo subscribe to a mailing list, you simply send an email to a special subscription address. For example, to subscribe to the dev list, send an email to \ndev-subscribe@mynewt.incubator.apache.org\n.\n\n\nThe following mailing lists can be used to get help with MyNewt.", 
             "title": "Community"
         }, 
         {
@@ -52,60 +47,365 @@
         }, 
         {
             "location": "/get_started/newt_concepts/#newt-concepts", 
-            "text": "This page introduces the basic terms you will need to find your way around the Mynewt ecosystem.  Basic components in the ecosystem    NewtOS is an open-source RTOS (Real Time Operating System) that works on a variety of hardware. The goal is to develop a pre-emptive, multitasking OS that is highly modular, making it possible to mix and match components to enable desired features and capabilities on multiple hardware architectures. Examples of components being worked on are the Core RTOS, a flash file system, utility functions, a variety of board support packages, packages of microcontrollers etc.    Network protocol stacks such as Bluetooth Low Energy, and more    Newt Tool helps you mix the specific packages for the combination of hardware and low-level embedded architecture features of the user's choice and generate the corresponding run-time image based on the NewtOS. It provides the infrastructure to manage and build for different CPU architectures, memory 
 units, board support packages etc., allowing a user to formulate the contents according to the low-level features needed by his or her project.    Terminology  A Mynewt user starts with a project in mind that defines the application or utility that he or she wants to implement on an embedded device. Making an LED blink on an electronics prototyping board is a common starter project. Enabling a BLE (Bluetooth Low Energy) peripheral mode on a development board is a more complex project. Specifying a project requires naming it, at the very least, and then adding the desired properties or attributes. In order to actualize a project, it needs to be applied to a target which is essentially a combination of some specified hardware and the execution environment.   In the mynewt lifecycle, a project grows in a nest. A nest may house multiple projects. The nest is, therefore, a repository where various component packages for one or more projects reside. Each package is an egg (naturally!). Ho
 wever, in the world of Mynewt an egg may consist of other eggs! For example, the starter project Blinky is an egg consisting of several constituent eggs that enable core features. The egg form is suitable for elemental units of code as it explicitly exposes characteristics such as dependencies, versions, capabilities, requirements etc., thus making assembling appropriate components for a project and building an image for it easy to follow, modular, and robust.  A nest can be given any name. For example, you will see a nest named \"tadpole\" in Mynewt ( https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-tadpole.git ). It contains all the core libraries of the operating system for the native platform which currently supports compilation on Mac OS X. The core libraries are contained in the form of eggs where an egg is a basic unit of implementation of any aspect of the RTOS. The eggs are distributed in the following directory structure inside the nest:   libs: contains the two 
 eggs  os  and  testutil  hw: contains three eggs - (i)  hal  which has the abstraction layer (HAL) API definitions that all BSP and MCU implementations must support, (ii)  /mcu/native  which in an MCU implementation for the native platform (a simulator, in this case), and (iii)  bsp/native  which is a BSP implementation for the native platform   compiler: contains the  sim  egg which bundles the compiler specifications for the native platform.   Let's explore this sample nest a bit further. The  libs/os  egg contains code for scheduler, process/thread/memory management, semaphores etc. It is the core RTOS which ports to all supported chip platforms.The  libs/testutil  egg contains code for testing packages on hardware or simulated environment. The  hw/hal  egg contains header files that provide abstraction for physical hardware components such as GPIO (general purpose input/output), network adapters, timers, and UARTs. This  hw/hal  egg is an MCU peripheral abstraction designed to m
 ake it easy to port to different MCUs (microcontrollers). The  hw/mcu/native  egg contains code for microcontroller operations on the native platform. The  hw/bsp/native  egg contains the board support package for the native platform. And finally, the sixth egg  sim  contains the compiler specifications such as path and flags. Currently the compilation is supported on Mac OS X.  You can see another nest in the mynewt ecosystem called the \"larva\". It was spawned from the skeletal \"tadpole\" nest using the newt tool. Spawning is easy -  $ newt create nest  your_nest_name . \"larva\" is the developer's test repository containing all sorts of eggs being written and incubated, including ones to enhance the core operating system which should eventually make their way into the \"tadpole\" nest. There is a  hatch_tadpole  script to update the \"tadpole\" nest when the core OS related eggs in \"larva\" are ready.  There is a third nest named \"newt\" that contains all the eggs needed to s
 upport the build and release process of mynewt software. In the future, there will also be pre-built nests for certain common hardware devices to enable a user to quickly get started with a project.  A Mynewt contributor  A contributor can choose to work on any area(s) of the Mynewt endeavor that appeals to him or her. Hence, you can work on one or more eggs or an entire nest. You can create your own nest (master) or create a branch in an existing nest. For now, Runtime contributors will review any new areas of support that you may wish to introduce e.g. a new board support package (BSP) or a new network protocol.   A contributer role necessarily implies he or she is a Mynewt user (see below) of some or all of the products developed.  A Mynewt user  An application developer is interested only in using software available in this ecosystem to build a top level build artifact. He or she may either:   Use a pre-built nest, or  Spawn a new nest using the newt tool for a target where a ta
 rget is a custom combination of supported hardware components   In either case, the user would use the newt tool to create and set the target in the chosen nest. The newt tool would then be used to build out the target profile which would determine which eggs to choose. Finally, the user would use the newt tool to generate a run-time image that can be run on the device.", 
+            "text": "This page introduces the basic terms you will need to find your way around the Mynewt ecosystem.", 
             "title": "Newt Concepts"
         }, 
         {
+            "location": "/get_started/newt_concepts/#basic-components-in-the-ecosystem", 
+            "text": "NewtOS is an open-source RTOS (Real Time Operating System) that works on a variety of hardware. The goal is to develop a pre-emptive, multitasking OS that is highly modular, making it possible to mix and match components to enable desired features and capabilities on multiple hardware architectures. Examples of components being worked on are the Core RTOS, a flash file system, utility functions, a variety of board support packages, packages of microcontrollers etc.    Network protocol stacks such as Bluetooth Low Energy, and more    Newt Tool helps you mix the specific packages for the combination of hardware and low-level embedded architecture features of the user's choice and generate the corresponding run-time image based on the NewtOS. It provides the infrastructure to manage and build for different CPU architectures, memory units, board support packages etc., allowing a user to formulate the contents according to the low-level features needed by his or her 
 project.", 
+            "title": "Basic components in the ecosystem"
+        }, 
+        {
+            "location": "/get_started/newt_concepts/#terminology", 
+            "text": "A Mynewt user starts with a project in mind that defines the application or utility that he or she wants to implement on an embedded device. Making an LED blink on an electronics prototyping board is a common starter project. Enabling a BLE (Bluetooth Low Energy) peripheral mode on a development board is a more complex project. Specifying a project requires naming it, at the very least, and then adding the desired properties or attributes. In order to actualize a project, it needs to be applied to a target which is essentially a combination of some specified hardware and the execution environment.   In the mynewt lifecycle, a project grows in a nest. A nest may house multiple projects. The nest is, therefore, a repository where various component packages for one or more projects reside. Each package is an egg (naturally!). However, in the world of Mynewt an egg may consist of other eggs! For example, the starter project Blinky is an egg consisting of several con
 stituent eggs that enable core features. The egg form is suitable for elemental units of code as it explicitly exposes characteristics such as dependencies, versions, capabilities, requirements etc., thus making assembling appropriate components for a project and building an image for it easy to follow, modular, and robust.  A nest can be given any name. For example, you will see a nest named \"tadpole\" in Mynewt ( https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-tadpole.git ). It contains all the core libraries of the operating system for the native platform which currently supports compilation on Mac OS X. The core libraries are contained in the form of eggs where an egg is a basic unit of implementation of any aspect of the RTOS. The eggs are distributed in the following directory structure inside the nest:   libs: contains the two eggs  os  and  testutil  hw: contains three eggs - (i)  hal  which has the abstraction layer (HAL) API definitions that all BSP and MCU imp
 lementations must support, (ii)  /mcu/native  which in an MCU implementation for the native platform (a simulator, in this case), and (iii)  bsp/native  which is a BSP implementation for the native platform   compiler: contains the  sim  egg which bundles the compiler specifications for the native platform.   Let's explore this sample nest a bit further. The  libs/os  egg contains code for scheduler, process/thread/memory management, semaphores etc. It is the core RTOS which ports to all supported chip platforms.The  libs/testutil  egg contains code for testing packages on hardware or simulated environment. The  hw/hal  egg contains header files that provide abstraction for physical hardware components such as GPIO (general purpose input/output), network adapters, timers, and UARTs. This  hw/hal  egg is an MCU peripheral abstraction designed to make it easy to port to different MCUs (microcontrollers). The  hw/mcu/native  egg contains code for microcontroller operations on the nativ
 e platform. The  hw/bsp/native  egg contains the board support package for the native platform. And finally, the sixth egg  sim  contains the compiler specifications such as path and flags. Currently the compilation is supported on Mac OS X.  You can see another nest in the mynewt ecosystem called the \"larva\". It was spawned from the skeletal \"tadpole\" nest using the newt tool. Spawning is easy -  $ newt create nest  your_nest_name . \"larva\" is the developer's test repository containing all sorts of eggs being written and incubated, including ones to enhance the core operating system which should eventually make their way into the \"tadpole\" nest. There is a  hatch_tadpole  script to update the \"tadpole\" nest when the core OS related eggs in \"larva\" are ready.  There is a third nest named \"newt\" that contains all the eggs needed to support the build and release process of mynewt software. In the future, there will also be pre-built nests for certain common hardware devi
 ces to enable a user to quickly get started with a project.", 
+            "title": "Terminology"
+        }, 
+        {
+            "location": "/get_started/newt_concepts/#a-mynewt-contributor", 
+            "text": "A contributor can choose to work on any area(s) of the Mynewt endeavor that appeals to him or her. Hence, you can work on one or more eggs or an entire nest. You can create your own nest (master) or create a branch in an existing nest. For now, Runtime contributors will review any new areas of support that you may wish to introduce e.g. a new board support package (BSP) or a new network protocol.   A contributer role necessarily implies he or she is a Mynewt user (see below) of some or all of the products developed.", 
+            "title": "A Mynewt contributor"
+        }, 
+        {
+            "location": "/get_started/newt_concepts/#a-mynewt-user", 
+            "text": "An application developer is interested only in using software available in this ecosystem to build a top level build artifact. He or she may either:   Use a pre-built nest, or  Spawn a new nest using the newt tool for a target where a target is a custom combination of supported hardware components   In either case, the user would use the newt tool to create and set the target in the chosen nest. The newt tool would then be used to build out the target profile which would determine which eggs to choose. Finally, the user would use the newt tool to generate a run-time image that can be run on the device.", 
+            "title": "A Mynewt user"
+        }, 
+        {
             "location": "/get_started/project1/", 
             "text": "Blinky, the First Project\n\n\nObjective\n\n\nWe will show you how you can use eggs from a nest on Mynewt to make an LED on a target board blink. We will call it \n Project Blinky\n. The goals of this tutorial are threefold:\n\n\n\n\nFirst, you will learn how to set up your environment to be ready to use Mynewt OS and newt tool. \n\n\nSecond, we will walk you through a download of eggs for building and testing \non a simulated target\n.\n\n\nThird, you will download eggs and use tools to create a runtime image for a board to make its LED blink. You have two choices here - you can \ndownload an image to SRAM\n or you can \ndownload it to flash\n.\n\n\n\n\n Time Requirement\n: Allow yourself a couple of hours for this project if you are relatively new to embedded systems and playing with development boards. Those jumpers can be pesky!\n\n\nWhat you need\n\n\n\n\nSTM32-E407 development board from Olimex. You can order it from \nhttp://www.mouser.com\n, \nhttp://www
 .digikey.com\n, and other places.\n\n\nARM-USB-TINY-H connector with JTAG interface for debugging ARM microcontrollers (comes with the ribbon cable to hook up to the board)\n\n\nUSB A-B type cable to connect the debugger to your personal computer\n\n\nPersonal Computer\n\n\n\n\nThe instructions assume the user is using a Bourne-compatible shell (e.g. bash or zsh) on your computer. The given instructions have been tested with the following releases of operating systems:\n\n\n\n\nMac: OS X Yosemite Version 10.10.5\n\n\nLinux: Ubuntu 14.10 (Utopic Unicorn)\n\n\nWindows: Windows 10\n\n\n\n\nAccess to the Apache repo\n\n\n\n\n\n\nGet an account on Apache. You do not need a committer account to view the website or clone the repository but you need it to push changes to it.\n\n\n\n\n\n\nThe latest codebase for the Mynewt OS is on the master branch at https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git\n\n\n\n\n\n\nThe latest codebase for the Newt tool is on the master branch
  at https://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git\n\n\n\n\n\n\nThe following shows how to clone a Mynewt OS code repository:\n\n\n\n\nNon Committers\n\n\n\n\n        $ git clone http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git\n\n\n\n\n\n\nCommitters\n\n\n\n\n        $ git clone https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git\n\n\n\n\nGetting your Mac Ready\n\n\nInstalling Homebrew to ease installs on OS X\n\n\n\n\nDo you have Homebrew? If not, open a terminal on your Mac and paste the following at a Terminal prompt. It will ask you for your sudo password.\n\n\n\n\n        $ ruby -e \n$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\n\n\n\n\n\nAlternatively, you can just extract (or \ngit clone\n) Homebrew and install it to \n/usr/local\n.\n\n\nInstalling Go\n\n\n\n\n\n\nThe directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory 
 hierarchy with three directories at its root:\n\n\n\n\n\n\nsrc contains Go source files organized into packages (one package per directory),\n\n\n\n\n\n\npkg contains package objects, and\n\n\n\n\n\n\nbin contains executable commands.\n\n\n\n\n\n\nThe GOPATH environment variable specifies the location of your workspace. First create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone the newt tool repository.\n\n\n\n\n\n\n        $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=`pwd`\n\n\n\n\nNote that you need to add export statements to ~/.bash_profile to export variables permanently. Don't forget to source the file for the change to go into effect.\n\n\n        $ vi ~/.bash_profile\n        $ source ~/.bash_profile\n\n\n\n\n\n\nNext you will use Homebrew to install Go. The summary message at the end of the installation should indicate that it is installed in the 
 /usr/local/Cellar/go/ directory. You will use the Go command 'install' to compile and install packages (called eggs in the Mynewt world) and dependencies. \n\n\n\n\n        $ brew install go\n        ==\n \n        ...\n        ... \n        ==\n *Summary*\n        \ud83c\udf7a  /usr/local/Cellar/go/1.5.1: 5330 files, 273M\n\n\n\n\nAlternatively, you can download the Go package directly from (https://golang.org/dl/) instead of brewing it. Install it in /usr/local directory.\n\n\nCreating local repository\n\n\n\n\nYou are ready to download the newt tool repository. You will use Go to copy the directory (currently the asf incubator directory). Be patient as it may take a minute or two. Check the directories installed.\n\n\n\n\n        $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ ls\n         bin    pkg    src\n        $ ls src\n        git-wip-us.apache.org   github.com      gopkg.in\n\n\n\n\n\n\nCheck that newt.go is in place.\n\n\n\n\n        $ 
 ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt  \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt\n\n\n\n\nBuilding the Newt tool\n\n\n\n\nYou will use Go to run the newt.go program to build the newt tool. The command used is \ngo install\n which compiles and writes the resulting executable to an output file named \nnewt\n. It installs the results along with its dependencies in $GOPATH/bin.\n\n\n\n\n        $ cd $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ go install\n        $ ls \n$GOPATH\n/bin/\n        godep       incubator-mynewt-newt.git     newt\n\n\n\n\n\n\nTry running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.\n\n\n\n\nNote: If you are going to be be modifying the newt tool itself often and wish to 
 compile the program every time you call it, you may want to store the command in a variable in your .bash_profile. So type in \nexport newt=\"go run $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt/newt/go\"\n in your .bash_profile and execute it by calling \n$newt\n at the prompt instead of \nnewt\n. Here, you use \ngo run\n which runs the compiled binary directly without producing an executable. Don't forget to reload the updated bash profile by typing \nsource ~/.bash_profile\n at the prompt! \n\n\n        $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please v
 isit\n        https://www.github.com/mynewt/documentation.\n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\n\n        Examples:\n         newt\n         newt help [\ncommand-name\n]\n           For help on \ncommand-name\n.  If not specified, print this message.\n\n\n        Available Commands:\n         version     Display the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests \n clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be sile
 nt; don't output anything.\n         -v, --verbose=false: Enable verbose output when executing commands.\n\n\n        Use \nnewt help [command]\n for more information about a command.\n\n\n\n\n\n\nWithout creating a project repository you can't do a whole lot with the Newt tool. So you'll have to wait till you have downloaded a nest to try out the tool. \n\n\n\n\nGetting the debugger ready\n\n\n\n\nBefore you start building nests and hatching eggs, you need to do one final step in the environment preparation - install gcc / libc that can produce 32-bit executables. So, first install gcc. You will see the brew steps and a final summary confirming install.\n\n\n\n\n        $ brew install gcc\n        ...\n        ...\n        ==\n Summary\n        \ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M\n\n\n\n\n\n\nARM maintains a pre-built GNU toolchain with a GCC source branch targeted at Embedded ARM Processors namely Cortex-R/Cortex-M processor families. Install the PX4 Toolch
 ain and check the version installed. Make sure that the symbolic link installed by Homebrew points to the correct version of the debugger. If not, you can either change the symbolic link using the \"ln -f -s\" command or just go ahead and try with the version it points to!\n\n\n\n\n        $ brew tap PX4/homebrew-px4\n        $ brew update\n        $ brew install gcc-arm-none-eabi-49\n        $ arm-none-eabi-gcc --version  \n        arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 224288]\n        Copyright (C) 2014 Free Software Foundation, Inc.\n        This is free software; see the source for copying conditions.  There is NO\n        warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n        $ ls -al /usr/local/bin/arm-none-eabi-gdb\n        lrwxr-xr-x  1 aditihilbert  admin  69 Sep 22 17:16 /usr/local/bin/arm-none-eabi-gdb -\n /usr/local/Cellar/gcc-arm-none-eabi-49/20150609/bin/arm-non
 e-eabi-gdb\n\n\n\n\nNote: If no version is specified, brew will install the latest version available. MynewtOS will eventually work with multiple versions available including the latest releases. However, at present we have tested only with this version and recommend it for getting started. \n\n\n\n\nYou have to install OpenOCD (Open On-Chip Debugger) which is an open-source software that will allow you to interface with the JTAG debug connector/adaptor for the Olimex board. It lets you program, debug, and test embedded target devices which, in this case, is the Olimex board. Use brew to install it. Brew adds a simlink /usr/local/bin/openocd to the openocd directory in the Cellar. For more on OpenOCD go to \nhttp://openocd.org\n.\n\n\n\n\n        $ brew install open-ocd\n        $ which openocd\n        /usr/local/bin/openocd\n        $ ls -l $(which openocd)\n        lrwxr-xr-x  1 \nuser\n  admin  36 Sep 17 16:22 /usr/local/bin/openocd -\n ../Cellar/open-ocd/0.9.0/bin/openocd\n\n\n
 \n\n\n\nProceed to the \nBuilding test code on simulator\n section.\n\n\n\n\nGetting your Ubuntu machine Ready\n\n\nInstalling some prerequisites\n\n\n\n\nInstall git, libcurl, and the Go language if you do not have them already.\n\n\n\n\n        $ sudo apt-get install git \n        $ sudo apt-get install libcurl4-gnutls-dev \n        $ sudo apt-get install golang \n\n\n\n\nCreating local repository\n\n\n\n\n\n\nThe directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory hierarchy with three directories at its root:\n\n\n\n\n\n\nsrc contains Go source files organized into packages (one package per directory),\n\n\n\n\n\n\npkg contains package objects, and\n\n\n\n\n\n\nbin contains executable commands.\n\n\n\n\n\n\n\n\n\n\nThe GOPATH environment variable specifies the location of your workspace. First create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory wh
 ere you will soon clone the newt tool repository.\n\n\n        $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=$PWD\n\n\n\n\nNote that you need to add export statements to ~/.bashrc (or equivalent) to export variables permanently.\n\n\n\n\nYou are ready to download the newt tool repository. You will use Go to copy the directory (currently the asf incubator directory). Be patient as it may take a minute or two. Check the directories installed.\n\n\n\n\n        $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ ls\n         bin    pkg    src\n        $ ls src\n        git-wip-us.apache.org   github.com      gopkg.in\n\n\n\n\n\n\nCheck that newt is in place.\n\n\n\n\n        $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt\n\n\n\n\nBuilding the newt tool\n\n\n\n\nYou
  will use Go to run the newt.go program to build the newt tool. The command used is  \ngo install\n which compiles and writes the resulting executable to an output file named \nnewt\n. It installs the results along with its dependencies in $GOPATH/bin.\n\n\n\n\n        $ cd $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ go install\n        $ ls \n$GOPATH\n/bin/\n        godep       incubator-mynewt-newt.git     newt\n\n\n\n\n\n\nTry running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.\n\n\n\n\nNote: If you are going to be be modifying the newt tool itself often and wish to compile the program every time you call it, you may want to store the command in a variable in your .bash_profile. So type in \nexport newt=\"go run $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt/newt/go\"\n in your 
 ~/.bashrc (or equivalent) and execute it by calling \n$newt\n at the prompt instead of \nnewt\n. Here, you use \ngo run\n which runs the compiled binary directly without producing an executable.   \n\n\n        $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please visit\n        https://www.github.com/mynewt/documentation.\n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\n\n        Examples:\n         newt\n         newt hel
 p [\ncommand-name\n]\n           For help on \ncommand-name\n.  If not specified, print this message.\n\n\n        Available Commands:\n         version     Display the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests \n clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be silent; don't output anything.\n         -v, --verbose=false: Enable verbose output when executing commands.\n\n\n        Use \nnewt help [command]\n for more information about a command.\n\n\n\n\n\n\nWithout creating a project repository you can't do a whole lot with the Newt tool. So you'll have to wait till you have downloaded a 
 nest to try out the tool. \n\n\n\n\nGetting the debugger ready\n\n\n\n\nBefore you start building nests and hatching eggs, you need to do one final step in the environment preparation - install gcc / libc that can produce 32-bit executables. You can install these as follows: \n\n\n\n\n        $ sudo apt-get install gcc-multilib libc6-i386\n\n\n\n\n\n\nFor the LED project on the Olimex hardware, you have to install gcc for AM 4.9.3.  This package can be installed with apt-get as documented below. The steps are explained in depth at \nhttps://launchpad.net/~terry.guo/+archive/ubuntu/gcc-arm-embedded\n.\n\n\n\n\n        $ sudo apt-get remove binutils-arm-none-eabi gcc-arm-none-eabi \n        $ sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded \n        $ sudo apt-get update \n        $ sudo apt-get install gcc-arm-none-eabi\n\n\n\n\n\n\n\n\nAnd finally, you have to install OpenOCD (Open On-Chip Debugger) which is an open-source software that will allow you to interface with the JT
 AG debug connector/adaptor for the Olimex board. It lets you program, debug, and test embedded target devices which, in this case, is the Olimex board. You have to acquire OpenOCD 0.8.0. \n\n\nIf you are running Ubuntu 15.x, then you are in luck and you can simply run: \n\n\n\n\n\n\n        $ sudo apt-get install openocd \n\n\n\n\nOther versions of Ubuntu may not have the correct version of openocd available.  In this case, you should download the openocd 0.8.0 package from \nhttps://launchpad.net/ubuntu/vivid/+source/openocd\n. The direct link to the amd64 build is \nhttp://launchpadlibrarian.net/188260097/openocd_0.8.0-4_amd64.deb\n. \n\n\n\n\nProceed to the \nBuilding test code on simulator\n section.\n\n\n\n\nGetting your Windows machine ready for simulated target\n\n\nThe \nnewt\n tool is the build software used to build Mynewt OS images or executables for any embedded hardware device/board, including the one for the current tutorial (STM32-E407 development board from Olimex). 
 You can run the \nnewt\n tool natively on a computer running any of the three Operating System machines - OSX, Linux, or Windows.\n\n\nHowever, Mynewt OS images for a simulated target are built on the Windows machine by using Linux versions of the build software (newt)in a virtual machine on your Windows box. The Linux VM is set up by installing the Docker Toolbox. Your Windows machine will communicate with the Linux VM via transient ssh connections. You will then download a Docker image (\nnewtvm.exe\n)that allows you to run the newt commands in the Linux Docker instance. The Docker image contains:\n\n\n\n\nThe newt command-line tool\n\n\nGo\n\n\nA multilib-capable native gcc / glibc\n\n\nAn arm-none-eabi gcc\n\n\nNative gdb\n\n\n\n\nThe sequence of events when using the Docker image is as follows:\n\n\n\n\nA new docker environment is created in the Linux VM.\n\n\nThe specified command with the newtvm prefix (\nnewtvm newt\n command) is sent to the docker environment via ssh.\n\n\n
 The Linux command runs.\n\n\nThe output from the command is sent back to Windows via ssh.\n\n\nThe output is displayed in the Windows command prompt.\n\n\n\n\nInstall Linux virtual machine\n\n\n\n\n\n\nDownload the Docker Toolbox for Windows (version 1.9.0c or later) from \nhttps://www.docker.com/docker-toolbox\n. The Docker toolbox creates a consistently reproducible and self-contained environment in Linux.\n\n\n\n\n\n\nRun the Docker Toolbox installer.  All the default settings are OK.\n\n\n\n\n\n\nYou may need to add \"C:\\Program Files\\Git\\usr\\bin\" to your PATH\nenvironment variable.  To add to the PATH environment variable, right-click on the Start button in the bottom left corner. Choose System -\n Advanced system settings -\n Environment Variables. Click on the PATH variable under \"System variables\" and click Edit to check and add it if it is not already there. \n\n\n\n\n\n\nInstall newtvm tool\n\n\n\n\nFrom your base user (home) directory, pull or clone the latest code
  from the newt repository into the \nnewt\n directory. It includes the executable \nnewtvm.exe\n for the newtvm tool in the \nnewtvm\n directory.\n\n\n\n\n      C:\\Users\\admin\n git clone https://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt newt\n\n\n\n\nThe newtvm tool is what allows you to run programs in the Linux docker\ninstance.  \n\n\n\n\nRun the Docker Quickstart Terminal application inside the Docker folder under Programs. You can find it by clicking Start button -\n All apps. By default, the Docker Toolbox installer creates a shortcut to this program on your desktop.  Wait until you see an ASCII art whale displayed in the terminal window and the Docker prompt given.  \n\n\n\n\n                          ##         .\n                    ## ## ##        ==\n                 ## ## ## ## ##    ===\n             /\n\\___/ ===\n        ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~\n           \\______ o           __/\n             \\    \\         __/\n              \\____\
 \_______/\n\n         docker is configured to use the default machine with IP 192.168.99.100\n         For help getting started, check out the docs at https://docs.docker.com\n\n         admin@dev1 MINGW64 ~ (master)\n         $\n\n\n\n\nThe first time you run this, it may take several minutes to complete. You will need to run the Docker Quickstart Terminal once each time you\nrestart your computer.\n\n\n\n\nOpen a command prompt (e.g., Windows-R, \"cmd\", enter). You execute the newt tool commands as though you were running newt in Linux, but you prefix each command with \"newtvm\".  For example:\n\n\n\n\n        C:\\Users\\admin\\newt\\newtvm\n newtvm newt help\n\n\n\n\nThe newtvm tool will take a long time to run the first time you execute\nit.  The delay is due to the fact that the tool must download the mynewt\ndocker instance.\n\n\n\n\nYou are now ready to proceed to \nbuilding the image for the simulated target\n.\n\n\n\n\nGetting your Windows machine ready for hardware targe
 t\n\n\nWhen you want to produce images for actual hardware board on your Windows machine, go through the following setup procedure and then proceed to the \nblinky project on the Olimex board\n with this method.\n\n\nInstalling some prerequisites\n\n\n\n\n\n\nYou have to install the following if you do not have them already.  The steps below indicate specific folders where each of these programs should be installed. You can choose different locations, but the remainder of this\ntutorial for a Windows machine assumes the specified folders.    \n\n\n\n\nwin-builds-i686\n\n\nwin-builds-x86_64\n\n\nMSYS\n\n\ngcc for ARM\n\n\nopenocd\n\n\nzadig\n\n\ngit\n\n\n\n\ngo\n\n\n\n\nwin-builds (mingw64) 1.5 for i686\n\n\n\n\nDownload from \nhttp://win-builds.org/doku.php/download_and_installation_from_windows\n. Install at: \"C:\\win-builds-i686\".\n\n\nBe sure to click the i686 option (not x86_64). The defaults for all other options are OK. The installer will want to download a bunch of addition
 al packages. They are not all necessary, but it is simplest to just accept the defaults.\n\n\n\n\nwin-builds (mingw64) 1.5 for x86_64\n\n\n\n\nDownload from \nhttp://win-builds.org/doku.php/download_and_installation_from_windows\n. Install at \"C:\\win-builds-x86_64\"\n\n\nRun the installer a second time, but this time click the x86_64 option, NOT i686.  The defaults for all other options are OK.\n\n\n\n\nMSYS\n\n\n\n\nStart your download from \nhttp://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/MSYS-20111123.zip\n\n\nUnzip to \"C:\\msys\"\n\n\n\n\ngcc for ARM, 4.9.3\n\n\n\n\nDownload the Windows installer from \nhttps://launchpad.net/gcc-arm-embedded/+download\n and install at \"C:\\Program Files (x86)\\GNU Tools ARM Embedded\\4.9 2015q3\".\n\n\n\n\nOpenOCD 0.8.0 \n\n\n\n\nDownload OpenOCD 0.8.0 from \nhttp://www.freddiechopin.info/en/download/category/4-openocd\n. Unzip to \"C:\\openocd\".\n\n\n\n\nZadig 2.1.2\n\
 n\n\n\nDownload it from \nhttp://zadig.akeo.ie\n and install it at \"C:\\zadig\".\n\n\n\n\nGit\n\n\n\n\nClick on \nhttps://git-scm.com/download/win\n to start the download. Install at \"C:\\Program Files (x86)\\Git\". Specify the \"Use Git from the Windows Command Prompt\" option.  The defaults for all other options are OK.\n\n\n\n\nGo\n\n\n\n\nDownload the release for Microsoft Windows from \nhttps://golang.org/dl/\n and install it \"C:\\Go\".\n\n\n\n\n\n\n\n\n\n\nCreating local repository\n\n\n\n\n\n\nThe directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory hierarchy with three directories at its root:\n\n\n\n\n\n\nsrc contains Go source files organized into packages (one package per directory),\n\n\n\n\n\n\npkg contains package objects, and\n\n\n\n\n\n\nbin contains executable commands.\n\n\n\n\n\n\nThe GOPATH environment variable specifies the location of your workspace. First create a 'dev' directory and the
 n a 'go' directory under it. Set the GOPATH environment variable to this directory and then proceed to create the directory for cloning the newt tool repository.\n\n\n\n\n\n\n        $ cd c:\\\n        $ mkdir dev\\go\n        $ cd dev\\go\n\n\n\n\n\n\nSet the following user environment variables using the steps outlined here.\n\n\n\n\n    * GOPATH: C:\\dev\\go\n    * PATH: C:\\Program Files (x86)\\GNU Tools ARM Embedded\\4.9 2015q3\\bin;%GOPATH%\\bin;C:\\win-builds-x86_64\\bin;C:\\win-builds-i686\\bin;C:\\msys\\bin\n\n\n\n\nSteps:\n\n\n\n\nRight-click the start button\n\n\nClick \"Control panel\"\n\n\nClick \"System and Security\"\n\n\nClick \"System\"\n\n\nClick \"Advanced system settings\" in the left panel\n\n\nClick the \"Envoronment Variables...\" button\n\n\nThere will be two sets of environment variables: user variables\n      in the upper half of the screen, and system variables in the lower\n      half.  Configuring the user variables is recommended and tested \n      (tho
 ugh system variables will work as well).\n\n\n\n\n\n\nNext, install godep. Note that the following command produces no output.\n\n\n\n\n        $ go get github.com/tools/godep \n\n\n\n\n\n\nSet up the repository for the package building tool \"newt\" on your local machine. First create the appropriate directory for it and then clone the newt tool repository from the online apache repository (or its github.com mirror) into this newly created directory. Check the contents of the directory.\n\n\n\n\n        $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ dir \n         bin    pkg    src\n        $ dir src\n        git-wip-us.apache.org   github.com      gopkg.in\n        $ dir\n        newt\n        $ cd newt\n        $ dir\n        Godeps                  README.md               coding_style.txt        newt.go\n        LICENSE                 cli                     design.txt\n\n\n\n\n\n\nCheck that newt is in place.\n\n\n\n\n        $ dir $GOPATH\\
 src\\git-wip-us.apache.org\\repos\\asf\\incubator-mynewt-newt.git\\newt \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt\n\n\n\n\nBuilding the newt tool\n\n\n\n\nYou will use Go to run the newt.go program to build the newt tool. The command used is  \ngo install\n which compiles and writes the resulting executable to an output file named \nnewt\n. It installs the results along with its dependencies in $GOPATH/bin.\n\n\n\n\n        $ go install\n        $ ls \n$GOPATH\n/bin/\n        godep       incubator-mynewt-newt.git     newt\n\n\n\n\n\n\nTry running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.\n\n\n\n\nNote: If you are going to be be modifying the newt tool itself often and wish to compile the program every time you call it, you may want to define the newt environment variabl
 e that allows you to execute the command via \n%newt%\n. Use \nset newt=go run %GOPATH%\\src\\github.com\\mynewt\\newt\\newt.go\n or set it from the GUI. Here, you use \ngo run\n which runs the compiled binary directly without producing an executable.\n\n\n        $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please visit\n        https://www.github.com/mynewt/documentation.\n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\
 n\n        Examples:\n         newt\n         newt help [\ncommand-name\n]\n           For help on \ncommand-name\n.  If not specified, print this message.\n\n\n        Available Commands:\n         version     Display the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests \n clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be silent; don't output anything.\n         -v, --verbose=false: Enable verbose output when executing commands.\n\n\n        Use \nnewt help [command]\n for more information about a command.\n\n\n\n\n\n\nWithout creating a project repository you can't do a whole lot with the Newt to
 ol. So you'll have to wait till you have downloaded a nest to try out the tool. \n\n\n\n\nGetting the debugger ready\n\n\n\n\nUse Zadig to configure the USB driver for your Olimex debugger.  If your debugger is already set up, you can skip this step.\n\n\n\n\n\n\nPlug in your Olimex debugger.\n\n\nStart Zadig.\n\n\nCheck the Options -\n List All Devices checkbox.    \n\n\nSelect \"Olimex OpenOCD JTAG ARM-USB-TINY-H\" in the dropdown menu.\n\n\nSelect the \"WinUSB\" driver.\n\n\nClick the \"Install Driver\" button.\n\n\n\n\n\n\nProceed to the section on how to \nmake an LED blink\n section.\n\n\n\n\nBuilding test code on simulator\n\n\nNote: On a Windows computer, the simulator can be run only in a Linux virtual environment. Make sure you have installed the Docker instance as outlined in \nan earlier section\n. Consequently, all \nnewt\n commands must be prefaced with \nnewtvm\n.\n\n\n\n\n\n\nFirst, you have to create a repository for the project i.e. build your first nest! Go to ~/d
 ev (or your base user directory on a Windows machine)and clone the larva repository from the apache git repository into a local directory named \nlarva\n.\n\n\nSubstitute DOS commands for Unix commands as necessary in the following steps if your machine is running Windows. The newt tool commands do not change.\n\n\n\n\n\n\n        $ cd ~/dev \n        $ git clone https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git larva\n        $ ls\n        go  larva\n        $ cd larva\n        $ ls\n        LICENSE     clutch.yml  hw      nest.yml      project\n        README.md   compiler    libs        net       scripts\n\n\n\n\nOn Windows, open a command prompt (e.g., Windows-R, \"cmd\", enter) and work from your home directory:\n\n\n        C:\\Users\\admin\n git clone https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git larva\n        C:\\Users\\admin\n cd larva\n        C:\\Users\\admin\\larva\n dir\n        Volume in drive C is Windows\n        Volume Serial N
 umber is 4CBB-0920\n\n        Directory of C:\\Users\\admin\\larva\n\n        \nDIR\n          .\n        \nDIR\n          ..\n                    76 .gitignore\n                     0 .gitmodules\n                       .nest\n                 6,133 clutch.yml\n        \nDIR\n          compiler\n        \nDIR\n          hw\n        \nDIR\n          libs\n                11,560 LICENSE\n                    20 nest.yml\n        \nDIR\n          net\n        \nDIR\n          project\n                 2,263 README.md\n        \nDIR\n          scripts\n        6 File(s)         20,052 bytes\n        9 Dir(s)  90,723,442,688 bytes free\n\n\n\n\n2.  You will now create a new target using the newt tool. You can either use the compiled binary \nnewt\n or run the newt.go program using \n$newt\n (assuming you have stored the command in a variable in your .bash_profile or .bashrc). When you do a \nnewt target show\n or \n$newt target show\n it should list all the projects you have created so f
 ar. \n\n\n        $ newt target create sim_test\n        Creating target sim_test\n        Target sim_test sucessfully created!\n        $ newt target show\n        sim_test\n            name: sim_test\n            arch: sim\n\n\n\n\nRemember, on a Windows machine you will have to preface \nnewt\n with \nnewtvm\n!\n\n\n        C:\\Users\\admin\\larva\nnewtvm newt target create sim_test\n\n\n\n\n3. Now continue to populate and build out the sim project.\n\n\n        $ newt target set sim_test project=test\n        Target sim_test successfully set project to test\n        $ newt target set sim_test compiler_def=debug\n        Target sim_test successfully set compiler_def to debug\n        $ newt target set sim_test bsp=hw/bsp/native\n        Target sim_test successfully set bsp to hw/bsp/native\n        $ newt target set sim_test compiler=sim\n        Target sim_test successfully set compiler to sim\n        $ newt target show sim_test\n        sim_test\n            arch: sim\n       
      project: test\n            compiler_def: debug\n            bsp: hw/bsp/native\n            compiler: sim\n            name: sim_test\n\n\n\n\nAgain remember to preface \nnewt\n with \nnewtvm\non a Windows machine as shown below. Continue to fill out all the project attributes.\n\n\n        C:\\Users\\admin\\larva\nnewtvm newt target set sim_test project=test\n        Target sim_test successfully set project to test\n\n\n\n\n4. Configure newt to use the gnu build tools native to OS X or linux. In order for sim to work properly, it needs to be using 32-bit gcc (gcc-5). Replace \n~/dev/larva/compiler/sim/compiler.yml with the compiler/sim/osx-compiler.yml or linux-compiler.yml file, depending on the system. On a Windows machine follow the instruction for the Linux machine as you are running commands in a Linux VM.\n\n\nFor a Mac OS X environment:\n\n\n        $ cp compiler/sim/osx-compiler.yml compiler/sim/compiler.yml \n\n\n\n\nFor a Linux machine:\n\n\n        $ cp compiler/sim
 /linux-compiler.yml compiler/sim/compiler.yml\n\n\n\n\n5. Next, create (hatch!) the eggs for this project using the newt tool - basically, build the packages for it. You can specify the VERBOSE option if you want to see the gory details. Always remember to preface \nnewt\n with \nnewtvm\non a Windows machine.\n\n\n        $ newt target build sim_test\n        Successfully run!\n\n\n\n\nYou can specify the VERBOSE option if you want to see the gory details.\n\n\n        $newt -l VERBOSE target build sim_test\n        2015/09/29 09:46:12 [INFO] Building project test\n        2015/09/29 09:46:12 [INFO] Loading Package /Users/aditihilbert/dev/larva/libs//bootutil...\n        2015/09/29 09:46:12 [INFO] Loading Package /Users/aditihilbert/dev/larva/libs//cmsis-core...\n        2015/09/29 09:46:12 [INFO] Loading Package /Users/aditihilbert/dev/larva/libs//ffs..\n        ...\n        Successfully run!\n\n\n\n\n6. Try running the test suite executable inside this project and enjoy your first
  successful hatch.\n\n\n        $ newt ./project/test/bin/sim_test/test.elf\n        [pass] os_mempool_test_suite/os_mempool_test_case\n        [pass] os_mutex_test_suite/os_mutex_test_basic\n        [pass] os_mutex_test_suite/os_mutex_test_case_1\n        [pass] os_mutex_test_suite/os_mutex_test_case_2\n        [pass] os_sem_test_suite/os_sem_test_basic\n        [pass] os_sem_test_suite/os_sem_test_case_1\n        [pass] os_sem_test_suite/os_sem_test_case_2\n        [pass] os_sem_test_suite/os_sem_test_case_3\n        [pass] os_sem_test_suite/os_sem_test_case_4\n        [pass] os_mbuf_test_suite/os_mbuf_test_case_1\n        [pass] os_mbuf_test_suite/os_mbuf_test_case_2\n        [pass] os_mbuf_test_suite/os_mbuf_test_case_3\n        [pass] gen_1_1/ffs_test_unlink\n        [pass] gen_1_1/ffs_test_rename\n        [pass] gen_1_1/ffs_test_truncate\n        [pass] gen_1_1/ffs_test_append\n        [pass] gen_1_1/ffs_test_read\n        [pass] gen_1_1/ffs_test_overwrite_one\n        [pass] 
 gen_1_1/ffs_test_overwrite_two\n        [pass] gen_1_1/ffs_test_overwrite_three\n        ...\n        ...\n        [pass] boot_test_main/boot_test_vb_ns_11\n\n\n\n\nUsing SRAM to make LED blink\n\n\nYou are here because you want to build an image to be run from internal SRAM on the Olimex board.\n\n\nPreparing the Software\n\n\n\n\n\n\nMake sure the PATH environment variable includes the $HOME/dev/go/bin directory (or C:\\%GOPATH%\\bin on Windows machine). \n\n\nSubstitute DOS commands for Unix commands as necessary in the following steps if your machine is running Windows (e.g. \ncd dev\\go\n instead of \ncd dev/go\n). The newt tool commands do not change.\n\n\n\n\n\n\nIf you have cloned the larva repository for the simulator test in the previous section you can skip this step. Otherwise, you have to create a repository for the project i.e. build your first nest! Go to ~/dev and clone the larva repository from the apache git repository into a local directory named \nlarva\n.\n\n\nS
 ubstitute DOS commands for Unix commands as necessary in the following steps if your machine is running Windows. The newt tool commands do not change.\n\n\n\n\n\n\n        $ cd ~/dev \n        $ git clone https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git larva\n        $ ls\n        go  larva\n        $ cd larva\n        $ ls\n        LICENSE     clutch.yml  hw      nest.yml      project\n        README.md   compiler    libs        net       scripts\n\n\n\n\n\n\n\n\nYou first have to create a repository for the project. Go to the ~dev/larva directory and build out a second project inside larva. The project name is \"blinky\", in keeping with the objective. Starting with the target name, you have to specify the different aspects of the project to pull the appropriate eggs and build the right package for the board. In this case that means setting the architecture (arch), compiler, board support package (bsp), project, and compiler mode.\n\n\nRemember to prefix each co
 mmand with \"newtvm\" if you are executing the newt command in a Linux virtual machine on your Windows box!\n\n\n\n\n\n\n        $ newt target create blinky\n        Creating target blinky\n        Target blinky sucessfully created!\n        $ newt target set blinky arch=cortex_m4\n        Target blinky successfully set arch to arm\n        $ newt target set blinky compiler=arm-none-eabi-m4\n        Target blinky successfully set compiler to arm-none-eabi-m4\n        $ newt target set blinky project=blinky\n        Target blinky successfully set project to blinky\n        $ newt target set blinky compiler_def=debug\n        Target blinky successfully set compiler_def to debug\n        $ newt target set blinky bsp=hw/bsp/olimex_stm32-e407_devboard\n        Target blinky successfully set bsp to hw/bsp/olimex_stm32-e407_devboard\n        $ newt target show blinky\n        blinky\n            compiler: arm-none-eabi-m4\n            project: blinky\n            compiler_def: debug\n     
        bsp: hw/bsp/olimex_stm32-e407_devboard\n            name: blinky\n            arch: cortex_m4\n\n\n\n\n\n\n\n\nNow you have to build the image. The linker script within the \nhw/bsp/olimex_stm32-e407_devboard\n egg builds an image for flash memory by default. Since you want an image for the SRAM, you need to switch that script with \nrun_from_sram.ld\n in order to get the egg to produce an image for SRAM. \n We are working on making it easier to specify where the executable will be run from for a particular project and automatically choose the correct linker scripts and generate the appropriate image. It will be specified as a project identity e.g. bootloader, RAM, flash (default) and the target will build accordingly. \n. \n\n\nOnce the target is built, you can find the executable \"blinky.elf\" in the project directory at ~/dev/larva/project/blinky/bin/blinky. It's a good idea to take a little time to understand the directory structure.\n\n\n\n\n\n\n        $ cd ~/dev/larva
 /hw/bsp/olimex_stm32-e407_devboard\n        $ diff olimex_stm32-e407_devboard.ld run_from_sram.ld\n        $ cp run_from_sram.ld olimex_stm32-e407_devboard.ld\n        $ cd ~/dev/larva/project/blinky/bin/blinky\n        $ newt target build blinky\n        Building target blinky (project = blinky)\n        Compiling case.c\n        Compiling suite.c\n        ...\n        Successfully run!\n        $ ls\n        LICENSE     clutch.yml  hw      nest.yml    project\n        README.md   compiler    libs        net     scripts\n        $ cd project\n        $ ls\n        bin2img     bletest     blinky      boot        ffs2native  test\n        $ cd blinky\n        $ ls\n        bin     blinky.yml  egg.yml     src\n        $ cd bin\n        $ ls\n        blinky\n        $ cd blinky\n        $ ls\n        blinky.elf  blinky.elf.bin  blinky.elf.cmd  blinky.elf.lst  blinky.elf.map\n\n\n\n\n\n\n\n\nCheck that you have all the scripts needed to get OpenOCD up and talking with the project's spec
 ific hardware. Depending on your system (Ubuntu, Windows) you may already have the scripts in your \n/usr/share/openocd/scripts/\n directory as they may have been part of the openocd download. If yes, you are all set and can proceed to preparing the hardware.\n\n\nOtherwise check the \n~/dev/larva/hw/bsp/olimex_stm32-e407_devboard\n directory for a file named \nf407.cfg\n. That is the config we will use to talk to this specific hardware using OpenOCD. You are all set if you see it.\n\n\n\n\n\n\n        $ ls ~/dev/larva/hw/bsp/olimex_stm32-e407_devboard\n        bin                 olimex_stm32-e407_devboard_debug.sh\n        boot-olimex_stm32-e407_devboard.ld  olimex_stm32-e407_devboard_download.sh\n        egg.yml                 run_from_flash.ld\n        f407.cfg                run_from_loader.ld\n        include                 run_from_sram.ld\n        olimex_stm32-e407_devboard.ld       src\n\n\n\n\nPreparing the hardware to boot from embedded SRAM\n\n\n\n\n\n\nLocate the boot
  jumpers on the board.\n\n\n\n\n\n\n\n\n\nB1_1/B1_0 and B0_1/B0_0 are PTH jumpers which can be moved relatively easy. Note that the markings on the board may not always be accurate. Always refer to the manual for the correct positioning of jumpers in case of doubt. The two jumpers must always be moved together \u2013 they are responsible for the boot mode if bootloader is present. The board can search for bootloader on three places \u2013 User Flash Memory, System Memory or the Embedded SRAM. We will configure it to boot from SRAM by jumpering B0_1 and B1_1.\n\n\n\n\n\n\nConnect USB-OTG#2 in the picture above to a USB port on your computer (or a powered USB hub to make sure there is enough power available to the board). \n\n\n\n\n\n\nThe red PWR LED should be lit. \n\n\n\n\n\n\nConnect the JTAG connector to the SWD/JTAG interface on the board. The other end of the cable should be connected to the USB port or hub of your computer.\n\n\n\n\n\n\nLet's Go!\n\n\n\n\nMake sure you are in 
 the blinky project directory with the blinky.elf executable. Run the debug command in the newt tool. You should see some status messages are shown below. There is an inbuilt \n-c \"reset halt\"\n flag that tells it to halt after opening the session.\n\n\n\n\n        $ cd dev/larva/project/blinky/bin/blinky\n        $ newt target debug blinky\n        Debugging with /Users/aditihilbert/dev/larva/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh blinky\n        Debugging /Users/aditihilbert/dev/larva/project/blinky/bin/blinky/blinky.elf\n        GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs\n        Copyright (C) 2014 Free Software Foundation, Inc.\n        License GPLv3+: GNU GPL version 3 or later \nhttp://gnu.org/licenses/gpl.html\n\n        This is free software: you are free to change and redistribute it.\n        There is NO WARRANTY, to the extent permitted by law.  Type \nshow copying\n\n        and \nshow warranty\n for details.\n     
    This GDB was configured as \n--host=x86_64-apple-darwin10 --target=arm-none-eabi\n.\n        Type \nshow configuration\n for configuration details.\n        For bug reporting instructions, please see:\n        \nhttp://www.gnu.org/software/gdb/bugs/\n.\n        Find the GDB manual and other documentation resources online at:\n        \nhttp://www.gnu.org/software/gdb/documentation/\n.\n        For help, type \nhelp\n.\n        Type \napropos word\n to search for commands related to \nword\n...\n        Reading symbols from /Users/aditihilbert/dev/larva/project/blinky/bin/        blinky/blinky.elf...done.\n        Open On-Chip Debugger 0.8.0 (2015-09-22-18:21)\n        Licensed under GNU GPL v2\n        For bug reports, read\n            http://openocd.sourceforge.net/doc/doxygen/bugs.html\n        Info : only one transport option; autoselect 'jtag'\n        adapter speed: 1000 kHz\n        adapter_nsrst_delay: 100\n        jtag_ntrst_delay: 100\n        Warn : target name is depr
 ecated use: 'cortex_m'\n        DEPRECATED! use 'cortex_m' not 'cortex_m3'\n        cortex_m reset_config sysresetreq\n        Info : clock speed 1000 kHz\n        Info : JTAG tap: stm32f4x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)\n        Info : JTAG tap: stm32f4x.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)\n        Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints\n        Info : JTAG tap: stm32f4x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)\n        Info : JTAG tap: stm32f4x.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)\n        target state: halted\n        target halted due to debug-request, current mode: Thread \n        xPSR: 0x01000000 pc: 0x20000250 msp: 0x10010000\n        Info : accepting 'gdb' connection from 3333\n        Info : device id = 0x10036413\n        Info : flash size = 1024kbytes\n        Reset_Handler () at startup_STM32F40x.s:199\n        199 
     ldr    r1, =__etext\n\n\n\n\nCheck the value of the msp (main service pointer) register. If it is not 0x10010000 as indicated above, you will have to manually set it after you open the gdp tool and load the image on it. \n\n\n        (gdb) set $msp=0x10010000\n\n\n\n\nNow load the image and type \"c\" or \"continue\" from the GNU debugger. \n\n\n        (gdb) load ~/dev/larva/project/blinky/bin/blinky/blinky.elf\n        Loading section .text, size 0x4294 lma 0x20000000\n        Loading section .ARM.extab, size 0x24 lma 0x20004294\n        Loading section .ARM.exidx, size 0xd8 lma 0x200042b8\n        Loading section .data, size 0x874 lma 0x20004390\n        Start address 0x20000250, load size 19460\n        Transfer rate: 81 KB/sec, 2432 bytes/write.\n        (gdb) c\n        Continuing.\n\n\n\n\n\n\nVoil\u00e0! The board's LED should be blinking at 1 Hz.\n\n\n\n\nUsing flash to make LED blink\n\n\nYou are here because you want to build an image to be run from flash memory on th
 e Olimex board.\n\n\n\n\nConfigure the board to boot from flash by moving the two jumpers together to B0_0 and B1_0. Refer to the pictures of the board under the section titled \n\"Preparing the hardware to boot from embedded SRAM\"\n.\n\n\n\n\nYou will have to reset the board once the image is uploaded to it.\n\n\n\n\nIf you skipped the first option for the project \n(downloading an image to SRAM)\n, then skip this step. Otherwise, continue with this step. \n\n\n\n\nBy default, the linker script (\nolimex_stm32-e407_devboard.ld\n) is configured to run from bootloader and flash. However, if you first ran the image from SRAM you had changed \nolimex_stm32-e407_devboard.ld\n to match \nrun_from_sram.ld\n. You will therefore return to defaults with \nolimex_stm32-e407_devboard.ld\n linker script matching the contents of 'run_from_loader.ld'. Return to the project directory.\n\n\n        $ cd ~/dev/larva/hw/bsp/olimex_stm32-e407_devboard\n        $ diff olimex_stm32-e407_devboard.ld run
 _from_sram.ld\n        $ diff olimex_stm32-e407_devboard.ld run_from_loader.ld\n        $ cp run_from_loader.ld olimex_stm32-e407_devboard.ld\n        $ cd ~/dev/larva/project/blinky/bin/blinky\n\n\n\n\n\n\nIn order to run the image from flash, you need to build the bootloader as well. The bootloader does the initial bring up of the Olimex board and then transfers control to the image stored at a location in flash known to it. The bootloader in turn requires the bin2image tool to check the image header for version information, CRC checks etc. So, we will need to build these two additional targets (bootloader and bin2img).\n\n\n\n\nLet's first create bin2img:\n\n\n        $ newt target create bin2img\n        Creating target bin2img\n        Target bin2img successfully created!\n        $ newt target set bin2img arch=sim\n        Target bin2img successfully set arch to sim\n        $ newt target set bin2img compiler=sim\n        Target bin2img successfully set compiler to sim\n      
   $ newt target set bin2img project=bin2img\n        Target bin2img successfully set project to bin2img\n        $ newt target set bin2img compiler_def=debug\n        Target bin2img successfully set compiler_def to debug\n        $ newt target set bin2img bsp=hw/bsp/native\n        Target bin2img successfully set bsp to hw/bsp/native\n        $ newt target show bin2img\n        bin2img\n            arch: sim\n            compiler: sim\n            project: bin2img\n            compiler_def: debug\n            bsp: hw/bsp/native\n            name: bin2img\n\n\n\n\nAnd then let's create boot_olimex:\n\n\n        $ newt target create boot_olimex\n        Creating target boot_olimex\n        Target boot_olimex successfully created!\n        $ newt target set boot_olimex arch=cortex_m4\n        Target boot_olimex successfully set arch to cortex_m4\n        $ newt target set boot_olimex compiler=arm-none-eabi-m4\n        Target boot_olimex successfully set compiler to arm-none-eabi-m4\n  
       $ newt target set boot_olimex project=boot\n        Target boot_olimex successfully set project to boot\n        $ newt target set boot_olimex compiler_def=optimized\n        Target boot_olimex successfully set compiler_def to optimized\n        $ newt target set boot_olimex bsp=hw/bsp/olimex_stm32-e407_devboard\n        Target boot_olimex successfully set bsp to hw/bsp/olimex_stm32-e407_devboard\n        $ newt target show boot_olimex\n        boot_olimex\n            project: boot\n            compiler_def: optimized\n            bsp: hw/bsp/olimex_stm32-e407_devboard\n            name: boot_olimex\n            arch: cortex_m4\n            compiler: arm-none-eabi-m4\n\n\n\n\n\n\nLet's build all the three targets now.\n\n\n\n\n        $ newt target build bin2img\n        Building target bin2img (project = bin2img)\n        Building project bin2img\n        Successfully run!\n        $ newt target build boot_olimex\n        Building target boot_olimex (project = boot)\n       
  Building project boot\n        Successfully run!\n        $ newt target build blinky\n        Building target blinky (project = blinky)\n        Building project blinky\n        Successfully run!\n\n\n\n\n\n\nGo to the project directory and download the bootloader and the image to flash ... in a flash! \n\n\n\n\n        $ cd ~/dev/larva/project/blinky/bin/blinky\n        $ newt target download boot_olimex\n        Downloading with ~/dev/larva/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_download.sh\n        $ newt target download blinky\n        Downloading with ~/dev/larva/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_download.sh\n\n\n\n\n\n\n\n\nThe LED should be blinking!\n\n\n\n\n\n\nBut wait...let's double check that it is indeed booting from flash and making the LED blink from the image in flash. Pull the USB cable off the Olimex JTAG adaptor. The debug connection to the JTAG port is now severed. Next power off the Olimex board by pulling out th
 e USB cable from the board. Wait for a couple of seconds and plug the USB cable back to the board. \n\n\n\n\n\n\nThe LED light will start blinking again. Success!\n\n\nNote #1: If you want to download the image to flash and a gdb session opened up, use \nnewt target debug blinky\n instead of \nnewt target download blinky\n.\n\n\n        $ newt target debug blinky\n        Debugging with ~/dev/larva/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh blinky\n        Debugging ~/dev/larva/project/blinky/bin/blinky/blinky.elf\n        GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs\n        Copyright (C) 2014 Free Software Foundation, Inc.\n        License GPLv3+: GNU GPL version 3 or later \nhttp://gnu.org/licenses/gpl.html\n\n        This is free software: you are free to change and redistribute it.\n        There is NO WARRANTY, to the extent permitted by law.  Type \nshow copying\n\n        and \nshow warranty\n for details.\n        This GDB wa
 s configured as \n--host=x86_64-apple-darwin10 --target=arm-none-eabi\n.\n        Type \nshow configuration\n for configuration details.\n        For bug reporting instructions, please see:\n        \nhttp://www.gnu.org/software/gdb/bugs/\n.\n        Find the GDB manual and other documentation resources online at:\n        \nhttp://www.gnu.org/software/gdb/documentation/\n.\n        For help, type \nhelp\n.\n        Type \napropos word\n to search for commands related to \nword\n...\n        Reading symbols from /Users/aditihilbert/dev/larva/project/blinky/bin/blinky/blinky.elf...done.\n        Open On-Chip Debugger 0.8.0 (2015-09-22-18:21)\n        Licensed under GNU GPL v2\n        For bug reports, read\n            http://openocd.sourceforge.net/doc/doxygen/bugs.html\n        Info : only one transport option; autoselect 'jtag'\n        adapter speed: 1000 kHz\n        adapter_nsrst_delay: 100\n        jtag_ntrst_delay: 100\n        Warn : target name is deprecated use: 'cortex_m'
 \n        DEPRECATED! use 'cortex_m' not 'cortex_m3'\n        cortex_m reset_config sysresetreq\n        Info : clock speed 1000 kHz\n        Info : JTAG tap: stm32f4x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)\n        Info : JTAG tap: stm32f4x.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)\n        Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints\n        Info : JTAG tap: stm32f4x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)\n        Info : JTAG tap: stm32f4x.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)\n        target state: halted\n        target halted due to debug-request, current mode: Thread \n        xPSR: 0x01000000 pc: 0x08000250 msp: 0x10010000\n        Info : accepting 'gdb' connection from 3333\n        Info : device id = 0x10036413\n        Info : flash size = 1024kbytes\n        Reset_Handler () at startup_STM32F40x.s:199\n        199     ldr    r1, =__etex
 t\n        (gdb)\n\n\n\n\nNote #2: If you want to erase the flash and load the image again you may use the following commands from within gdb. \nflash erase_sector 0 0 x\n tells it to erase sectors 0 through x. When you ask it to display (in hex notation) the contents of the sector starting at location 'lma' you should therefore see all f's. The memory location 0x8000000 is the start or origin of the flash memory contents and is specified in the olimex_stm32-e407_devboard.ld linker script. The flash memory locations is specific to the processor.\n\n\n        (gdb) monitor flash erase_sector 0 0 4\n        erased sectors 0 through 4 on flash bank 0 in 2.296712s\n        (gdb) monitor mdw 0x08000000 16\n        0x08000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff \n        (0x08000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff \n        (0x08000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff \n  
       (0x08000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff         \n        (gdb) monitor flash info 0", 
             "title": "Blinky, The First Project"
         }, 
         {
             "location": "/get_started/project1/#blinky-the-first-project", 
-            "text": "Objective  We will show you how you can use eggs from a nest on Mynewt to make an LED on a target board blink. We will call it   Project Blinky . The goals of this tutorial are threefold:   First, you will learn how to set up your environment to be ready to use Mynewt OS and newt tool.   Second, we will walk you through a download of eggs for building and testing  on a simulated target .  Third, you will download eggs and use tools to create a runtime image for a board to make its LED blink. You have two choices here - you can  download an image to SRAM  or you can  download it to flash .    Time Requirement : Allow yourself a couple of hours for this project if you are relatively new to embedded systems and playing with development boards. Those jumpers can be pesky!  What you need   STM32-E407 development board from Olimex. You can order it from  http://www.mouser.com ,  http://www.digikey.com , and other places.  ARM-USB-TINY-H connector with JTAG interface f
 or debugging ARM microcontrollers (comes with the ribbon cable to hook up to the board)  USB A-B type cable to connect the debugger to your personal computer  Personal Computer   The instructions assume the user is using a Bourne-compatible shell (e.g. bash or zsh) on your computer. The given instructions have been tested with the following releases of operating systems:   Mac: OS X Yosemite Version 10.10.5  Linux: Ubuntu 14.10 (Utopic Unicorn)  Windows: Windows 10   Access to the Apache repo    Get an account on Apache. You do not need a committer account to view the website or clone the repository but you need it to push changes to it.    The latest codebase for the Mynewt OS is on the master branch at https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git    The latest codebase for the Newt tool is on the master branch at https://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git    The following shows how to clone a Mynewt OS code repository:   Non Committers 
           $ git clone http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git   Committers           $ git clone https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git  Getting your Mac Ready  Installing Homebrew to ease installs on OS X   Do you have Homebrew? If not, open a terminal on your Mac and paste the following at a Terminal prompt. It will ask you for your sudo password.           $ ruby -e  $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)   Alternatively, you can just extract (or  git clone ) Homebrew and install it to  /usr/local .  Installing Go    The directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory hierarchy with three directories at its root:    src contains Go source files organized into packages (one package per directory),    pkg contains package objects, and    bin contains executable commands.    The GOPATH environment variable specifie
 s the location of your workspace. First create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone the newt tool repository.            $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=`pwd`  Note that you need to add export statements to ~/.bash_profile to export variables permanently. Don't forget to source the file for the change to go into effect.          $ vi ~/.bash_profile\n        $ source ~/.bash_profile   Next you will use Homebrew to install Go. The summary message at the end of the installation should indicate that it is installed in the /usr/local/Cellar/go/ directory. You will use the Go command 'install' to compile and install packages (called eggs in the Mynewt world) and dependencies.            $ brew install go\n        ==  \n        ...\n        ... \n        ==  *Summary*\n        \ud83c\udf7a  /usr/local/Cellar/go/1.5.1: 5330 files, 273M  Alte
 rnatively, you can download the Go package directly from (https://golang.org/dl/) instead of brewing it. Install it in /usr/local directory.  Creating local repository   You are ready to download the newt tool repository. You will use Go to copy the directory (currently the asf incubator directory). Be patient as it may take a minute or two. Check the directories installed.           $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ ls\n         bin    pkg    src\n        $ ls src\n        git-wip-us.apache.org   github.com      gopkg.in   Check that newt.go is in place.           $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt  \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt  Building the Newt tool   You will use Go to run the newt.go program to build the newt tool. The command used is  go install  which compiles and writes the resulting executa
 ble to an output file named  newt . It installs the results along with its dependencies in $GOPATH/bin.           $ cd $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ go install\n        $ ls  $GOPATH /bin/\n        godep       incubator-mynewt-newt.git     newt   Try running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.   Note: If you are going to be be modifying the newt tool itself often and wish to compile the program every time you call it, you may want to store the command in a variable in your .bash_profile. So type in  export newt=\"go run $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt/newt/go\"  in your .bash_profile and execute it by calling  $newt  at the prompt instead of  newt . Here, you use  go run  which runs the compiled binary directly without producing an executable. D
 on't forget to reload the updated bash profile by typing  source ~/.bash_profile  at the prompt!           $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please visit\n        https://www.github.com/mynewt/documentation.\n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\n\n        Examples:\n         newt\n         newt help [ command-name ]\n           For help on  command-name .  If not specified, print this message.\n\n\n 
        Available Commands:\n         version     Display the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests   clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel= WARN : Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be silent; don't output anything.\n         -v, --verbose=false: Enable verbose output when executing commands.\n\n\n        Use  newt help [command]  for more information about a command.   Without creating a project repository you can't do a whole lot with the Newt tool. So you'll have to wait till you have downloaded a nest to try out the tool.    Getting the debugger ready   Before you start building nests and hatching eggs, you need to do 
 one final step in the environment preparation - install gcc / libc that can produce 32-bit executables. So, first install gcc. You will see the brew steps and a final summary confirming install.           $ brew install gcc\n        ...\n        ...\n        ==  Summary\n        \ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M   ARM maintains a pre-built GNU toolchain with a GCC source branch targeted at Embedded ARM Processors namely Cortex-R/Cortex-M processor families. Install the PX4 Toolchain and check the version installed. Make sure that the symbolic link installed by Homebrew points to the correct version of the debugger. If not, you can either change the symbolic link using the \"ln -f -s\" command or just go ahead and try with the version it points to!           $ brew tap PX4/homebrew-px4\n        $ brew update\n        $ brew install gcc-arm-none-eabi-49\n        $ arm-none-eabi-gcc --version  \n        arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors)
  4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 224288]\n        Copyright (C) 2014 Free Software Foundation, Inc.\n        This is free software; see the source for copying conditions.  There is NO\n        warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n        $ ls -al /usr/local/bin/arm-none-eabi-gdb\n        lrwxr-xr-x  1 aditihilbert  admin  69 Sep 22 17:16 /usr/local/bin/arm-none-eabi-gdb -  /usr/local/Cellar/gcc-arm-none-eabi-49/20150609/bin/arm-none-eabi-gdb  Note: If no version is specified, brew will install the latest version available. MynewtOS will eventually work with multiple versions available including the latest releases. However, at present we have tested only with this version and recommend it for getting started.    You have to install OpenOCD (Open On-Chip Debugger) which is an open-source software that will allow you to interface with the JTAG debug connector/adaptor for the Olimex board. It lets you program, debug, an
 d test embedded target devices which, in this case, is the Olimex board. Use brew to install it. Brew adds a simlink /usr/local/bin/openocd to the openocd directory in the Cellar. For more on OpenOCD go to  http://openocd.org .           $ brew install open-ocd\n        $ which openocd\n        /usr/local/bin/openocd\n        $ ls -l $(which openocd)\n        lrwxr-xr-x  1  user   admin  36 Sep 17 16:22 /usr/local/bin/openocd -  ../Cellar/open-ocd/0.9.0/bin/openocd   Proceed to the  Building test code on simulator  section.   Getting your Ubuntu machine Ready  Installing some prerequisites   Install git, libcurl, and the Go language if you do not have them already.           $ sudo apt-get install git \n        $ sudo apt-get install libcurl4-gnutls-dev \n        $ sudo apt-get install golang   Creating local repository    The directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory hierarchy with three directories a
 t its root:    src contains Go source files organized into packages (one package per directory),    pkg contains package objects, and    bin contains executable commands.      The GOPATH environment variable specifies the location of your workspace. First create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone the newt tool repository.          $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=$PWD  Note that you need to add export statements to ~/.bashrc (or equivalent) to export variables permanently.   You are ready to download the newt tool repository. You will use Go to copy the directory (currently the asf incubator directory). Be patient as it may take a minute or two. Check the directories installed.           $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ ls\n         bin    pkg    src\n        $ ls src\n        git-wip
 -us.apache.org   github.com      gopkg.in   Check that newt is in place.           $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt  Building the newt tool   You will use Go to run the newt.go program to build the newt tool. The command used is   go install  which compiles and writes the resulting executable to an output file named  newt . It installs the results along with its dependencies in $GOPATH/bin.           $ cd $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ go install\n        $ ls  $GOPATH /bin/\n        godep       incubator-mynewt-newt.git     newt   Try running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.   Note: If you are going to be be modifying 
 the newt tool itself often and wish to compile the program every time you call it, you may want to store the command in a variable in your .bash_profile. So type in  export newt=\"go run $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt/newt/go\"  in your ~/.bashrc (or equivalent) and execute it by calling  $newt  at the prompt instead of  newt . Here, you use  go run  which runs the compiled binary directly without producing an executable.             $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please visit\n        https://www.github.com/mynewt/documentation.\
 n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\n\n        Examples:\n         newt\n         newt help [ command-name ]\n           For help on  command-name .  If not specified, print this message.\n\n\n        Available Commands:\n         version     Display the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests   clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel= WARN : Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be silent; don't output anything.\n         -v, --verbose=false: Enable v
 erbose output when executing commands.\n\n\n        Use  newt help [command]  for more information about a command.   Without creating a project repository you can't do a whole lot with the Newt tool. So you'll have to wait till you have downloaded a nest to try out the tool.    Getting the debugger ready   Before you start building nests and hatching eggs, you need to do one final step in the environment preparation - install gcc / libc that can produce 32-bit executables. You can install these as follows:            $ sudo apt-get install gcc-multilib libc6-i386   For the LED project on the Olimex hardware, you have to install gcc for AM 4.9.3.  This package can be installed with apt-get as documented below. The steps are explained in depth at  https://launchpad.net/~terry.guo/+archive/ubuntu/gcc-arm-embedded .           $ sudo apt-get remove binutils-arm-none-eabi gcc-arm-none-eabi \n        $ sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded \n        $ sudo apt-get update 
 \n        $ sudo apt-get install gcc-arm-none-eabi    And finally, you have to install OpenOCD (Open On-Chip Debugger) which is an open-source software that will allow you to interface with the JTAG debug connector/adaptor for the Olimex board. It lets you program, debug, and test embedded target devices which, in this case, is the Olimex board. You have to acquire OpenOCD 0.8.0.   If you are running Ubuntu 15.x, then you are in luck and you can simply run:             $ sudo apt-get install openocd   Other versions of Ubuntu may not have the correct version of openocd available.  In this case, you should download the openocd 0.8.0 package from  https://launchpad.net/ubuntu/vivid/+source/openocd . The direct link to the amd64 build is  http://launchpadlibrarian.net/188260097/openocd_0.8.0-4_amd64.deb .    Proceed to the  Building test code on simulator  section.   Getting your Windows machine ready for simulated target  The  newt  tool is the build software used to build Mynewt OS i
 mages or executables for any embedded hardware device/board, including the one for the current tutorial (STM32-E407 development board from Olimex). You can run the  newt  tool natively on a computer running any of the three Operating System machines - OSX, Linux, or Windows.  However, Mynewt OS images for a simulated target are built on the Windows machine by using Linux versions of the build software (newt)in a virtual machine on your Windows box. The Linux VM is set up by installing the Docker Toolbox. Your Windows machine will communicate with the Linux VM via transient ssh connections. You will then download a Docker image 

<TRUNCATED>