http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/newt/install/newt_mac/index.html ---------------------------------------------------------------------- diff --git a/develop/newt/install/newt_mac/index.html b/develop/newt/install/newt_mac/index.html index 40356ea..2b38fb2 100644 --- a/develop/newt/install/newt_mac/index.html +++ b/develop/newt/install/newt_mac/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/newt/install/newt_mac/"> --> <link rel="shortcut icon" href="../../../img/favicon.ico"> - <title>Install Newt on Mac - Apache Mynewt</title> + <title>Install Newt on Mac - Apache Mynewt</title> <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../../css/highlight.css"> <link href="../../../css/base.css" rel="stylesheet"> <link href="../../../css/custom.css" rel="stylesheet"> <link href="../../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="Install Newt on Mac"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -336,14 +353,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -363,7 +375,6 @@ </ul> </div> - </div> </div> <h2 id="install-newt-tool-on-your-mac">Install newt tool on your Mac</h2> @@ -551,34 +562,22 @@ </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/newt/newt_intro/index.html ---------------------------------------------------------------------- diff --git a/develop/newt/newt_intro/index.html b/develop/newt/newt_intro/index.html index bf31ee3..1672160 100644 --- a/develop/newt/newt_intro/index.html +++ b/develop/newt/newt_intro/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/newt/newt_intro/"> --> <link rel="shortcut icon" href="../../img/favicon.ico"> - <title>toc - Apache Mynewt</title> + <title>toc - Apache Mynewt</title> <link href="../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../css/highlight.css"> <link href="../../css/base.css" rel="stylesheet"> <link href="../../css/custom.css" rel="stylesheet"> <link href="../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="toc"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -298,14 +315,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -323,7 +335,6 @@ </ul> </div> - </div> </div> <h2 id="newt-tool">Newt Tool</h2> @@ -526,34 +537,22 @@ pkg.deps: </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/newt/newt_operation/index.html ---------------------------------------------------------------------- diff --git a/develop/newt/newt_operation/index.html b/develop/newt/newt_operation/index.html index 3c868f1..88f9541 100644 --- a/develop/newt/newt_operation/index.html +++ b/develop/newt/newt_operation/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/newt/newt_operation/"> --> <link rel="shortcut icon" href="../../img/favicon.ico"> - <title>Newt Theory of Ops - Apache Mynewt</title> + <title>Newt Theory of Ops - Apache Mynewt</title> <link href="../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../css/highlight.css"> <link href="../../css/base.css" rel="stylesheet"> <link href="../../css/custom.css" rel="stylesheet"> <link href="../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="Newt Theory of Ops"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -298,14 +315,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -325,7 +337,6 @@ </ul> </div> - </div> </div> <h2 id="newt-tool-theory-of-operations">Newt Tool - Theory of Operations</h2> @@ -609,34 +620,22 @@ will know how to call out to Docker to perform these processes.</p> </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/newt/newt_ops/index.html ---------------------------------------------------------------------- diff --git a/develop/newt/newt_ops/index.html b/develop/newt/newt_ops/index.html index c7854a5..5fb51b6 100644 --- a/develop/newt/newt_ops/index.html +++ b/develop/newt/newt_ops/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/newt/newt_ops/"> --> <link rel="shortcut icon" href="../../img/favicon.ico"> - <title>toc - Apache Mynewt</title> + <title>toc - Apache Mynewt</title> <link href="../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../css/highlight.css"> <link href="../../css/base.css" rel="stylesheet"> <link href="../../css/custom.css" rel="stylesheet"> <link href="../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="toc"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -424,14 +441,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -449,7 +461,6 @@ </ul> </div> - </div> </div> <h2 id="command-structure">Command Structure</h2> @@ -515,34 +526,22 @@ </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/newtmgr/installing/index.html ---------------------------------------------------------------------- diff --git a/develop/newtmgr/installing/index.html b/develop/newtmgr/installing/index.html index cbdd0db..91766c9 100644 --- a/develop/newtmgr/installing/index.html +++ b/develop/newtmgr/installing/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/newtmgr/installing/"> --> <link rel="shortcut icon" href="../../img/favicon.ico"> - <title>Install - Apache Mynewt</title> + <title>Install - Apache Mynewt</title> <link href="../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../css/highlight.css"> <link href="../../css/base.css" rel="stylesheet"> <link href="../../css/custom.css" rel="stylesheet"> <link href="../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="Install"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -287,14 +304,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -314,7 +326,6 @@ </ul> </div> - </div> </div> <h1 id="installing-newtmgr">Installing Newtmgr</h1> @@ -400,34 +411,22 @@ from github.com and then run <code>go install</code> again. </p> </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/newtmgr/overview/index.html ---------------------------------------------------------------------- diff --git a/develop/newtmgr/overview/index.html b/develop/newtmgr/overview/index.html index 4b493bc..60bce79 100644 --- a/develop/newtmgr/overview/index.html +++ b/develop/newtmgr/overview/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/newtmgr/overview/"> --> <link rel="shortcut icon" href="../../img/favicon.ico"> - <title>toc - Apache Mynewt</title> + <title>toc - Apache Mynewt</title> <link href="../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../css/highlight.css"> <link href="../../css/base.css" rel="stylesheet"> <link href="../../css/custom.css" rel="stylesheet"> <link href="../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="toc"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -287,14 +304,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -312,7 +324,6 @@ </ul> </div> - </div> </div> <h2 id="newt-manager">Newt Manager</h2> @@ -676,34 +687,22 @@ Return Code = 0 </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/core_os/callout/callout/index.html ---------------------------------------------------------------------- diff --git a/develop/os/core_os/callout/callout/index.html b/develop/os/core_os/callout/callout/index.html index 80685f3..5e427f5 100644 --- a/develop/os/core_os/callout/callout/index.html +++ b/develop/os/core_os/callout/callout/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/core_os/callout/callout/"> --> <link rel="shortcut icon" href="../../../../img/favicon.ico"> - <title>toc - Apache Mynewt</title> + <title>toc - Apache Mynewt</title> <link href="../../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../../../css/highlight.css"> <link href="../../../../css/base.css" rel="stylesheet"> <link href="../../../../css/custom.css" rel="stylesheet"> <link href="../../../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="toc"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -621,14 +638,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -646,7 +658,6 @@ </ul> </div> - </div> </div> <h1 id="callout">Callout</h1> @@ -660,12 +671,12 @@ <p>Time unit when arming the timer is OS ticks. This rate of this ticker depends on the platform this is running on. You should use OS define <em>OS_TICKS_PER_SEC</em> to convert wallclock time to OS ticks.</p> <p>Callout timer fires out just once. For periodic timer type of operation you need to rearm it once it fires.</p> <h3 id="data-structures">Data structures</h3> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">struct os_callout { - struct os_event c_ev; - struct os_eventq *c_evq; - uint32_t c_ticks; - TAILQ_ENTRY(os_callout) c_next; -}; +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> <span style="color: #A90D91">struct</span> <span style="color: #000000">os_callout</span> { + <span style="color: #A90D91">struct</span> <span style="color: #000000">os_event</span> <span style="color: #000000">c_ev</span>; + <span style="color: #A90D91">struct</span> <span style="color: #000000">os_eventq</span> <span style="color: #000000">*c_evq</span>; + <span style="color: #A90D91">uint32_t</span> <span style="color: #000000">c_ticks</span>; + <span style="color: #000000">TAILQ_ENTRY</span>(<span style="color: #000000">os_callout</span>) <span style="color: #000000">c_next</span>; + }; </pre></div> @@ -678,28 +689,28 @@ </thead> <tbody> <tr> -<td>c_ev</td> +<td><code>c_ev</code></td> <td>Event structure of this callout</td> </tr> <tr> -<td>c_evq</td> +<td><code>c_evq</code></td> <td>Event queue where this callout is placed on timer expiry</td> </tr> <tr> -<td>c_ticks</td> +<td><code>c_ticks</code></td> <td>OS tick amount when timer fires</td> </tr> <tr> -<td>c_next</td> +<td><code>c_next</code></td> <td>Linkage to other unexpired callouts</td> </tr> </tbody> </table> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">struct os_callout_func { - struct os_callout cf_c; - os_callout_func_t cf_func; - void *cf_arg; -}; +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> <span style="color: #A90D91">struct</span> <span style="color: #000000">os_callout_func</span> { + <span style="color: #A90D91">struct</span> <span style="color: #000000">os_callout</span> <span style="color: #000000">cf_c</span>; + <span style="color: #A90D91">os_callout_func_t</span> <span style="color: #000000">cf_func</span>; + <span style="color: #A90D91">void</span> <span style="color: #000000">*cf_arg</span>; + }; </pre></div> @@ -712,15 +723,15 @@ </thead> <tbody> <tr> -<td>cf_c</td> +<td><code>cf_c</code></td> <td>struct os_callout. See above</td> </tr> <tr> -<td>cf_func</td> +<td><code>cf_func</code></td> <td>Function pointer which should be called by event queue processing</td> </tr> <tr> -<td>cf_arg</td> +<td><code>cf_arg</code></td> <td>Generic void * argument to that function</td> </tr> </tbody> @@ -782,34 +793,22 @@ </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/core_os/callout/os_callout_func_init/index.html ---------------------------------------------------------------------- diff --git a/develop/os/core_os/callout/os_callout_func_init/index.html b/develop/os/core_os/callout/os_callout_func_init/index.html index 9e06c35..cbe430d 100644 --- a/develop/os/core_os/callout/os_callout_func_init/index.html +++ b/develop/os/core_os/callout/os_callout_func_init/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/core_os/callout/os_callout_func_init/"> --> <link rel="shortcut icon" href="../../../../img/favicon.ico"> - <title>os_callout_func_init - Apache Mynewt</title> + <title>os_callout_func_init - Apache Mynewt</title> <link href="../../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../../../css/highlight.css"> <link href="../../../../css/base.css" rel="stylesheet"> <link href="../../../../css/custom.css" rel="stylesheet"> <link href="../../../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="os_callout_func_init"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -665,14 +682,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -692,15 +704,14 @@ </ul> </div> - </div> </div> <h2 id="os_callout_func_init"><font color="#F2853F" style="font-size:24pt"> os_callout_func_init </font></h2> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">void os_callout_func_init(struct os_callout_func *cf, struct os_eventq *evq, os_callout_func_t timo_func, void *ev_arg) +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> <span style="color: #A90D91">void</span> <span style="color: #000000">os_callout_func_init</span>(<span style="color: #A90D91">struct</span> <span style="color: #000000">os_callout_func</span> <span style="color: #000000">*cf</span>, <span style="color: #A90D91">struct</span> <span style="color: #000000">os_eventq</span> <span style="color: #000000">*evq</span>, <span style="color: #A90D91">os_callout_func_t</span> <span style="color: #000000">timo_func</span>, <span style="color: #A90D91">void</span> <span style="color: #000000">*ev_arg</span>) </pre></div> -<p>Initializes the given <em>struct os_callout_func</em>. Data structure is filled in with elements given as argument.</p> +<p>Initializes the given <code>struct os_callout_func</code>. Data structure is filled in with elements given as argument.</p> <h4 id="arguments">Arguments</h4> <table> <thead> @@ -711,19 +722,19 @@ </thead> <tbody> <tr> -<td>cf</td> +<td><code>cf</code></td> <td>Pointer to os_callout_func being initialized</td> </tr> <tr> -<td>evq</td> +<td><code>evq</code></td> <td>Event queue where this gets delivered to</td> </tr> <tr> -<td>timo_func</td> +<td><code>timo_func</code></td> <td>Timeout function. Event processing should call this</td> </tr> <tr> -<td>ev_arg</td> +<td><code>ev_arg</code></td> <td>Generic argument for the event</td> </tr> </tbody> @@ -731,18 +742,18 @@ <h4 id="returned-values">Returned values</h4> <p>N/A</p> <h4 id="notes">Notes</h4> -<p>The same notes as with <em>os_callout_init()</em>.</p> +<p>The same notes as with <a href="../os_callout_init/"><code>os_callout_init()</code></a>.</p> <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%">struct os_callout_func g_native_cputimer; -struct os_eventq g_native_cputime_evq; -void native_cputimer_cb(void *arg); - - /* Initialize the callout function */ - os_callout_func_init(&g_native_cputimer, - &g_native_cputime_evq, - native_cputimer_cb, - NULL); +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> <span style="color: #A90D91">struct</span> <span style="color: #000000">os_callout_func</span> <span style="color: #000000">g_native_cputimer</span>; + <span style="color: #A90D91">struct</span> <span style="color: #000000">os_eventq</span> <span style="color: #000000">g_native_cputime_evq</span>; + <span style="color: #A90D91">void</span> <span style="color: #000000">native_cputimer_cb</span>(<span style="color: #A90D91">void</span> <span style="color: #000000">*arg</span>); + + <span style="color: #177500">/* Initialize the callout function */</span> + <span style="color: #000000">os_callout_func_init</span>(<span style="color: #000000">&g_native_cputimer</span>, + <span style="color: #000000">&g_native_cputime_evq</span>, + <span style="color: #000000">native_cputimer_cb</span>, + <span style="color: #A90D91">NULL</span>); </pre></div> <div class="row"> @@ -769,34 +780,22 @@ void native_cputimer_cb(void *arg); </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/core_os/callout/os_callout_init/index.html ---------------------------------------------------------------------- diff --git a/develop/os/core_os/callout/os_callout_init/index.html b/develop/os/core_os/callout/os_callout_init/index.html index dedd41e..bc5bcab 100644 --- a/develop/os/core_os/callout/os_callout_init/index.html +++ b/develop/os/core_os/callout/os_callout_init/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/core_os/callout/os_callout_init/"> --> <link rel="shortcut icon" href="../../../../img/favicon.ico"> - <title>os_callout_init - Apache Mynewt</title> + <title>os_callout_init - Apache Mynewt</title> <link href="../../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../../../css/highlight.css"> <link href="../../../../css/base.css" rel="stylesheet"> <link href="../../../../css/custom.css" rel="stylesheet"> <link href="../../../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="os_callout_init"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -665,14 +682,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -692,15 +704,14 @@ </ul> </div> - </div> </div> <h2 id="os_callout_init"><font color="#F2853F" style="font-size:24pt">os_callout_init </font></h2> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">void os_callout_init(struct os_callout *c, struct os_eventq *evq, void *ev_arg) +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> <span style="color: #A90D91">void</span> <span style="color: #000000">os_callout_init</span>(<span style="color: #A90D91">struct</span> <span style="color: #000000">os_callout</span> <span style="color: #000000">*c</span>, <span style="color: #A90D91">struct</span> <span style="color: #000000">os_eventq</span> <span style="color: #000000">*evq</span>, <span style="color: #A90D91">void</span> <span style="color: #000000">*ev_arg</span>) </pre></div> -<p>Initializes <em>struct os_callout</em>. Event type will be set to <em>OS_EVENT_T_TIMER</em>.</p> +<p>Initializes <code>struct os_callout</code>. Event type will be set to <code>OS_EVENT_T_TIMER</code>.</p> <h4 id="arguments">Arguments</h4> <table> <thead> @@ -711,15 +722,15 @@ </thead> <tbody> <tr> -<td>c</td> +<td><code>c</code></td> <td>Pointer to os_callout to initialize</td> </tr> <tr> -<td>evq</td> +<td><code>evq</code></td> <td>Event queue where this gets delivered to</td> </tr> <tr> -<td>ev_arg</td> +<td><code>ev_arg</code></td> <td>Generic argument which is filled in for the event</td> </tr> </tbody> @@ -731,12 +742,12 @@ Or if the timer has already fired, it will mess up the event queue where the callout was delivered to.</p> <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%">struct os_eventq my_evq; -struct os_callout my_callouts[8]; +<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">my_evq</span>; + <span style="color: #A90D91">struct</span> <span style="color: #000000">os_callout</span> <span style="color: #000000">my_callouts</span>[<span style="color: #1C01CE">8</span>]; - for (i = 0; i < 8; i++) { - os_callout_init(&my_callouts[i], &my_evq, (void *)i); -} + <span style="color: #A90D91">for</span> (<span style="color: #000000">i</span> <span style="color: #000000">=</span> <span style="color: #1C01CE">0</span>; <span style="color: #000000">i</span> <span style="color: #000000"><</span> <span style="color: #1C01CE">8</span>; <span style="color: #000000">i++</span>) { + <span style="color: #000000">os_callout_init</span>(<span style="color: #000000">&my_callouts</span>[<span style="color: #000000">i</span>], <span style="color: #000000">&my_evq</span>, (<span style="color: #A90D91">void</span> <span style="color: #000000">*</span>)<span style="color: #000000">i</span>); + } </pre></div> <div class="row"> @@ -763,34 +774,22 @@ struct os_callout my_callouts[8]; </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/core_os/callout/os_callout_queued/index.html ---------------------------------------------------------------------- diff --git a/develop/os/core_os/callout/os_callout_queued/index.html b/develop/os/core_os/callout/os_callout_queued/index.html index 3b201c6..e700186 100644 --- a/develop/os/core_os/callout/os_callout_queued/index.html +++ b/develop/os/core_os/callout/os_callout_queued/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/core_os/callout/os_callout_queued/"> --> <link rel="shortcut icon" href="../../../../img/favicon.ico"> - <title>os_callout_queued - Apache Mynewt</title> + <title>os_callout_queued - Apache Mynewt</title> <link href="../../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link rel="stylesheet" href="../../../../css/highlight.css"> <link href="../../../../css/base.css" rel="stylesheet"> <link href="../../../../css/custom.css" rel="stylesheet"> <link href="../../../../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 href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href="../../../../extra.css" rel="stylesheet"> @@ -45,6 +44,16 @@ <body class="os_callout_queued"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" 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 role="search"> <form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -665,14 +682,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs pull-right"> <li><a href="/develop/os/introduction">Docs</a></li> @@ -692,11 +704,10 @@ </ul> </div> - </div> </div> <h2 id="os_callout_queued"><font color="#F2853F" style="font-size:24pt">os_callout_queued</font></h2> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">int os_callout_queued(struct os_callout *c) +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> <span style="color: #A90D91">int</span> <span style="color: #000000">os_callout_queued</span>(<span style="color: #A90D91">struct</span> <span style="color: #000000">os_callout</span> <span style="color: #000000">*c</span>) </pre></div> @@ -711,14 +722,14 @@ </thead> <tbody> <tr> -<td>c</td> +<td><code>c</code></td> <td>Pointer to callout being checked</td> </tr> </tbody> </table> <h4 id="returned-values">Returned values</h4> -<p>0: timer is not armed -non-zero: timer is armed</p> +<p>0: timer is not armed</p> +<p>non-zero: timer is armed</p> <div class="row"> @@ -744,34 +755,22 @@ non-zero: timer is armed</p> </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> <small class="footnote"> MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> </div> </div> </footer> - </div> </div> </div>
