diff options
author | CorentinLGS <corentinlgs@gmail.com> | 2018-08-28 14:41:44 +0200 |
---|---|---|
committer | CorentinLGS <corentinlgs@gmail.com> | 2018-08-28 14:45:43 +0200 |
commit | fd49db623a3983526140f74b2e92d43cd578e8b6 (patch) | |
tree | 0b7bd0b5fe0514f6594ec2e6905c908500778e22 /docs/_layouts/ebook/summary.html | |
parent | bc634e0d890f8f3f51205f95187f639f73e864a7 (diff) |
afb-test doc: Changed doc to new format.
-Deleted gendocs.sh, docs/_layout and docs/resources.
-Splited book.json to match new format.
-Changed description in README.md
Change-Id: I9835bf64ea2f0b6b3ca6cfd9f1ec8c720b4618c9
Signed-off-by: CorentinLGS <corentinlgs@gmail.com>
Diffstat (limited to 'docs/_layouts/ebook/summary.html')
-rw-r--r-- | docs/_layouts/ebook/summary.html | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/docs/_layouts/ebook/summary.html b/docs/_layouts/ebook/summary.html deleted file mode 100644 index be328a4..0000000 --- a/docs/_layouts/ebook/summary.html +++ /dev/null @@ -1,58 +0,0 @@ -{% extends "./page.html" %} - -{% block title %}{{ "SUMMARY"|t }}{% endblock %} - -{% macro articles(_articles) %} - {% for article in _articles %} - <li> - <span class="inner"> - {% if article.path or article.url %} - {% if article.path %} - <a href="{{ article.path|contentURL }}{{ article.anchor }}">{{ article.title }}</a> - {% else %} - <a target="_blank" href="{{ article.url }}">{{ article.title }}</a> - {% endif %} - {% else %} - <span>{{ article.title }}</span> - {% endif %} - {% if 1 %} - <span class="page">{{ article.level }}</span> - {% endif %} - </span> - {% if article.articles.length > 0 %} - <ol> - {{ articles(article.articles) }} - </ol> - {% endif %} - </li> - {% endfor %} -{% endmacro %} - -{% block page %} -<div class="section toc"> - <h1>{{ "SUMMARY"|t }}</h1> - <ol> - {% for part in summary.parts %} - {% if part.title %} - <li class="part-title"> - <h2>{{ part.title }}</h2> - </li> - {% endif %} - {{ articles(part.articles) }} - - {% if not loop.last %} - <li class="divider"></li> - {% endif %} - {% endfor %} - - {% if glossary.path %} - <li> - <span class="inner"> - <a href="{{ ('/' + glossary.path)|contentURL }}">{{ "GLOSSARY"|t }}</a> - </span> - </li> - {% endif %} - </ol> -</div> -{% endblock %} - |