aboutsummaryrefslogtreecommitdiffstats
path: root/docs/_layouts/ebook/summary.html
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-09-20 10:01:29 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-09-20 10:01:29 +0200
commit2e4bbe051ab130a3859e0b3c3a4477d7205df6a7 (patch)
treecafb41d412a3b2b9cf168d4bffb25b4b3f7ad5e4 /docs/_layouts/ebook/summary.html
parent77973a72cb095f23a1e9bc776582781e8316e265 (diff)
doc: Changed doc to new format
- split book.json to match new format - changed description in README.md - remove useless files Change-Id: I235c6f033ad12eeac86cab16f4c311e61ca60351 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'docs/_layouts/ebook/summary.html')
-rw-r--r--docs/_layouts/ebook/summary.html58
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 %}
-