You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/05/20 07:36:20 UTC

[37/51] [partial] incubator-mynewt-site git commit: Changed landing page, main banner, secondary banner, events, community, added Quick start nav link, collapsed documentation hierarchy

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eab28af6/os/core_os/event_queue/event_queue/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/event_queue/index.html b/os/core_os/event_queue/event_queue/index.html
index 7c58caf..7efd8b3 100644
--- a/os/core_os/event_queue/event_queue/index.html
+++ b/os/core_os/event_queue/event_queue/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 class="active"><a href="./">Event Queues</a></li>
+    <li class="active"><a href="./">Event Queues</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
           
@@ -317,14 +265,14 @@
   ../os_eventq_get/
 ">Functions</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
-      </ul>
-    
-  </li>
+    </ul>
+  
+    </li>
 
               
           
@@ -332,10 +280,10 @@
                 
   
   
-    <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
+    <li ><a href="../../semaphore/semaphore/">Semaphores</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -343,10 +291,10 @@
                 
   
   
-    <li ><a href="../../mutex/mutex/">Mutexes</a></li>
+    <li ><a href="../../mutex/mutex/">Mutexes</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -354,10 +302,10 @@
                 
   
   
-    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
+    <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a>
   
-    
-  </li>
+  
+    </li>
 
               
           
@@ -365,10 +313,10 @@
                 
   
   
-    <li ><a href="../../heap/heap/">Heap</a></li>
+    <li ><a href="../../heap/heap/">Heap</a>
   
-    
-  </li>
+  
+    </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,10 +600,10 @@
                             </div>
                         </div>
                         
-                            <h1 id="event-queues">Event Queues<a class="headerlink" href="#event-queues" title="Permanent link">&para;</a></h1>
+                            <h1 id="event-queues">Event Queues</h1>
 <p>Event queue is a way of serializing events arring to a task. This makes it easy to queue processing to happen inside task's context. This would be done either from an interrupt handler, or from another task.</p>
 <p>Events arrive in a form of a data structure <em>struct os_event</em>.</p>
-<h3 id="description">Description<a class="headerlink" href="#description" title="Permanent link">&para;</a></h3>
+<h3 id="description">Description</h3>
 <p>Events are in form of a data structure <em>struct os_event</em>, and they are queued to data structure <em>struct os_eventq</em>.</p>
 <p>Queue must be initialized before trying to add events to it. This is done using <em>os_eventq_init()</em>.</p>
 <p>Common way of using event queues is to have a task loop while calling <em>os_eventq_get()</em>, waiting for work to do.
@@ -704,7 +612,7 @@ Processing task would then act according to event type.</p>
 <p>When <em>os_event</em> is queued, it should not be freed until processing task is done with it.</p>
 <p>It is assumed that there is only one task consuming events from an event queue. Only one task should be sleeping on a particular <em>os_eventq</em> at a time.</p>
 <p>Note that os_callout subsystem assumes that event queue is used as the wakeup mechanism.</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>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="color: #A90D91">struct</span> <span style="color: #000000">os_event</span> {
     <span style="color: #A90D91">uint8_t</span> <span style="color: #000000">ev_queued</span>;
     <span style="color: #A90D91">uint8_t</span> <span style="color: #000000">ev_type</span>;
@@ -765,7 +673,7 @@ Processing task would then act according to event type.</p>
 </tr>
 </tbody>
 </table>
-<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 event queue feature are:</p>
 <ul>
 <li><a href="../os_eventq_get/">os_eventq_get</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eab28af6/os/core_os/event_queue/os_eventq_get/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/os_eventq_get/index.html b/os/core_os/event_queue/os_eventq_get/index.html
index c9cf991..1af8443 100644
--- a/os/core_os/event_queue/os_eventq_get/index.html
+++ b/os/core_os/event_queue/os_eventq_get/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_get">
 
 
-        <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 @@
   ./
 ">Functions</a>
   
-    
-      <ul class="current-toc">
+  
+    <ul>
           
               
                 
-  
     <li class="active">
-      os_eventq_get
+      <a href="./">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>
+    <li >
       <a href="../os_eventq_remove/">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_get"><font color="#F2853F" style="font-size:24pt"> os_eventq_get</font><a class="headerlink" href="#os_eventq_get" title="Permanent link">&para;</a></h2>
+                            <h2 id="os_eventq_get"><font color="#F2853F" style="font-size:24pt"> os_eventq_get</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_get</span>(<span style="color: #A90D91">struct</span> <span style="color: #000000">os_eventq</span> <span style="color: #000000">*evq</span>)
 </pre></div>
 
 
 <p>Fetches the first event from a queue. Task will sleep until something gets queued.</p>
-<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<h4 id="arguments">Arguments</h4>
 <table>
 <thead>
 <tr>
@@ -760,10 +660,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>Will return with a pointer to first <em>struct event</em> which is in the queue.</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>Main loop of an example task.</p>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">    <span style="color: #A90D91">while</span> (<span style="color: #1C01CE">1</span>) {
         <span style="color: #000000">ev</span> <span style="color: #000000">=</span> <span style="color: #000000">os_eventq_get</span>(<span style="color: #000000">&amp;task1_evq</span>);

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eab28af6/os/core_os/event_queue/os_eventq_init/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/os_eventq_init/index.html b/os/core_os/event_queue/os_eventq_init/index.html
index dcadbe3..a09c03b 100644
--- a/os/core_os/event_queue/os_eventq_init/index.html
+++ b/os/core_os/event_queue/os_eventq_init/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_init">
 
 
-        <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 class="active">
-      os_eventq_init
+      <a href="./">os_eventq_init</a>
     </li>
-  
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_eventq_put/">os_eventq_put</a>
     </li>
-  
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_eventq_remove/">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_init"><font color="F2853F" style="font-size:24pt"> os_eventq_init</font><a class="headerlink" href="#os_eventq_init" title="Permanent link">&para;</a></h2>
+                            <h2 id="os_eventq_init"><font color="F2853F" style="font-size:24pt"> os_eventq_init</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_init</span>(<span style="color: #A90D91">struct</span> <span style="color: #000000">os_eventq</span> <span style="color: #000000">*evq</span>)
 </pre></div>
 
 
 <p>Initializes <em>struct os_eventq</em>, making it ready for use.</p>
-<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
+<h4 id="arguments">Arguments</h4>
 <table>
 <thead>
 <tr>
@@ -760,11 +660,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>None</p>
-<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
+<h4 id="notes">Notes</h4>
 <p>Usually done at subsystem init time; before OS has been started, and before interrupts generating events have been enabled.</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>
 This initializes event queue used by newtmgr task.</p>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="color: #A90D91">struct</span> <span style="color: #000000">os_eventq</span> <span style="color: #000000">g_nmgr_evq</span>;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eab28af6/os/core_os/event_queue/os_eventq_put/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/os_eventq_put/index.html b/os/core_os/event_queue/os_eventq_put/index.html
index 1407c7a..5516ee9 100644
--- a/os/core_os/event_queue/os_eventq_put/index.html
+++ b/os/core_os/event_queue/os_eventq_put/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_put">
 
 
-        <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 class="active">
-      os_eventq_put
+      <a href="./">os_eventq_put</a>
     </li>
-  
 
               
           
               
                 
-  
-    <li>
+    <li >
       <a href="../os_eventq_remove/">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_put"><font color="#F2853F" style="font-size:24pt"> os_eventq_put</font><a class="headerlink" href="#os_eventq_put" title="Permanent link">&para;</a></h2>
+                            <h2 id="os_eventq_put"><font color="#F2853F" style="font-size:24pt"> os_eventq_put</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_put</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>Queues an event to tail of the event 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,9 +664,9 @@
 </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="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>
 This is used to pass info about an event to a task handling it.</p>
 <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">    <span style="color: #177500">/* Get an event structure off the queue */</span>