Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
xerus
xerus
Commits
df114fdf
Commit
df114fdf
authored
May 29, 2017
by
Ben Huber
Browse files
added missing documentation layout
parent
4854fbab
Pipeline
#747
passed with stages
in 8 minutes and 32 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
doc/jekyll/_includes/footer.html
0 → 100644
View file @
df114fdf
<div
class=
"container-fluid"
>
<div
class=
"row-fluid"
>
<div
class=
"visible-sm visible-xs span12 footer navbar-inverse navbar-fixed-bottom"
>
<div
class=
"pagination"
>
{% if page.next %}
<a
class=
"btn btn-default"
href=
"{{ site.baseurl}}{{ page.next.url }}"
class=
"previous"
><span
class=
"glyphicon glyphicon-chevron-left"
></span></a>
{% else %}
<a
class=
"btn btn-default disabled"
href=
"#"
class=
"previous"
><span
class=
"glyphicon glyphicon-chevron-left"
></span></a>
{% endif %}
<div
class=
"btn btn-default footer-menu"
tabindex=
"0"
><span
class=
"glyphicon glyphicon-list"
></span></div>
<div
class=
"footer-menu-content well"
>
{% include sidebar-content.html %}
</div>
{% if page.previous %}
<a
class=
"btn btn-default"
href=
"{{ site.baseurl}}{{ page.previous.url }}"
class=
"next"
><span
class=
"glyphicon glyphicon-chevron-right"
></span></a>
{% else %}
<a
class=
"btn btn-default disabled"
href=
"#"
class=
"next"
><span
class=
"glyphicon glyphicon-chevron-right"
></span></a>
{% endif %}
</div>
</div>
</div>
</div>
</body>
</html>
doc/jekyll/_includes/header.html
0 → 100644
View file @
df114fdf
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
Xerus Documentation{% if page.title %} - {{ page.title }} {% endif %}
</title>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<script
src=
"{{ site.baseurl }}/js/jquery.min.js"
></script>
<script
src=
"{{ site.baseurl }}/js/bootstrap.min.js"
></script>
<link
href=
"{{ site.baseurl }}/css/bootstrap.min.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"{{ site.baseurl }}/css/theme.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"{{ site.baseurl }}/css/syntax.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"{{ site.baseurl }}/css/tabs.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"{{ site.baseurl }}/css/footer.css"
rel=
"stylesheet"
type=
"text/css"
>
<script
type=
"text/x-mathjax-config"
>
MathJax
.
Hub
.
Config
({
tex2jax
:
{
inlineMath
:
[[
'
$
'
,
'
$
'
],
[
'
\\
(
'
,
'
\\
)
'
]]}});
</script>
<script
type=
"text/javascript"
async
src=
"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"
></script>
</head>
<body>
<header
class=
"navbar navbar-inverse navbar-fixed-top docs-nav"
role=
"banner"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<button
class=
"navbar-toggle"
type=
"button"
data-toggle=
"collapse"
data-target=
".bs-navbar-collapse"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
href=
"{{ site.baseurl }}/"
>
Xerus
</a>
</div>
<nav
class=
"collapse navbar-collapse bs-navbar-collapse"
role=
"navigation"
>
<ul
class=
"nav navbar-nav"
>
{% if page.section == "Documentation" %}
<li
class=
"active"
><a
href=
"{{ site.baseurl }}/documentation.html"
>
Documentation
</a></li>
{% else %}
<li><a
href=
"{{ site.baseurl }}/documentation.html"
>
Documentation
</a></li>
{% endif %}
{% if page.section == "Examples" %}
<li
class=
"active"
><a
href=
"{{ site.baseurl }}/examples.html"
>
Examples
</a></li>
{% else %}
<li><a
href=
"{{ site.baseurl }}/examples.html"
>
Examples
</a></li>
{% endif %}
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<li><a
href=
"https://git.hemio.de/xerus/xerus"
>
Git
</a></li>
<li><a
href=
"https://github.com/libxerus/xerus"
>
Github
</a></li>
<li><a
href=
"https://git.hemio.de/xerus/xerus/issues"
>
Issue-Tracker
</a></li>
</ul>
</nav>
</div>
</header>
doc/jekyll/_includes/sidebar-content.html
0 → 100644
View file @
df114fdf
{% for post in site.posts %}
{% if post.section == page.section %}
{% unless post.next %}
<h1>
{{ post.topic }}
</h1>
<ul>
{% else %}
{% capture topic %}{{ post.topic }}{% endcapture %}
{% capture ntopic %}{{ post.next.topic }}{% endcapture %}
{% if topic != ntopic %}
</ul>
<h1>
{{ post.topic }}
</h1>
<ul>
{% endif %}
{% endunless %}
{% if post.url == page.url %}
<li>
{{ post.title }}
</li>
{% else %}
<li><a
href=
"{{ site.baseurl}}{{ post.url }}"
>
{{ post.title }}
</a></li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
{% if page.section == "Documentation" %}
<a
href=
"{{ site.baseurl }}/doxygen/"
>
Doxygen Documentation
</a>
{% elsif page.section == "Examples" %}
{% else %}
<a
href=
"{{ site.baseurl }}/documentation.html"
><h1>
Documentation
</h1></a>
<a
href=
"{{ site.baseurl }}/examples.html"
><h1>
Examples
</h1></a>
<a
href=
"https://git.hemio.de/xerus/xerus/"
><h1>
Git
</h1></a>
<a
href=
"https://git.hemio.de/xerus/xerus/issues"
><h1>
Issue-Tracker
</h1></a>
<a
href=
"mailto:contact@libxerus.org"
><h1>
Contact
</h1></a>
{% endif %}
doc/jekyll/_includes/sidebar.html
0 → 100644
View file @
df114fdf
<div
class=
"row"
>
<div
class=
"hidden-md-down"
>
<center><img
src=
"{{ site.baseurl }}/images/xerus.svg"
alt=
"Logo"
width=
"50%"
/></center>
</div>
<div
class=
"hidden-md-down well"
>
{% include sidebar-content.html %}
</div>
</div>
doc/jekyll/_layouts/post.html
0 → 100644
View file @
df114fdf
{% include header.html %}
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-3 hidden-sm hidden-xs"
>
{% include sidebar.html %}
</div>
<div
class=
"col-md-9"
>
<div
class=
"article"
>
<div
class=
"post-content"
>
{{ content }}
</div>
</div>
</div>
</div>
</div>
{% include footer.html %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment