initial commit of the hawkBit documentation (#343)

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
Michael Hirsch
2016-11-14 15:21:29 +01:00
committed by GitHub
parent d536ec054a
commit 998ebd7c4e
88 changed files with 6422 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
---
layout: default
---
{% include base.html %}
<div class="container content">
<div class="row">
<div class="span12">
<div class="page-header pull-left">
<h3>
<a href="{{$base}}/blog/index.html">Go Back</a>
</h3>
</div>
<div class="page-header pull-right">
<a href="https://github.com/eclipse/hawkbit/tree/development/docs/blog" target="_blank"><h4>Add a new blog post!</h4></a>
</div>
</div>
</div>
<h2>{{page.title}}</h2>
<div class="postmetadata">
<ul>
{% if page.eclipseid %}
<li>
<i class="icon-user"></i>
<a href="http://projects.eclipse.org/users/{{page.eclipseid}}">{{ page.author }}</a>
</li>
{% elsif page.githubid %}
<li>
<i class="icon-user"></i>
<a href="https://github.com/{{page.githubid}}">{{ page.author }}</a>
</li>
{% else %}
<li>
<i class="icon-user"></i>{{ page.author }}
</li>
{% endif %}
<li>
<i class="icon-calendar"></i> {{ page.date | date: "%b %-d, %Y" }}
</li>
</ul>
</div>
<section>
{{ content }}
{% if page.videourl %}
<div class="{{ page.style }}">
<a title="{{page.imgtitle}}" data-rel="prettyPhoto" href="{{page.videourl}}" rel="prettyPhoto" >
<img src="{{ $base}}/img/blogpics/{{page.imagename}}" class="box-img img-responsive zoom1">
<i class="fa fa-play-circle fa-5 play-icon"></i>
</a>
</div>
{% endif %}
</div>
<!-- Pagination -->
{% if paginator.total_pages > 1 %}
<div class="pagination">
<ul>
{% if paginator.previous_page %}
<li class="prev"><a href="/blog/{% if paginator.previous_page != 1 %}page{{ paginator.previous_page }}{% endif %}">Previous</a></li>
{% endif %}
<li><a {% if paginator.page == 1 %}class="active" {% endif %}href="/blog/">1</a></li>
{% for count in (2..paginator.total_pages) %}
<li><a {% if paginator.page == count %}class="active" {% endif %}href="/blog/page{{ count }}">{{ count }}</a></li>
{% endfor %}
{% if paginator.next_page %}
<li class="next"><a href="/blog/page{{ paginator.next_page }}">Next</a></li>
{% endif %}
</ul>
</div>
{% endif %}
</div>

View File

@@ -0,0 +1,113 @@
---
layout: default
---
{% include base.html %}
<div class="container content">
<div class="row">
<div class="col-md-9 page-header pull-left">
<h3>
Blogs
</h3>
</div>
<div class="col-md-3 page-header pull-right">
<a href="https://github.com/eclipse/hawkbit/tree/development/docs/blog" target="_blank"><h3>Add a new blog post!</h3></a>
</div>
</div>
<!--{% assign sorted_pages = (site.pages | sort: 'page.sequence') %}-->
<div class="row">
<div class="col-md-9">
{% for blog in site.pages reversed %}
{% if blog.section == 'blog' %}
<h2><a href="{{base}}{{ blog.url}}">{{blog.title}}</a></h2>
<div class="postmetadata">
<ul>
{% if blog.eclipseid %}
<li>
<i class="icon-user"></i>
<a href="http://projects.eclipse.org/user/{{blog.eclipseid}}">{{ blog.author }}</a>
</li>
{% elsif blog.githubid %}
<li>
<i class="icon-user"></i>
<a href="https://github.com/{{blog.githubid}}">{{ blog.author }}</a>
</li>
{% else %}
<li>
<i class="icon-user"></i>{{ blog.author }}
</li>
{% endif %}
<li>
<i class="icon-calendar"></i> {{ blog.date | date: "%b %-d, %Y" }}
</li>
</ul>
</div>
<section>
{% if blog.content contains '<!--more-->' %}
{{ blog.content | split:'<!--more-->' | first }}
<a href="{{base}}{{ blog.url}}">Read More...</a>
{% else %}
{{ blog.content }}
{% endif %}
</section>
{% endif %}
{% endfor %}
</div>
<div class="col-md-3 pull-right">
<div class="well">
<center><h3>Blogs Overview</h3></center>
<ul class="nav nav-stacked" id="sidebar">
{% for blog in site.pages reversed %}
{% if blog.section == 'blog' %}
<li><a href="{{base}}{{ blog.url}}">{{blog.title}}<br></a></li>
<ul>
{% if blog.eclipseid %}
<li type="square">by <a href="http://projects.eclipse.org/user/{{blog.eclipseid}}"><em>{{ blog.author }}</em></a></li>
{% elsif blog.githubid %}
<li type="square">by <a href="https://github.com/{{blog.githubid}}"><em>{{ blog.author }}</em></a></li>
{% else %}
<li type="square">by <em>{{ blog.author }}</em></li>
{% endif %}
</ul>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
<!-- Pagination -->
{% if paginator.total_pages > 1 %}
<div class="pagination">
<ul>
{% if paginator.previous_page %}
<li class="prev"><a href="/blog/{% if paginator.previous_page != 1 %}page{{ paginator.previous_page }}{% endif %}">Previous</a></li>
{% endif %}
<li><a {% if paginator.page == 1 %}class="active" {% endif %}href="/blog/">1</a></li>
{% for count in (2..paginator.total_pages) %}
<li><a {% if paginator.page == count %}class="active" {% endif %}href="/blog/page{{ count }}">{{ count }}</a></li>
{% endfor %}
{% if paginator.next_page %}
<li class="next"><a href="/blog/page{{ paginator.next_page }}">Next</a></li>
{% endif %}
</ul>
</div>
{% endif %}

View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
{% include headsection.html %}
<body>
{% include header.html %}
{{ content }}
{% include footer.html %}
</body>
</html>

View File

@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
{% include headsection.html %}
<body>
{% include header.html %}
<div id="header_wrapper" class="container">
<div class="nav-bar col-md-3">
<nav class="navmenu navmenu-default" role="navigation">
<ul class="nav navmenu-nav">
{% include submenu.html level=site.data.doclinks %}
</ul>
</nav>
</div>
<div id="page" class="col-md-9">
<div class="inner">
<div id="maincontainer">
<section id="top" class="documentation-section">
<div class="row">
<div class="span8 offset3">
{{ content }}
</div>
</div>
</section>
</div>
</div>
</div>
</div>
{% include footer.html %}
</body>
</html>

View File

@@ -0,0 +1,82 @@
---
layout: default
---
{% include base.html %}
<div class="container content">
<div class="row">
<div class="span12">
<div class="page-header">
<h2>
Downloads
</h2>
</div>
</div>
</div>
{% for download in site.pages %}
{% if download.section == 'downloadsA' %}
<!-- <div class="box box-dl">
<div class="col-md-1"><i class="{{download.imagename}}"></i></div>
<div href="#" class="col-md-11">
<h3>
<b>{{download.title}}</b>
</h3>
{{download.content}}
</div>
</div>
<hr class="separator">-->
<div class="box">
<div class="row">
<div class="col-md-5">
<table class="pricing">
<tfoot>
<tr>
<td></td>
</tr>
</tfoot>
<tbody>
<tr>
<td class="focus">
hawkBit
<span>Download hawkBit through these sources</span>
</td>
</tbody>
</table>
</div>
<div class="col-md-1"></div>
<div class="col-md-4">
<table class="pricing">
<tfoot>
<tr>
<td></td>
</tr>
</tfoot>
<tbody>
<tr>
<td class="focus">
</td>
</tr>
<tr>
<tr>
</tbody>
</table>
</div>
</div>
<hr>
<div class="container clearfix">
<h1>Source code</h1>
<p>The source code for Eclipse hawkBit is available on <a href="http://github.com/eclipse/hawkBit" target="_blank"><b>Github</b></a></p>
</div>
</div>
{% endif %}
{% endfor %}
</div>

View File

@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
{% include headhomepagesection.html %}
<body>
{% include homepageheader.html %}
<!-- Additional Header homepage -->
<header class="header">
<div class="tagline">
<div class="container">
<h1><span id="describe" class="wow bounceInDown">IoT.</span><span id="share" class="wow bounceInDown" data-wow-delay="1s"> Update.</span><span id="integrate" class="wow bounceInDown" data-wow-delay="0.3s"> Device.</span></h1>
</div>
</div>
</header>
<!-- Content -->
<div class="container">
{% include homepagetop.html %}
{% include homepagemiddle.html %}
{% include homepagebottom.html %}
<!--{% include homepagecontributors.html %} -->
</div>
<!-- /.container -->
{% include footer.html %}
</body>
</html>

View File

@@ -0,0 +1,31 @@
---
layout: default
---
{% include base.html %}
<div class="container content">
<div class="row">
<div class="span12">
<div class="page-header pull-left">
<h3>
<a href="{{base}}/news/index.html">Go Back</a>
</h3>
</div>
</div>
</div>
<h2>{{page.title}}</h2>
<div class="postmetadata">
<ul>
<li>
<i class="icon-calendar"></i> {{ page.date | date: "%b %-d, %Y" }}
</li>
</ul>
</div>
<section>
{{ content }}
</section>
</div>

View File

@@ -0,0 +1,65 @@
---
layout: default
---
{% include base.html %}
<div class="container content">
<div class="row">
<div class="span12">
<div class="page-header">
<h2>
News
</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-md-9">
{% for news in site.pages reversed %}
{% if news.section == 'news' %}
<h2><a href="{{base}}{{ news.url }}">{{news.title}}</a></h2>
<div class="postmetadata">
<ul>
<li>
<i class="icon-calendar"></i> {{ news.date | date: "%b %-d, %Y" }}
</li>
</ul>
</div>
<section>
{% if news.content contains '<!--more-->' %}
{{ news.content | split:'<!--more-->' | first }}
<a href="{{base}}{{ news.url }}">Read More...</a>
{% else %}
{{ news.content }}
{% endif %}
</section>
{% endif %}
{% endfor %}
</div>
<div class="col-md-3 pull-right">
<div class="well">
<center><h3>News Overview</h3></center>
<ul class="nav nav-stacked" id="sidebar">
{% for news in site.pages reversed %}
{% if news.section == 'news' %}
<li><a href="{{base}}{{ news.url}}">{{news.title}}</a></li>
<ul>
<li type="square"> <a href="{{base}}{{ news.url}}"><em>{{ news.date | date: "%b %-d, %Y" }}</em></a></li>
</ul>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,20 @@
---
layout: default
---
{% include base.html %}
<div class="container content">
<div class="row">
<div class="span12">
<div class="page-header pull-left">
<h3>
<a href="{$base}/index.html">Go Back</a>
</h3>
</div>
</div>
</div>
<h1>{{page.title}}</h1>
<section>
{{ content }}
</section>
</div>