mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ad...@apache.org
Subject [36/51] [partial] incubator-mynewt-site git commit: Changed landing page, main banner, secondary banner, events, community, added Quick start nav link, collapsed documentation hierarchy
Date Fri, 20 May 2016 07:36:19 GMT
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eab28af6/os/core_os/event_queue/os_eventq_remove/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/os_eventq_remove/index.html b/os/core_os/event_queue/os_eventq_remove/index.html
index 4003d6f..84b2c19 100644
--- a/os/core_os/event_queue/os_eventq_remove/index.html
+++ b/os/core_os/event_queue/os_eventq_remove/index.html
@@ -16,6 +16,7 @@
         <link rel="stylesheet" href="../../../../css/highlight.css">
         <link href="../../../../css/base.css" rel="stylesheet">
         <link href="../../../../css/custom.css" rel="stylesheet">
+        <link href="../../../../css/v2.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">
@@ -43,11 +44,10 @@
     <body class="os_eventq_remove">
 
 
-        <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
-    <div class="logo-container">
-        <img src="/img/logo.svg">
-    </div>
-    <div class="container-fluid">
+        
+
+<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+    <div class="container">
         <!-- Collapsed navigation -->
         <div class="navbar-header">
             <!-- Expander button -->
@@ -64,75 +64,37 @@
         <div class="navbar-collapse collapse">
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
-                <li>
+                <li 
+  class=""
+>
                     <a href="/">Home</a>
                 </li>
-                <li>
-                    <a href="/about/">About</a>
+                <li 
+  class="important"
+>
+                    <a href="/quick-start/">Quick Start</a>
                 </li>
-                <li class="dropdown">
-                    <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
-                    <ul class="dropdown-menu">
-                        
-                        
-                        
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../documentation/">
-                                Overview
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        <li class="active">
-                            <a href="../../../get_started/introduction/">
-                                Mynewt OS Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../newt/newt_intro/">
-                                Newt Tool Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../newtmgr/overview/">
-                                Newt Manager Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../faq/how_to_edit_docs/">
-                                Appendix
-                            </a>
-                        </li>
-                        
-                        
-                    </ul>
+                <li 
+  class=""
+>
+                    <a href="/about/">About</a>
                 </li>
                 <li>
+                    <a href="/os/introduction/">Documentation</a>
+                </li>
+                <li 
+  class=""
+>
                     <a href="/download/">Download</a>
                 </li>
-                <li>
+                <li 
+  class=""
+>
                     <a href="/community/">Community</a>
                 </li>
-                <li>
+                <li 
+  class=""
+>
                     <a href="/events/">Events</a>
                 </li>
             </ul>
@@ -142,27 +104,26 @@
                 
             </ul>
         </div>
-   # </div>
-</div>
+    </div>
+</nav>
 
         
 
-        <div class="container-fluid">
+        <div class="container">
             
-                <div class="row sm-extra-padding">
-                    <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
-    <div class="sidebar-top">
+                <div class="row">
+                    <div class="col-md-3 v2-sidebar"><div class="hidden-print" role="complementary">
+    <div class="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 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>
+                    <input type="text" name="q" class="form-control" placeholder="Search documentation" />
                 </div>
             </form>
         </div>
     </div>
-    <ul class="nav bs-sidenav">
+    <ul class="toc-nav">
       
         
       
@@ -180,42 +141,29 @@
           
   
   
-    <li><a href="
-  ../../../get_started/introduction/
-">Mynewt OS Manual</a>
-  
-    
-      <ul class="current-toc">
-          
-              
-                
+    <li ><a href="../../../introduction/">Mynewt Documentation</a>
   
-    <li>
-      <a href="../../../get_started/introduction/">Introduction</a>
-    </li>
   
-
+    <ul>
+          
               
           
               
                 
   
   
-    <li ><a href="../../../get_started/get_started/">Quick Start</a></li>
+    <li ><a href="../../../get_started/get_started/">Basic Setup</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
               
                 
-  
-  
-    <li ><a href="../../../get_started/vocabulary/">Concepts</a></li>
-  
-    
-  </li>
+    <li >
+      <a href="../../../get_started/vocabulary/">Concepts</a>
+    </li>
 
               
           
@@ -223,10 +171,10 @@
                 
   
   
-    <li ><a href="../../../tutorials/tutorials/">Tutorials</a></li>
+    <li ><a href="../../../tutorials/tutorials/">Tutorials</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -234,10 +182,10 @@
                 
   
   
-    <li ><a href="../../../os_user_guide/">OS User Guide</a></li>
+    <li ><a href="../../../os_user_guide/">OS User Guide</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -245,10 +193,10 @@
                 
   
   
-    <li ><a href="../../mynewt_os/">OS Core</a></li>
+    <li ><a href="../../mynewt_os/">OS Core</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -260,8 +208,8 @@
   ../../os_init/
 ">System-level Functions</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -269,10 +217,10 @@
                 
   
   
-    <li ><a href="../../context_switch/context_switch/">Scheduler</a></li>
+    <li ><a href="../../context_switch/context_switch/">Scheduler</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -280,10 +228,10 @@
                 
   
   
-    <li ><a href="../../time/os_time/">Time</a></li>
+    <li ><a href="../../time/os_time/">Time</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -291,10 +239,10 @@
                 
   
   
-    <li ><a href="../../task/task/">Tasks</a></li>
+    <li ><a href="../../task/task/">Tasks</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -302,10 +250,10 @@
                 
   
   
-    <li ><a href="../event_queue/">Event Queues</a></li>
+    <li ><a href="../event_queue/">Event Queues</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -317,58 +265,50 @@
   ../os_eventq_get/
 ">Functions</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_eventq_get/">os_eventq_get</a>
     </li>
-  
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_eventq_init/">os_eventq_init</a>
     </li>
-  
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_eventq_put/">os_eventq_put</a>
     </li>
-  
 
               
           
               
                 
-  
     <li class="active">
-      os_eventq_remove
+      <a href="./">os_eventq_remove</a>
     </li>
-  
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -376,10 +316,10 @@
                 
   
   
-    <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
+    <li ><a href="../../semaphore/semaphore/">Semaphores</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -387,10 +327,10 @@
                 
   
   
-    <li ><a href="../../mutex/mutex/">Mutexes</a></li>
+    <li ><a href="../../mutex/mutex/">Mutexes</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -398,10 +338,10 @@
                 
   
   
-    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
+    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -409,10 +349,10 @@
                 
   
   
-    <li ><a href="../../heap/heap/">Heap</a></li>
+    <li ><a href="../../heap/heap/">Heap</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -427,8 +367,8 @@
 
 ">Memory Buffers</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -436,10 +376,10 @@
                 
   
   
-    <li ><a href="../../sanity/sanity/">Sanity</a></li>
+    <li ><a href="../../sanity/sanity/">Sanity</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -447,16 +387,16 @@
                 
   
   
-    <li ><a href="../../callout/callout/">Callouts</a></li>
+    <li ><a href="../../callout/callout/">Callouts</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -464,10 +404,10 @@
                 
   
   
-    <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
+    <li ><a href="../../porting/port_os/">Porting to your Platform</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -475,10 +415,10 @@
                 
   
   
-    <li ><a href="../../../modules/console/console/">Console</a></li>
+    <li ><a href="../../../modules/console/console/">Console</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -486,10 +426,10 @@
                 
   
   
-    <li ><a href="../../../modules/shell/shell/">Shell</a></li>
+    <li ><a href="../../../modules/shell/shell/">Shell</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -497,10 +437,10 @@
                 
   
   
-    <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
+    <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -515,8 +455,8 @@
 
 ">File System</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -524,10 +464,10 @@
                 
   
   
-    <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
+    <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -535,10 +475,10 @@
                 
   
   
-    <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
+    <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -546,20 +486,18 @@
                 
   
   
-    <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
+    <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../../../modules/baselibc/">Baselibc library</a>
     </li>
-  
 
               
           
@@ -567,10 +505,10 @@
                 
   
   
-    <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
+    <li ><a href="../../../modules/elua/elua/">Embedded Lua</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -578,10 +516,10 @@
                 
   
   
-    <li ><a href="../../../modules/json/json/">JSON</a></li>
+    <li ><a href="../../../modules/json/json/">JSON</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -589,10 +527,10 @@
                 
   
   
-    <li ><a href="../../../modules/stats/stats/">Stats</a></li>
+    <li ><a href="../../../modules/stats/stats/">Stats</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -600,16 +538,16 @@
                 
   
   
-    <li ><a href="../../../modules/logs/logs/">Logs</a></li>
+    <li ><a href="../../../modules/logs/logs/">Logs</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -621,40 +559,36 @@
   ../../../../network/ble/ble_intro/
 ">BLE User Guide</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
-
-        
-      
-        
-          
+              
+                
   
   
-    <li><a href="
-  ../../../../newt/newt_intro/
-">Newt Tool Manual</a>
+    <li ><a href="../../../../newt/newt_intro/">Newt Tool Guide</a>
   
-    
-  </li>
+  
+    </li>
 
-        
-      
-        
+              
           
+              
+                
   
   
-    <li><a href="
-  ../../../../newtmgr/overview/
-">Newt Manager Manual</a>
+    <li ><a href="../../../../newtmgr/overview/">Newt Manager Guide</a>
   
-    
-  </li>
+  
+    </li>
+
+              
+          
+    </ul>
+  
+    </li>
 
         
       
@@ -666,8 +600,8 @@
   ../../../../faq/how_to_edit_docs/
 ">Appendix</a>
   
-    
-  </li>
+  
+    </li>
 
         
       
@@ -678,45 +612,11 @@
                         <button class="show-sidebar">Docs Menu</button>
                     </div>
 
-                    <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+                    <div class="col-md-9" role="main">
                         <div class="row doc-header">
-                            <div class="col-sm-6">
-                                
-<ul class="nav nav-pills">
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    <li class="active" role="presentation"><a href="../../../get_started/introduction/">Mynewt OS</a></li>
-    
-    
-    
-    <li  role="presentation"><a href="../../../../newt/newt_intro/">Newt Tool</a></li>
-    
-    
-    
-    <li  role="presentation"><a href="../../../../newtmgr/overview/">Newt Mgr</a></li>
-    
-    
-    
-    
-</ul>
-                            </div>
-                            <div class="col-sm-6">
+                            <div class="col-sm-12">
                                 <div role="navigation" aria-label="breadcrumbs navigation">
-  <ul class="wy-breadcrumbs">
+  <ul class="wy-breadcrumbs pull-right">
     <li><a href="/documentation/">Docs</a></li>
     
     
@@ -738,14 +638,14 @@
                             </div>
                         </div>
                         
-                            <h2 id="os_eventq_remove"><font color="#F2853F" style="font-size:24pt"> os_eventq_remove</font><a class="headerlink" href="#os_eventq_remove" title="Permanent link">&para;</a></h2>
+                            <h2 id="os_eventq_remove"><font color="#F2853F" style="font-size:24pt"> os_eventq_remove</font></h2>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="color: #A90D91">void</span>
 <span style="color: #000000">os_eventq_remove</span>(<span style="color: #A90D91">struct</span> <span style="color: #000000">os_eventq</span> <span style="color: #000000">*evq</span>, <span style="color: #A90D91">struct</span> <span style="color: #000000">os_event</span> <span style="color: #000000">*ev</span>)
 </pre></div>
 
 
 <p>Removes an event which has been placed in a queue.</p>
-<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<h4 id="arguments">Arguments</h4>
 <table>
 <thead>
 <tr>
@@ -764,10 +664,10 @@
 </tr>
 </tbody>
 </table>
-<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<h4 id="returned-values">Returned values</h4>
 <p>N/A</p>
-<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
-<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<h4 id="notes">Notes</h4>
+<h4 id="example">Example</h4>
 <p><Add text to set up the context for the example here>
 This is from os_callout_stop(). User wants to stop a callout from getting passed to a task. If the event has already been queued, then remove it before it is seen.</p>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">    <span style="color: #A90D91">if</span> (<span style="color: #000000">c-&gt;c_evq</span>) {

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eab28af6/os/core_os/heap/heap/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/heap/heap/index.html b/os/core_os/heap/heap/index.html
index bb97c78..940f11a 100644
--- a/os/core_os/heap/heap/index.html
+++ b/os/core_os/heap/heap/index.html
@@ -16,6 +16,7 @@
         <link rel="stylesheet" href="../../../../css/highlight.css">
         <link href="../../../../css/base.css" rel="stylesheet">
         <link href="../../../../css/custom.css" rel="stylesheet">
+        <link href="../../../../css/v2.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">
@@ -43,11 +44,10 @@
     <body class="toc">
 
 
-        <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
-    <div class="logo-container">
-        <img src="/img/logo.svg">
-    </div>
-    <div class="container-fluid">
+        
+
+<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+    <div class="container">
         <!-- Collapsed navigation -->
         <div class="navbar-header">
             <!-- Expander button -->
@@ -64,75 +64,37 @@
         <div class="navbar-collapse collapse">
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
-                <li>
+                <li 
+  class=""
+>
                     <a href="/">Home</a>
                 </li>
-                <li>
-                    <a href="/about/">About</a>
+                <li 
+  class="important"
+>
+                    <a href="/quick-start/">Quick Start</a>
                 </li>
-                <li class="dropdown">
-                    <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
-                    <ul class="dropdown-menu">
-                        
-                        
-                        
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../documentation/">
-                                Overview
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        <li class="active">
-                            <a href="../../../get_started/introduction/">
-                                Mynewt OS Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../newt/newt_intro/">
-                                Newt Tool Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../newtmgr/overview/">
-                                Newt Manager Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../faq/how_to_edit_docs/">
-                                Appendix
-                            </a>
-                        </li>
-                        
-                        
-                    </ul>
+                <li 
+  class=""
+>
+                    <a href="/about/">About</a>
                 </li>
                 <li>
+                    <a href="/os/introduction/">Documentation</a>
+                </li>
+                <li 
+  class=""
+>
                     <a href="/download/">Download</a>
                 </li>
-                <li>
+                <li 
+  class=""
+>
                     <a href="/community/">Community</a>
                 </li>
-                <li>
+                <li 
+  class=""
+>
                     <a href="/events/">Events</a>
                 </li>
             </ul>
@@ -142,27 +104,26 @@
                 
             </ul>
         </div>
-   # </div>
-</div>
+    </div>
+</nav>
 
         
 
-        <div class="container-fluid">
+        <div class="container">
             
-                <div class="row sm-extra-padding">
-                    <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
-    <div class="sidebar-top">
+                <div class="row">
+                    <div class="col-md-3 v2-sidebar"><div class="hidden-print" role="complementary">
+    <div class="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 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>
+                    <input type="text" name="q" class="form-control" placeholder="Search documentation" />
                 </div>
             </form>
         </div>
     </div>
-    <ul class="nav bs-sidenav">
+    <ul class="toc-nav">
       
         
       
@@ -180,42 +141,29 @@
           
   
   
-    <li><a href="
-  ../../../get_started/introduction/
-">Mynewt OS Manual</a>
+    <li ><a href="../../../introduction/">Mynewt Documentation</a>
   
-    
-      <ul class="current-toc">
-          
-              
-                
   
-    <li>
-      <a href="../../../get_started/introduction/">Introduction</a>
-    </li>
-  
-
+    <ul>
+          
               
           
               
                 
   
   
-    <li ><a href="../../../get_started/get_started/">Quick Start</a></li>
+    <li ><a href="../../../get_started/get_started/">Basic Setup</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
               
                 
-  
-  
-    <li ><a href="../../../get_started/vocabulary/">Concepts</a></li>
-  
-    
-  </li>
+    <li >
+      <a href="../../../get_started/vocabulary/">Concepts</a>
+    </li>
 
               
           
@@ -223,10 +171,10 @@
                 
   
   
-    <li ><a href="../../../tutorials/tutorials/">Tutorials</a></li>
+    <li ><a href="../../../tutorials/tutorials/">Tutorials</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -234,10 +182,10 @@
                 
   
   
-    <li ><a href="../../../os_user_guide/">OS User Guide</a></li>
+    <li ><a href="../../../os_user_guide/">OS User Guide</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -245,10 +193,10 @@
                 
   
   
-    <li ><a href="../../mynewt_os/">OS Core</a></li>
+    <li ><a href="../../mynewt_os/">OS Core</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -260,8 +208,8 @@
   ../../os_init/
 ">System-level Functions</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -269,10 +217,10 @@
                 
   
   
-    <li ><a href="../../context_switch/context_switch/">Scheduler</a></li>
+    <li ><a href="../../context_switch/context_switch/">Scheduler</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -280,10 +228,10 @@
                 
   
   
-    <li ><a href="../../time/os_time/">Time</a></li>
+    <li ><a href="../../time/os_time/">Time</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -291,10 +239,10 @@
                 
   
   
-    <li ><a href="../../task/task/">Tasks</a></li>
+    <li ><a href="../../task/task/">Tasks</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -302,10 +250,10 @@
                 
   
   
-    <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
+    <li ><a href="../../event_queue/event_queue/">Event Queues</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -313,10 +261,10 @@
                 
   
   
-    <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
+    <li ><a href="../../semaphore/semaphore/">Semaphores</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -324,10 +272,10 @@
                 
   
   
-    <li ><a href="../../mutex/mutex/">Mutexes</a></li>
+    <li ><a href="../../mutex/mutex/">Mutexes</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -335,10 +283,10 @@
                 
   
   
-    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
+    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -346,10 +294,10 @@
                 
   
   
-    <li class="active"><a href="./">Heap</a></li>
+    <li class="active"><a href="./">Heap</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -361,14 +309,14 @@
   ../os_free/
 ">Functions</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -383,8 +331,8 @@
 
 ">Memory Buffers</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -392,10 +340,10 @@
                 
   
   
-    <li ><a href="../../sanity/sanity/">Sanity</a></li>
+    <li ><a href="../../sanity/sanity/">Sanity</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -403,16 +351,16 @@
                 
   
   
-    <li ><a href="../../callout/callout/">Callouts</a></li>
+    <li ><a href="../../callout/callout/">Callouts</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -420,10 +368,10 @@
                 
   
   
-    <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
+    <li ><a href="../../porting/port_os/">Porting to your Platform</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -431,10 +379,10 @@
                 
   
   
-    <li ><a href="../../../modules/console/console/">Console</a></li>
+    <li ><a href="../../../modules/console/console/">Console</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -442,10 +390,10 @@
                 
   
   
-    <li ><a href="../../../modules/shell/shell/">Shell</a></li>
+    <li ><a href="../../../modules/shell/shell/">Shell</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -453,10 +401,10 @@
                 
   
   
-    <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
+    <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -471,8 +419,8 @@
 
 ">File System</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -480,10 +428,10 @@
                 
   
   
-    <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
+    <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -491,10 +439,10 @@
                 
   
   
-    <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
+    <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -502,20 +450,18 @@
                 
   
   
-    <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
+    <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../../../modules/baselibc/">Baselibc library</a>
     </li>
-  
 
               
           
@@ -523,10 +469,10 @@
                 
   
   
-    <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
+    <li ><a href="../../../modules/elua/elua/">Embedded Lua</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -534,10 +480,10 @@
                 
   
   
-    <li ><a href="../../../modules/json/json/">JSON</a></li>
+    <li ><a href="../../../modules/json/json/">JSON</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -545,10 +491,10 @@
                 
   
   
-    <li ><a href="../../../modules/stats/stats/">Stats</a></li>
+    <li ><a href="../../../modules/stats/stats/">Stats</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -556,16 +502,16 @@
                 
   
   
-    <li ><a href="../../../modules/logs/logs/">Logs</a></li>
+    <li ><a href="../../../modules/logs/logs/">Logs</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -577,40 +523,36 @@
   ../../../../network/ble/ble_intro/
 ">BLE User Guide</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
-
-        
-      
-        
-          
+              
+                
   
   
-    <li><a href="
-  ../../../../newt/newt_intro/
-">Newt Tool Manual</a>
+    <li ><a href="../../../../newt/newt_intro/">Newt Tool Guide</a>
   
-    
-  </li>
+  
+    </li>
 
-        
-      
-        
+              
           
+              
+                
   
   
-    <li><a href="
-  ../../../../newtmgr/overview/
-">Newt Manager Manual</a>
+    <li ><a href="../../../../newtmgr/overview/">Newt Manager Guide</a>
   
-    
-  </li>
+  
+    </li>
+
+              
+          
+    </ul>
+  
+    </li>
 
         
       
@@ -622,8 +564,8 @@
   ../../../../faq/how_to_edit_docs/
 ">Appendix</a>
   
-    
-  </li>
+  
+    </li>
 
         
       
@@ -634,45 +576,11 @@
                         <button class="show-sidebar">Docs Menu</button>
                     </div>
 
-                    <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+                    <div class="col-md-9" role="main">
                         <div class="row doc-header">
-                            <div class="col-sm-6">
-                                
-<ul class="nav nav-pills">
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    <li class="active" role="presentation"><a href="../../../get_started/introduction/">Mynewt OS</a></li>
-    
-    
-    
-    <li  role="presentation"><a href="../../../../newt/newt_intro/">Newt Tool</a></li>
-    
-    
-    
-    <li  role="presentation"><a href="../../../../newtmgr/overview/">Newt Mgr</a></li>
-    
-    
-    
-    
-</ul>
-                            </div>
-                            <div class="col-sm-6">
+                            <div class="col-sm-12">
                                 <div role="navigation" aria-label="breadcrumbs navigation">
-  <ul class="wy-breadcrumbs">
+  <ul class="wy-breadcrumbs pull-right">
     <li><a href="/documentation/">Docs</a></li>
     
     
@@ -692,13 +600,13 @@
                             </div>
                         </div>
                         
-                            <h1 id="heap">Heap<a class="headerlink" href="#heap" title="Permanent link">&para;</a></h1>
+                            <h1 id="heap">Heap</h1>
 <p>API for doing dynamic memory allocation.</p>
-<h3 id="description">Description<a class="headerlink" href="#description" title="Permanent link">&para;</a></h3>
+<h3 id="description">Description</h3>
 <p>This provides malloc()/free() functionality with locking.  The shared resource heap needs to be protected from concurrent access when OS has been started. <em>os_malloc()</em> function grabs a mutex before calling <em>malloc()</em>.</p>
-<h3 id="data-structures">Data structures<a class="headerlink" href="#data-structures" title="Permanent link">&para;</a></h3>
+<h3 id="data-structures">Data structures</h3>
 <p>N/A</p>
-<h3 id="list-of-functions">List of Functions<a class="headerlink" href="#list-of-functions" title="Permanent link">&para;</a></h3>
+<h3 id="list-of-functions">List of Functions</h3>
 <p>The functions available in heap are:</p>
 <ul>
 <li><a href="../os_free">os_free</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eab28af6/os/core_os/heap/os_free/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/heap/os_free/index.html b/os/core_os/heap/os_free/index.html
index 4913d03..84d758c 100644
--- a/os/core_os/heap/os_free/index.html
+++ b/os/core_os/heap/os_free/index.html
@@ -16,6 +16,7 @@
         <link rel="stylesheet" href="../../../../css/highlight.css">
         <link href="../../../../css/base.css" rel="stylesheet">
         <link href="../../../../css/custom.css" rel="stylesheet">
+        <link href="../../../../css/v2.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">
@@ -43,11 +44,10 @@
     <body class="os_free">
 
 
-        <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
-    <div class="logo-container">
-        <img src="/img/logo.svg">
-    </div>
-    <div class="container-fluid">
+        
+
+<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+    <div class="container">
         <!-- Collapsed navigation -->
         <div class="navbar-header">
             <!-- Expander button -->
@@ -64,75 +64,37 @@
         <div class="navbar-collapse collapse">
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
-                <li>
+                <li 
+  class=""
+>
                     <a href="/">Home</a>
                 </li>
-                <li>
-                    <a href="/about/">About</a>
+                <li 
+  class="important"
+>
+                    <a href="/quick-start/">Quick Start</a>
                 </li>
-                <li class="dropdown">
-                    <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
-                    <ul class="dropdown-menu">
-                        
-                        
-                        
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../documentation/">
-                                Overview
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        <li class="active">
-                            <a href="../../../get_started/introduction/">
-                                Mynewt OS Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../newt/newt_intro/">
-                                Newt Tool Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../newtmgr/overview/">
-                                Newt Manager Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../faq/how_to_edit_docs/">
-                                Appendix
-                            </a>
-                        </li>
-                        
-                        
-                    </ul>
+                <li 
+  class=""
+>
+                    <a href="/about/">About</a>
                 </li>
                 <li>
+                    <a href="/os/introduction/">Documentation</a>
+                </li>
+                <li 
+  class=""
+>
                     <a href="/download/">Download</a>
                 </li>
-                <li>
+                <li 
+  class=""
+>
                     <a href="/community/">Community</a>
                 </li>
-                <li>
+                <li 
+  class=""
+>
                     <a href="/events/">Events</a>
                 </li>
             </ul>
@@ -142,27 +104,26 @@
                 
             </ul>
         </div>
-   # </div>
-</div>
+    </div>
+</nav>
 
         
 
-        <div class="container-fluid">
+        <div class="container">
             
-                <div class="row sm-extra-padding">
-                    <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
-    <div class="sidebar-top">
+                <div class="row">
+                    <div class="col-md-3 v2-sidebar"><div class="hidden-print" role="complementary">
+    <div class="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 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>
+                    <input type="text" name="q" class="form-control" placeholder="Search documentation" />
                 </div>
             </form>
         </div>
     </div>
-    <ul class="nav bs-sidenav">
+    <ul class="toc-nav">
       
         
       
@@ -180,42 +141,29 @@
           
   
   
-    <li><a href="
-  ../../../get_started/introduction/
-">Mynewt OS Manual</a>
-  
-    
-      <ul class="current-toc">
-          
-              
-                
+    <li ><a href="../../../introduction/">Mynewt Documentation</a>
   
-    <li>
-      <a href="../../../get_started/introduction/">Introduction</a>
-    </li>
   
-
+    <ul>
+          
               
           
               
                 
   
   
-    <li ><a href="../../../get_started/get_started/">Quick Start</a></li>
+    <li ><a href="../../../get_started/get_started/">Basic Setup</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
               
                 
-  
-  
-    <li ><a href="../../../get_started/vocabulary/">Concepts</a></li>
-  
-    
-  </li>
+    <li >
+      <a href="../../../get_started/vocabulary/">Concepts</a>
+    </li>
 
               
           
@@ -223,10 +171,10 @@
                 
   
   
-    <li ><a href="../../../tutorials/tutorials/">Tutorials</a></li>
+    <li ><a href="../../../tutorials/tutorials/">Tutorials</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -234,10 +182,10 @@
                 
   
   
-    <li ><a href="../../../os_user_guide/">OS User Guide</a></li>
+    <li ><a href="../../../os_user_guide/">OS User Guide</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -245,10 +193,10 @@
                 
   
   
-    <li ><a href="../../mynewt_os/">OS Core</a></li>
+    <li ><a href="../../mynewt_os/">OS Core</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -260,8 +208,8 @@
   ../../os_init/
 ">System-level Functions</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -269,10 +217,10 @@
                 
   
   
-    <li ><a href="../../context_switch/context_switch/">Scheduler</a></li>
+    <li ><a href="../../context_switch/context_switch/">Scheduler</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -280,10 +228,10 @@
                 
   
   
-    <li ><a href="../../time/os_time/">Time</a></li>
+    <li ><a href="../../time/os_time/">Time</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -291,10 +239,10 @@
                 
   
   
-    <li ><a href="../../task/task/">Tasks</a></li>
+    <li ><a href="../../task/task/">Tasks</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -302,10 +250,10 @@
                 
   
   
-    <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
+    <li ><a href="../../event_queue/event_queue/">Event Queues</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -313,10 +261,10 @@
                 
   
   
-    <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
+    <li ><a href="../../semaphore/semaphore/">Semaphores</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -324,10 +272,10 @@
                 
   
   
-    <li ><a href="../../mutex/mutex/">Mutexes</a></li>
+    <li ><a href="../../mutex/mutex/">Mutexes</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -335,10 +283,10 @@
                 
   
   
-    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
+    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -346,10 +294,10 @@
                 
   
   
-    <li ><a href="../heap/">Heap</a></li>
+    <li ><a href="../heap/">Heap</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -361,48 +309,42 @@
   ./
 ">Functions</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
                 
-  
     <li class="active">
-      os_free
+      <a href="./">os_free</a>
     </li>
-  
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_malloc/">os_malloc</a>
     </li>
-  
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_realloc/">os_realloc</a>
     </li>
-  
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -417,8 +359,8 @@
 
 ">Memory Buffers</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -426,10 +368,10 @@
                 
   
   
-    <li ><a href="../../sanity/sanity/">Sanity</a></li>
+    <li ><a href="../../sanity/sanity/">Sanity</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -437,16 +379,16 @@
                 
   
   
-    <li ><a href="../../callout/callout/">Callouts</a></li>
+    <li ><a href="../../callout/callout/">Callouts</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -454,10 +396,10 @@
                 
   
   
-    <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
+    <li ><a href="../../porting/port_os/">Porting to your Platform</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -465,10 +407,10 @@
                 
   
   
-    <li ><a href="../../../modules/console/console/">Console</a></li>
+    <li ><a href="../../../modules/console/console/">Console</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -476,10 +418,10 @@
                 
   
   
-    <li ><a href="../../../modules/shell/shell/">Shell</a></li>
+    <li ><a href="../../../modules/shell/shell/">Shell</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -487,10 +429,10 @@
                 
   
   
-    <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
+    <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -505,8 +447,8 @@
 
 ">File System</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -514,10 +456,10 @@
                 
   
   
-    <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
+    <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -525,10 +467,10 @@
                 
   
   
-    <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
+    <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -536,20 +478,18 @@
                 
   
   
-    <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
+    <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../../../modules/baselibc/">Baselibc library</a>
     </li>
-  
 
               
           
@@ -557,10 +497,10 @@
                 
   
   
-    <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
+    <li ><a href="../../../modules/elua/elua/">Embedded Lua</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -568,10 +508,10 @@
                 
   
   
-    <li ><a href="../../../modules/json/json/">JSON</a></li>
+    <li ><a href="../../../modules/json/json/">JSON</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -579,10 +519,10 @@
                 
   
   
-    <li ><a href="../../../modules/stats/stats/">Stats</a></li>
+    <li ><a href="../../../modules/stats/stats/">Stats</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -590,16 +530,16 @@
                 
   
   
-    <li ><a href="../../../modules/logs/logs/">Logs</a></li>
+    <li ><a href="../../../modules/logs/logs/">Logs</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -611,40 +551,36 @@
   ../../../../network/ble/ble_intro/
 ">BLE User Guide</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
-
-        
-      
-        
-          
+              
+                
   
   
-    <li><a href="
-  ../../../../newt/newt_intro/
-">Newt Tool Manual</a>
+    <li ><a href="../../../../newt/newt_intro/">Newt Tool Guide</a>
   
-    
-  </li>
+  
+    </li>
 
-        
-      
-        
+              
           
+              
+                
   
   
-    <li><a href="
-  ../../../../newtmgr/overview/
-">Newt Manager Manual</a>
+    <li ><a href="../../../../newtmgr/overview/">Newt Manager Guide</a>
   
-    
-  </li>
+  
+    </li>
+
+              
+          
+    </ul>
+  
+    </li>
 
         
       
@@ -656,8 +592,8 @@
   ../../../../faq/how_to_edit_docs/
 ">Appendix</a>
   
-    
-  </li>
+  
+    </li>
 
         
       
@@ -668,45 +604,11 @@
                         <button class="show-sidebar">Docs Menu</button>
                     </div>
 
-                    <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+                    <div class="col-md-9" role="main">
                         <div class="row doc-header">
-                            <div class="col-sm-6">
-                                
-<ul class="nav nav-pills">
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    <li class="active" role="presentation"><a href="../../../get_started/introduction/">Mynewt OS</a></li>
-    
-    
-    
-    <li  role="presentation"><a href="../../../../newt/newt_intro/">Newt Tool</a></li>
-    
-    
-    
-    <li  role="presentation"><a href="../../../../newtmgr/overview/">Newt Mgr</a></li>
-    
-    
-    
-    
-</ul>
-                            </div>
-                            <div class="col-sm-6">
+                            <div class="col-sm-12">
                                 <div role="navigation" aria-label="breadcrumbs navigation">
-  <ul class="wy-breadcrumbs">
+  <ul class="wy-breadcrumbs pull-right">
     <li><a href="/documentation/">Docs</a></li>
     
     
@@ -728,13 +630,13 @@
                             </div>
                         </div>
                         
-                            <h2 id="os_free"><font color="F2853F" style="font-size:24pt">os_free</font><a class="headerlink" href="#os_free" title="Permanent link">&para;</a></h2>
+                            <h2 id="os_free"><font color="F2853F" style="font-size:24pt">os_free</font></h2>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="color: #A90D91">void</span> <span style="color: #000000">os_free</span>(<span style="color: #A90D91">void</span> <span style="color: #000000">*mem</span>)
 </pre></div>
 
 
 <p>Frees previously allocated memory back to the heap.</p>
-<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<h4 id="arguments">Arguments</h4>
 <table>
 <thead>
 <tr>
@@ -749,11 +651,11 @@
 </tr>
 </tbody>
 </table>
-<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<h4 id="returned-values">Returned values</h4>
 <p>N/A</p>
-<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<h4 id="notes">Notes</h4>
 <p>Calls C-library <em>free()</em> behind the covers.</p>
-<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<h4 id="example">Example</h4>
 <p><Add text to set up the context for the example here></p>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">   <span style="color: #000000">os_free</span>(<span style="color: #000000">info</span>);
 </pre></div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eab28af6/os/core_os/heap/os_malloc/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/heap/os_malloc/index.html b/os/core_os/heap/os_malloc/index.html
index 571b613..3beea52 100644
--- a/os/core_os/heap/os_malloc/index.html
+++ b/os/core_os/heap/os_malloc/index.html
@@ -16,6 +16,7 @@
         <link rel="stylesheet" href="../../../../css/highlight.css">
         <link href="../../../../css/base.css" rel="stylesheet">
         <link href="../../../../css/custom.css" rel="stylesheet">
+        <link href="../../../../css/v2.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">
@@ -43,11 +44,10 @@
     <body class="os_malloc">
 
 
-        <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
-    <div class="logo-container">
-        <img src="/img/logo.svg">
-    </div>
-    <div class="container-fluid">
+        
+
+<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+    <div class="container">
         <!-- Collapsed navigation -->
         <div class="navbar-header">
             <!-- Expander button -->
@@ -64,75 +64,37 @@
         <div class="navbar-collapse collapse">
             <!-- Main navigation -->
             <ul class="nav navbar-nav navbar-right">
-                <li>
+                <li 
+  class=""
+>
                     <a href="/">Home</a>
                 </li>
-                <li>
-                    <a href="/about/">About</a>
+                <li 
+  class="important"
+>
+                    <a href="/quick-start/">Quick Start</a>
                 </li>
-                <li class="dropdown">
-                    <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
-                    <ul class="dropdown-menu">
-                        
-                        
-                        
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../documentation/">
-                                Overview
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        
-                        <li class="active">
-                            <a href="../../../get_started/introduction/">
-                                Mynewt OS Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../newt/newt_intro/">
-                                Newt Tool Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../newtmgr/overview/">
-                                Newt Manager Manual
-                            </a>
-                        </li>
-                        
-                        
-                        
-                        <li >
-                            <a href="../../../../faq/how_to_edit_docs/">
-                                Appendix
-                            </a>
-                        </li>
-                        
-                        
-                    </ul>
+                <li 
+  class=""
+>
+                    <a href="/about/">About</a>
                 </li>
                 <li>
+                    <a href="/os/introduction/">Documentation</a>
+                </li>
+                <li 
+  class=""
+>
                     <a href="/download/">Download</a>
                 </li>
-                <li>
+                <li 
+  class=""
+>
                     <a href="/community/">Community</a>
                 </li>
-                <li>
+                <li 
+  class=""
+>
                     <a href="/events/">Events</a>
                 </li>
             </ul>
@@ -142,27 +104,26 @@
                 
             </ul>
         </div>
-   # </div>
-</div>
+    </div>
+</nav>
 
         
 
-        <div class="container-fluid">
+        <div class="container">
             
-                <div class="row sm-extra-padding">
-                    <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
-    <div class="sidebar-top">
+                <div class="row">
+                    <div class="col-md-3 v2-sidebar"><div class="hidden-print" role="complementary">
+    <div class="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 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>
+                    <input type="text" name="q" class="form-control" placeholder="Search documentation" />
                 </div>
             </form>
         </div>
     </div>
-    <ul class="nav bs-sidenav">
+    <ul class="toc-nav">
       
         
       
@@ -180,42 +141,29 @@
           
   
   
-    <li><a href="
-  ../../../get_started/introduction/
-">Mynewt OS Manual</a>
-  
-    
-      <ul class="current-toc">
-          
-              
-                
+    <li ><a href="../../../introduction/">Mynewt Documentation</a>
   
-    <li>
-      <a href="../../../get_started/introduction/">Introduction</a>
-    </li>
   
-
+    <ul>
+          
               
           
               
                 
   
   
-    <li ><a href="../../../get_started/get_started/">Quick Start</a></li>
+    <li ><a href="../../../get_started/get_started/">Basic Setup</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
               
                 
-  
-  
-    <li ><a href="../../../get_started/vocabulary/">Concepts</a></li>
-  
-    
-  </li>
+    <li >
+      <a href="../../../get_started/vocabulary/">Concepts</a>
+    </li>
 
               
           
@@ -223,10 +171,10 @@
                 
   
   
-    <li ><a href="../../../tutorials/tutorials/">Tutorials</a></li>
+    <li ><a href="../../../tutorials/tutorials/">Tutorials</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -234,10 +182,10 @@
                 
   
   
-    <li ><a href="../../../os_user_guide/">OS User Guide</a></li>
+    <li ><a href="../../../os_user_guide/">OS User Guide</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -245,10 +193,10 @@
                 
   
   
-    <li ><a href="../../mynewt_os/">OS Core</a></li>
+    <li ><a href="../../mynewt_os/">OS Core</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -260,8 +208,8 @@
   ../../os_init/
 ">System-level Functions</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -269,10 +217,10 @@
                 
   
   
-    <li ><a href="../../context_switch/context_switch/">Scheduler</a></li>
+    <li ><a href="../../context_switch/context_switch/">Scheduler</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -280,10 +228,10 @@
                 
   
   
-    <li ><a href="../../time/os_time/">Time</a></li>
+    <li ><a href="../../time/os_time/">Time</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -291,10 +239,10 @@
                 
   
   
-    <li ><a href="../../task/task/">Tasks</a></li>
+    <li ><a href="../../task/task/">Tasks</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -302,10 +250,10 @@
                 
   
   
-    <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
+    <li ><a href="../../event_queue/event_queue/">Event Queues</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -313,10 +261,10 @@
                 
   
   
-    <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
+    <li ><a href="../../semaphore/semaphore/">Semaphores</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -324,10 +272,10 @@
                 
   
   
-    <li ><a href="../../mutex/mutex/">Mutexes</a></li>
+    <li ><a href="../../mutex/mutex/">Mutexes</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -335,10 +283,10 @@
                 
   
   
-    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
+    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -346,10 +294,10 @@
                 
   
   
-    <li ><a href="../heap/">Heap</a></li>
+    <li ><a href="../heap/">Heap</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -361,48 +309,42 @@
   ../os_free/
 ">Functions</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_free/">os_free</a>
     </li>
-  
 
               
           
               
                 
-  
     <li class="active">
-      os_malloc
+      <a href="./">os_malloc</a>
     </li>
-  
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_realloc/">os_realloc</a>
     </li>
-  
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -417,8 +359,8 @@
 
 ">Memory Buffers</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -426,10 +368,10 @@
                 
   
   
-    <li ><a href="../../sanity/sanity/">Sanity</a></li>
+    <li ><a href="../../sanity/sanity/">Sanity</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -437,16 +379,16 @@
                 
   
   
-    <li ><a href="../../callout/callout/">Callouts</a></li>
+    <li ><a href="../../callout/callout/">Callouts</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -454,10 +396,10 @@
                 
   
   
-    <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
+    <li ><a href="../../porting/port_os/">Porting to your Platform</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -465,10 +407,10 @@
                 
   
   
-    <li ><a href="../../../modules/console/console/">Console</a></li>
+    <li ><a href="../../../modules/console/console/">Console</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -476,10 +418,10 @@
                 
   
   
-    <li ><a href="../../../modules/shell/shell/">Shell</a></li>
+    <li ><a href="../../../modules/shell/shell/">Shell</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -487,10 +429,10 @@
                 
   
   
-    <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
+    <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -505,8 +447,8 @@
 
 ">File System</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -514,10 +456,10 @@
                 
   
   
-    <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
+    <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -525,10 +467,10 @@
                 
   
   
-    <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
+    <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -536,20 +478,18 @@
                 
   
   
-    <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
+    <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../../../modules/baselibc/">Baselibc library</a>
     </li>
-  
 
               
           
@@ -557,10 +497,10 @@
                 
   
   
-    <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
+    <li ><a href="../../../modules/elua/elua/">Embedded Lua</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -568,10 +508,10 @@
                 
   
   
-    <li ><a href="../../../modules/json/json/">JSON</a></li>
+    <li ><a href="../../../modules/json/json/">JSON</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -579,10 +519,10 @@
                 
   
   
-    <li ><a href="../../../modules/stats/stats/">Stats</a></li>
+    <li ><a href="../../../modules/stats/stats/">Stats</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -590,16 +530,16 @@
                 
   
   
-    <li ><a href="../../../modules/logs/logs/">Logs</a></li>
+    <li ><a href="../../../modules/logs/logs/">Logs</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -611,40 +551,36 @@
   ../../../../network/ble/ble_intro/
 ">BLE User Guide</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
-
-        
-      
-        
-          
+              
+                
   
   
-    <li><a href="
-  ../../../../newt/newt_intro/
-">Newt Tool Manual</a>
+    <li ><a href="../../../../newt/newt_intro/">Newt Tool Guide</a>
   
-    
-  </li>
+  
+    </li>
 
-        
-      
-        
+              
           
+              
+                
   
   
-    <li><a href="
-  ../../../../newtmgr/overview/
-">Newt Manager Manual</a>
+    <li ><a href="../../../../newtmgr/overview/">Newt Manager Guide</a>
   
-    
-  </li>
+  
+    </li>
+
+              
+          
+    </ul>
+  
+    </li>
 
         
       
@@ -656,8 +592,8 @@
   ../../../../faq/how_to_edit_docs/
 ">Appendix</a>
   
-    
-  </li>
+  
+    </li>
 
         
       
@@ -668,45 +604,11 @@
                         <button class="show-sidebar">Docs Menu</button>
                     </div>
 
-                    <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+                    <div class="col-md-9" role="main">
                         <div class="row doc-header">
-                            <div class="col-sm-6">
-                                
-<ul class="nav nav-pills">
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    <li class="active" role="presentation"><a href="../../../get_started/introduction/">Mynewt OS</a></li>
-    
-    
-    
-    <li  role="presentation"><a href="../../../../newt/newt_intro/">Newt Tool</a></li>
-    
-    
-    
-    <li  role="presentation"><a href="../../../../newtmgr/overview/">Newt Mgr</a></li>
-    
-    
-    
-    
-</ul>
-                            </div>
-                            <div class="col-sm-6">
+                            <div class="col-sm-12">
                                 <div role="navigation" aria-label="breadcrumbs navigation">
-  <ul class="wy-breadcrumbs">
+  <ul class="wy-breadcrumbs pull-right">
     <li><a href="/documentation/">Docs</a></li>
     
     
@@ -728,13 +630,13 @@
                             </div>
                         </div>
                         
-                            <h2 id="os_malloc"><font color="F2853F" style="font-size:24pt"> os_malloc</font><a class="headerlink" href="#os_malloc" title="Permanent link">&para;</a></h2>
+                            <h2 id="os_malloc"><font color="F2853F" style="font-size:24pt"> os_malloc</font></h2>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="color: #A90D91">void</span> <span style="color: #000000">*os_malloc</span>(<span style="color: #A90D91">size_t</span> <span style="color: #000000">size</span>)
 </pre></div>
 
 
 <p>Allocates <em>size</em> number of bytes from heap and returns a pointer to it.</p>
-<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<h4 id="arguments">Arguments</h4>
 <table>
 <thead>
 <tr>
@@ -749,13 +651,13 @@
 </tr>
 </tbody>
 </table>
-<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
+<h4 id="returned-values">Returned values</h4>
 <p><ptr>: pointer to memory allocated from heap.
 NULL: not enough memory available.</p>
-<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<h4 id="notes">Notes</h4>
 <p><em>os_malloc()</em> calls <em>malloc()</em>, which is provided by C-library. The heap must be set up during platform initialization.
 Depending on which C-library you use, you might have to do the heap setup differently. Most often <em>malloc()</em> implementation will maintain a list of allocated and then freed memory blocks. If user asks for memory which cannot be satisfied from free list, they'll call platform's <em>sbrk()</em>, which then tries to grow the heap.</p>
-<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
+<h4 id="example">Example</h4>
 <p><Add text to set up the context for the example here></p>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">    <span style="color: #000000">info</span> <span style="color: #000000">=</span> (<span style="color: #A90D91">struct</span> <span style="color: #000000">os_task_info</span> <span style="color: #000000">*</span>) <span style="color: #000000">os_malloc</span>(
             <span style="color: #A90D91">sizeof</span>(<span style="color: #A90D91">struct</span> <span style="color: #000000">os_task_info</span>) <span style="color: #000000">*</span> <span style="color: #000000">tcount</span>);


Mime
View raw message