mirror of https://gitee.com/bigwinds/arangodb
Changed gitbook files to 2.0.0
This commit is contained in:
parent
e49e4662b1
commit
1c780b3b5a
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 91 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"direction": "rtl",
|
||||
"LANGS_CHOOSE": "اختيار اللغة",
|
||||
"GLOSSARY": "قاموس مصطلحات",
|
||||
"GLOSSARY_INDEX": "مؤشر المصطلحات",
|
||||
"GLOSSARY_OPEN": "قاموس مصطلحات",
|
||||
"GITBOOK_LINK": "نشرت مع GitBook",
|
||||
"SUMMARY": "جدول المحتويات",
|
||||
"SUMMARY_INTRODUCTION": "مقدمة",
|
||||
"SUMMARY_TOGGLE": "جدول المحتويات",
|
||||
"SEARCH_TOGGLE": "بحث",
|
||||
"SEARCH_PLACEHOLDER": "اكتب للبحث",
|
||||
"FONTSETTINGS_TOGGLE": "إعدادات الخط",
|
||||
"SHARE_TOGGLE": "حصة",
|
||||
"SHARE_ON": "على __platform__ حصة",
|
||||
"FONTSETTINGS_WHITE": "أبيض",
|
||||
"FONTSETTINGS_SEPIA": "بني داكن",
|
||||
"FONTSETTINGS_NIGHT": "ليل",
|
||||
"FONTSETTINGS_SANS": "بلا",
|
||||
"FONTSETTINGS_SERIF": "الرقيق"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "ভাষা নির্বাচন করুন",
|
||||
"GLOSSARY": "গ্লোসারি",
|
||||
"GLOSSARY_INDEX": "ইন্ডেক্স",
|
||||
"GLOSSARY_OPEN": "গ্লোসারি",
|
||||
"GITBOOK_LINK": "গিটবুকের মাধ্যমে প্রকাশিত",
|
||||
"SUMMARY": "সূচিপত্র",
|
||||
"SUMMARY_INTRODUCTION": "সূচনা",
|
||||
"SUMMARY_TOGGLE": "সূচিপত্র",
|
||||
"SEARCH_TOGGLE": "অনুসন্ধান",
|
||||
"SEARCH_PLACEHOLDER": "অনুসন্ধান",
|
||||
"FONTSETTINGS_TOGGLE": "ফন্ট সেটিংস",
|
||||
"SHARE_TOGGLE": "শেয়ার",
|
||||
"SHARE_ON": "__platform__-এ শেয়ার",
|
||||
"FONTSETTINGS_WHITE": "সাদা",
|
||||
"FONTSETTINGS_SEPIA": "সেপিয়া",
|
||||
"FONTSETTINGS_NIGHT": "রাত",
|
||||
"FONTSETTINGS_SANS": "স্যান্স",
|
||||
"FONTSETTINGS_SERIF": "শেরিফ"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "Sprache auswählen",
|
||||
"GLOSSARY": "Glossar",
|
||||
"GLOSSARY_INDEX": "Index",
|
||||
"GLOSSARY_OPEN": "Glossar",
|
||||
"GITBOOK_LINK": "Veröffentlicht mit GitBook",
|
||||
"SUMMARY": "Inhaltsverzeichnis",
|
||||
"SUMMARY_INTRODUCTION": "Einleitung",
|
||||
"SUMMARY_TOGGLE": "Inhaltsverzeichnis",
|
||||
"SEARCH_TOGGLE": "Suche",
|
||||
"SEARCH_PLACEHOLDER": "Suchbegriff eingeben",
|
||||
"FONTSETTINGS_TOGGLE": "Schrifteinstellungen",
|
||||
"SHARE_TOGGLE": "Teilen",
|
||||
"SHARE_ON": "Auf __platform__ teilen",
|
||||
"FONTSETTINGS_WHITE": "Hell",
|
||||
"FONTSETTINGS_SEPIA": "Sepia",
|
||||
"FONTSETTINGS_NIGHT": "Nacht",
|
||||
"FONTSETTINGS_SANS": "Sans",
|
||||
"FONTSETTINGS_SERIF": "Serif"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "Choose a language",
|
||||
"GLOSSARY": "Glossary",
|
||||
"GLOSSARY_INDEX": "Index",
|
||||
"GLOSSARY_OPEN": "Glossary",
|
||||
"GITBOOK_LINK": "Published with GitBook",
|
||||
"SUMMARY": "Table of Contents",
|
||||
"SUMMARY_INTRODUCTION": "Introduction",
|
||||
"SUMMARY_TOGGLE": "Table of Contents",
|
||||
"SEARCH_TOGGLE": "Search",
|
||||
"SEARCH_PLACEHOLDER": "Type to search",
|
||||
"FONTSETTINGS_TOGGLE": "Font Settings",
|
||||
"SHARE_TOGGLE": "Share",
|
||||
"SHARE_ON": "Share on __platform__",
|
||||
"FONTSETTINGS_WHITE": "White",
|
||||
"FONTSETTINGS_SEPIA": "Sepia",
|
||||
"FONTSETTINGS_NIGHT": "Night",
|
||||
"FONTSETTINGS_SANS": "Sans",
|
||||
"FONTSETTINGS_SERIF": "Serif"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "Seleccione un idioma",
|
||||
"GLOSSARY": "Glosario",
|
||||
"GLOSSARY_INDEX": "Índice",
|
||||
"GLOSSARY_OPEN": "Glosario",
|
||||
"GITBOOK_LINK": "Publicado con GitBook",
|
||||
"SUMMARY": "Tabla de contenido",
|
||||
"SUMMARY_INTRODUCTION": "Introducción",
|
||||
"SUMMARY_TOGGLE": "Tabla de contenido",
|
||||
"SEARCH_TOGGLE": "Busca",
|
||||
"SEARCH_PLACEHOLDER": "Escribe para buscar",
|
||||
"FONTSETTINGS_TOGGLE": "Configuración de fuente",
|
||||
"SHARE_TOGGLE": "Comparte",
|
||||
"SHARE_ON": "Comparte en __platform__",
|
||||
"FONTSETTINGS_WHITE": "Claro",
|
||||
"FONTSETTINGS_SEPIA": "Sépia",
|
||||
"FONTSETTINGS_NIGHT": "Noche",
|
||||
"FONTSETTINGS_SANS": "Sans",
|
||||
"FONTSETTINGS_SERIF": "Serif"
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"direction": "rtl",
|
||||
"LANGS_CHOOSE": "انتخاب زبان",
|
||||
"GLOSSARY": "واژهنامه",
|
||||
"GLOSSARY_INDEX": "فهرست واژهها",
|
||||
"GLOSSARY_OPEN": "واژهنامه",
|
||||
"GITBOOK_LINK": "انتشار یافته توسط GitBook",
|
||||
"SUMMARY": "فهرست مطالب",
|
||||
"SUMMARY_INTRODUCTION": "مقدمه",
|
||||
"SUMMARY_TOGGLE": "فهرست مطالب",
|
||||
"SEARCH_TOGGLE": "جستجو",
|
||||
"SEARCH_PLACEHOLDER": "چیزی برای جستجو بنویسید",
|
||||
"FONTSETTINGS_TOGGLE": "تنظیمات فونت",
|
||||
"SHARE_TOGGLE": "اشتراک",
|
||||
"SHARE_ON": "در __platform__ به اشتراک بگذارید",
|
||||
"FONTSETTINGS_WHITE": "سفید",
|
||||
"FONTSETTINGS_SEPIA": "سپیا",
|
||||
"FONTSETTINGS_NIGHT": "شب",
|
||||
"FONTSETTINGS_SANS": "سنس",
|
||||
"FONTSETTINGS_SERIF": "سریف"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "Choisissez une langue",
|
||||
"GLOSSARY": "Glossaire",
|
||||
"GLOSSARY_INDEX": "Index",
|
||||
"GLOSSARY_OPEN": "Glossaire",
|
||||
"GITBOOK_LINK": "Publié avec GitBook",
|
||||
"SUMMARY": "Table des matières",
|
||||
"SUMMARY_INTRODUCTION": "Introduction",
|
||||
"SUMMARY_TOGGLE": "Table des matières",
|
||||
"SEARCH_TOGGLE": "Recherche",
|
||||
"SEARCH_PLACEHOLDER": "Tapez pour rechercher",
|
||||
"FONTSETTINGS_TOGGLE": "Paramètres de Police",
|
||||
"SHARE_TOGGLE": "Partage",
|
||||
"SHARE_ON": "Partager sur __platform__",
|
||||
"FONTSETTINGS_WHITE": "Clair",
|
||||
"FONTSETTINGS_SEPIA": "Sépia",
|
||||
"FONTSETTINGS_NIGHT": "Nuit",
|
||||
"FONTSETTINGS_SANS": "Sans",
|
||||
"FONTSETTINGS_SERIF": "Serif"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "Scegli una lingua",
|
||||
"GLOSSARY": "Glossario",
|
||||
"GLOSSARY_INDEX": "Indice",
|
||||
"GLOSSARY_OPEN": "Glossario",
|
||||
"GITBOOK_LINK": "Pubblicato con GitBook",
|
||||
"SUMMARY": "Sommario",
|
||||
"SUMMARY_INTRODUCTION": "Introduzione",
|
||||
"SUMMARY_TOGGLE": "Sommario",
|
||||
"SEARCH_TOGGLE": "Cerca",
|
||||
"SEARCH_PLACEHOLDER": "Scrivi per cercare",
|
||||
"FONTSETTINGS_TOGGLE": "Impostazioni dei caratteri",
|
||||
"SHARE_TOGGLE": "Condividi",
|
||||
"SHARE_ON": "Condividi su __platform__",
|
||||
"FONTSETTINGS_WHITE": "Bianco",
|
||||
"FONTSETTINGS_SEPIA": "Seppia",
|
||||
"FONTSETTINGS_NIGHT": "Notte",
|
||||
"FONTSETTINGS_SANS": "Sans",
|
||||
"FONTSETTINGS_SERIF": "Serif"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "Velg språk",
|
||||
"GLOSSARY": "Register",
|
||||
"GLOSSARY_INDEX": "Indeks",
|
||||
"GLOSSARY_OPEN": "Register",
|
||||
"GITBOOK_LINK": "Publisert med GitBook",
|
||||
"SUMMARY": "Innholdsfortegnelse",
|
||||
"SUMMARY_INTRODUCTION": "Innledning",
|
||||
"SUMMARY_TOGGLE": "Innholdsfortegnelse",
|
||||
"SEARCH_TOGGLE": "Søk",
|
||||
"SEARCH_PLACEHOLDER": "Skriv inn søkeord",
|
||||
"FONTSETTINGS_TOGGLE": "Tekstinnstillinger",
|
||||
"SHARE_TOGGLE": "Del",
|
||||
"SHARE_ON": "Del på __platform__",
|
||||
"FONTSETTINGS_WHITE": "Lys",
|
||||
"FONTSETTINGS_SEPIA": "Sepia",
|
||||
"FONTSETTINGS_NIGHT": "Mørk",
|
||||
"FONTSETTINGS_SANS": "Sans",
|
||||
"FONTSETTINGS_SERIF": "Serif"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "Escolher sua língua",
|
||||
"GLOSSARY": "Glossário",
|
||||
"GLOSSARY_INDEX": "Índice",
|
||||
"GLOSSARY_OPEN": "Glossário",
|
||||
"GITBOOK_LINK": "Publicado com GitBook",
|
||||
"SUMMARY": "Tabela de conteúdos",
|
||||
"SUMMARY_INTRODUCTION": "Introdução",
|
||||
"SUMMARY_TOGGLE": "Tabela de conteúdos",
|
||||
"SEARCH_TOGGLE": "Pesquise",
|
||||
"SEARCH_PLACEHOLDER": "Escreva para pesquisar",
|
||||
"FONTSETTINGS_TOGGLE": "Configurações de fonte",
|
||||
"SHARE_TOGGLE": "Compartilhar",
|
||||
"SHARE_ON": "Compartilhar no __platform__",
|
||||
"FONTSETTINGS_WHITE": "Claro",
|
||||
"FONTSETTINGS_SEPIA": "Sépia",
|
||||
"FONTSETTINGS_NIGHT": "Noite",
|
||||
"FONTSETTINGS_SANS": "Sans",
|
||||
"FONTSETTINGS_SERIF": "Serif"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "Выберите язык",
|
||||
"GLOSSARY": "Алфавитный указатель",
|
||||
"GLOSSARY_INDEX": "Алфавитный указатель",
|
||||
"GLOSSARY_OPEN": "Алфавитный указатель",
|
||||
"GITBOOK_LINK": "Опубликовано с помощью GitBook",
|
||||
"SUMMARY": "Содержание",
|
||||
"SUMMARY_INTRODUCTION": "Введение",
|
||||
"SUMMARY_TOGGLE": "Содержание",
|
||||
"SEARCH_TOGGLE": "Поиск",
|
||||
"SEARCH_PLACEHOLDER": "Введите условия поиска",
|
||||
"FONTSETTINGS_TOGGLE": "Шрифт",
|
||||
"SHARE_TOGGLE": "Поделиться",
|
||||
"SHARE_ON": "Поделиться в __platform__",
|
||||
"FONTSETTINGS_WHITE": "Светлый",
|
||||
"FONTSETTINGS_SEPIA": "Сепия",
|
||||
"FONTSETTINGS_NIGHT": "Тёмный",
|
||||
"FONTSETTINGS_SANS": "Sans",
|
||||
"FONTSETTINGS_SERIF": "Serif"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "选择一种语言",
|
||||
"GLOSSARY": "术语表",
|
||||
"GLOSSARY_INDEX": "索引",
|
||||
"GLOSSARY_OPEN": "术语表",
|
||||
"GITBOOK_LINK": "本书使用 GitBook 发布",
|
||||
"SUMMARY": "目录",
|
||||
"SUMMARY_INTRODUCTION": "介绍",
|
||||
"SUMMARY_TOGGLE": "目录",
|
||||
"SEARCH_TOGGLE": "搜索",
|
||||
"SEARCH_PLACEHOLDER": "输入并搜索",
|
||||
"FONTSETTINGS_TOGGLE": "字体设置",
|
||||
"SHARE_TOGGLE": "分享",
|
||||
"SHARE_ON": "分享到 __platform__",
|
||||
"FONTSETTINGS_WHITE": "白色",
|
||||
"FONTSETTINGS_SEPIA": "棕褐色",
|
||||
"FONTSETTINGS_NIGHT": "夜间",
|
||||
"FONTSETTINGS_SANS": "无衬线体",
|
||||
"FONTSETTINGS_SERIF": "衬线体"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"LANGS_CHOOSE": "選擇一種語言",
|
||||
"GLOSSARY": "術語表",
|
||||
"GLOSSARY_INDEX": "索引",
|
||||
"GLOSSARY_OPEN": "術語表",
|
||||
"GITBOOK_LINK": "本書使用 GitBook 釋出",
|
||||
"SUMMARY": "目錄",
|
||||
"SUMMARY_INTRODUCTION": "介紹",
|
||||
"SUMMARY_TOGGLE": "目錄",
|
||||
"SEARCH_TOGGLE": "搜尋",
|
||||
"SEARCH_PLACEHOLDER": "輸入並搜尋",
|
||||
"FONTSETTINGS_TOGGLE": "字型設定",
|
||||
"SHARE_TOGGLE": "分享",
|
||||
"SHARE_ON": "分享到 __platform__",
|
||||
"FONTSETTINGS_WHITE": "白色",
|
||||
"FONTSETTINGS_SEPIA": "棕褐色",
|
||||
"FONTSETTINGS_NIGHT": "夜間",
|
||||
"FONTSETTINGS_SANS": "無襯線體",
|
||||
"FONTSETTINGS_SERIF": "襯線體"
|
||||
}
|
|
@ -11,9 +11,8 @@ define([
|
|||
"core/navigation",
|
||||
"core/progress",
|
||||
"core/sidebar",
|
||||
"core/search",
|
||||
"core/glossary"
|
||||
], function($, storage, sharing, dropdown, events, fontSettings, state, keyboard, navigation, progress, sidebar, search, glossary){
|
||||
"core/search"
|
||||
], function($, storage, sharing, dropdown, events, fontSettings, state, keyboard, navigation, progress, sidebar, search){
|
||||
var start = function(config) {
|
||||
var $book;
|
||||
$book = state.$book;
|
||||
|
@ -24,9 +23,6 @@ define([
|
|||
// Load search
|
||||
search.init();
|
||||
|
||||
// Load glossary
|
||||
glossary.init();
|
||||
|
||||
// Init keyboard
|
||||
keyboard.init();
|
||||
|
||||
|
|
|
@ -5,52 +5,33 @@
|
|||
|
||||
.page {
|
||||
&.page-toc {
|
||||
ol {
|
||||
margin: 0px;
|
||||
.glossary {
|
||||
margin-bottom: 40px;
|
||||
|
||||
h2 {
|
||||
a, a:hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.glossary-index {
|
||||
list-style: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
|
||||
li {
|
||||
display: inline;
|
||||
margin: 0px 8px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.book-chapter {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.exercise, .quiz {
|
||||
margin: 1cm 0cm;
|
||||
border: 2px solid #ddd;
|
||||
|
||||
.exercise-header {
|
||||
padding: 0.1cm 0.3cm;
|
||||
background: #f5f5f5;
|
||||
border-bottom: 1px solid #ddd;
|
||||
font-weight: bold;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
.exercise-inner {
|
||||
padding: 0.15cm 0.3cm;
|
||||
|
||||
p:last-child {
|
||||
margin: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
.question {
|
||||
margin-top: 0.1cm;
|
||||
border-top: 1px solid #ddd;
|
||||
|
||||
.question-base {
|
||||
|
||||
}
|
||||
|
||||
.question-solution {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@import "base/normalize.less";
|
||||
@import "base/preboot.less";
|
||||
/*@import "../vendors/fontawesome/less/font-awesome.less";*/
|
||||
@import "../vendors/fontawesome/less/font-awesome.less";
|
||||
|
||||
@import "mixins.less";
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
|||
@import "website/markdown.less";
|
||||
@import "website/navigation.less";
|
||||
@import "website/glossary.less";
|
||||
@import "website/arangodb.less";
|
||||
|
||||
* {
|
||||
.box-sizing(border-box);
|
||||
|
@ -42,7 +41,7 @@ html {
|
|||
|
||||
body {
|
||||
text-rendering: optimizeLegibility;
|
||||
font-smoothing: antialiased;
|
||||
font-family: @font-family-base;
|
||||
font-smoothing: antialiased;
|
||||
font-family: @font-family-base;
|
||||
font-size: @font-size-base;
|
||||
}
|
||||
|
|
|
@ -12,12 +12,16 @@ div.example_show_button {
|
|||
.book .book-summary ul.summary li.active>a,.book .book-summary ul.summary li a:hover {
|
||||
color: #000 !important;
|
||||
background: #80A54D !important;
|
||||
}
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.book .book-body .page-wrapper .page-inner section.normal .deprecated{
|
||||
background-color: rgba(240,240,0,0.4);
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal .deprecated{
|
||||
background-color: rgba(240,240,0,0.4);
|
||||
}
|
||||
|
||||
.book .book-body .page-wrapper .page-inner section.normal .deprecated pre{
|
||||
.book .book-body .page-wrapper .page-inner section.normal .deprecated pre{
|
||||
background-color: rgba(240,240,0,0.4);
|
||||
}
|
||||
}
|
||||
.versionDifference{
|
||||
color: #888;
|
||||
}
|
|
@ -1,15 +1,15 @@
|
|||
.book-header{
|
||||
#font-settings-wrapper{
|
||||
#enlarge-font-size, #reduce-font-size {
|
||||
line-height: 30px;
|
||||
}
|
||||
#font-settings-wrapper{
|
||||
#enlarge-font-size, #reduce-font-size {
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
#enlarge-font-size{
|
||||
font-size: 1.4em;
|
||||
}
|
||||
#reduce-font-size{
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
#enlarge-font-size{
|
||||
font-size: 1.4em;
|
||||
}
|
||||
#reduce-font-size{
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@staticPath: "./";
|
||||
@staticPath: ".";
|
||||
|
||||
// Font sizes
|
||||
@font-size-base: 14px;
|
||||
|
|
|
@ -1,15 +1,21 @@
|
|||
{% extends "./page.html" %}
|
||||
|
||||
{% block title %}Glossary | {{ title }}{% endblock %}
|
||||
{% block title %}{% i18n "GLOSSARY" %}Glossary{% endi18n %} | {{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="page page-toc">
|
||||
<h1>Glossary</h1>
|
||||
{% for item in glossaryIndex %}
|
||||
<section class="normal glossary" id="{{ item.id }}">
|
||||
<h2><a href="#{{ item.id }}">{{ item.name }}</a></h2>
|
||||
<p>{{ item.description }}</p>
|
||||
</section>
|
||||
{% endfor %}
|
||||
<h1 class="book-chapter book-chapter-1">{% i18n "GLOSSARY" %}Glossary{% endi18n %}</h1>
|
||||
<h1>{% i18n "GLOSSARY" %}Glossary{% endi18n %}</h1>
|
||||
{% for item in glossary %}
|
||||
<section class="normal glossary" id="{{ item.id }}">
|
||||
<h2><a href="#{{ item.id }}">{{ item.name }}</a></h2>
|
||||
<p>{{ item.description|safe }}</p>
|
||||
<ul class="glossary-index">
|
||||
{% for file in item.files %}
|
||||
<li><a href="{{ basePath }}/{{ file.path|contentLink }}"><span class="level">{{ file.level }}.</span> {{ file.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
<div class="exercise-header">Exercise</div>
|
||||
<div class="exercise-inner">
|
||||
{% autoescape false %}{{ section.content }}{% endautoescape %}
|
||||
</div>
|
||||
<div class="exercise-inner">
|
||||
<pre><code>{% autoescape false %}{{ section.code.base|code }}{% endautoescape %}</code></pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="exercise-inner">
|
||||
<pre><code>{% autoescape false %}{{ section.code.solution|code }}{% endautoescape %}</code></pre>
|
||||
</div>
|
|
@ -1,14 +0,0 @@
|
|||
<div class="exercise-header">Quiz</div>
|
||||
<div class="exercise-inner">{% autoescape false %}{{ section.content }}{% endautoescape %}</div>
|
||||
{% for quiz in section.quiz %}
|
||||
<div class="question exercise-inner">
|
||||
<div class="question-header">Question {{ loop.index }} of {{ section.quiz.length }}</div>
|
||||
|
||||
<div class="question-base">
|
||||
{% autoescape false %}{{ quiz.base }}{% endautoescape %}
|
||||
</div>
|
||||
<div class="question-solution">
|
||||
{% autoescape false %}{{ quiz.solution }}{% endautoescape %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
|
@ -1,22 +1,24 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US" {% block htmlTag %}{% endblock %}>
|
||||
{{ htmlSnippet("html:start")|default("") }}
|
||||
<html lang="{{ language }}" {% block htmlTag %}{% endblock %} {% if options.direction == "rtl" %}dir="rtl"{% endif %}>
|
||||
{{ htmlSnippet("html:start")|default("")|safe }}
|
||||
<head>
|
||||
{{ htmlSnippet("head:start")|default("") }}
|
||||
{{ htmlSnippet("head:start")|default("")|safe }}
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
<meta name="description" content="{% block description %}{% endblock %}">
|
||||
<meta name="generator" content="GitBook {{ gitbook.version }}">
|
||||
{% if options.author %}<meta name="author" content="{{ options.author }}">{% endif %}
|
||||
{% if options.isbn %}<meta name="identifier" content="{{ options.isbn }}" scheme="ISBN">{% endif %}
|
||||
{% block head %}{% endblock %}
|
||||
{{ htmlSnippet("head:end")|default("") }}
|
||||
{{ htmlSnippet("head:end")|default("")|safe }}
|
||||
</head>
|
||||
<body>
|
||||
{{ htmlSnippet("body:start")|default("") }}
|
||||
{{ htmlSnippet("body:start")|default("")|safe }}
|
||||
{% block style %}{% endblock %}
|
||||
{% block content %}{% endblock %}
|
||||
{% block javascript %}{% endblock %}
|
||||
{{ htmlSnippet("body:end")|default("") }}
|
||||
{{ htmlSnippet("body:end")|default("")|safe }}
|
||||
</body>
|
||||
{{ htmlSnippet("html:end")|default("") }}
|
||||
{{ htmlSnippet("html:end")|default("")|safe }}
|
||||
</html>
|
||||
|
|
|
@ -20,13 +20,9 @@
|
|||
<div class="page">
|
||||
<h1 class="book-chapter book-chapter-{{ progress.current.level|lvl }}">{{ progress.current.title }}</h1>
|
||||
{% for section in content %}
|
||||
<div class="{{ section.type }}" id="section-{{ section.id }}">
|
||||
<div class="{{ section.type }}" id="section-{{ section.id }}">
|
||||
{% if section.type == "normal" %}
|
||||
{% autoescape false %}{{ section.content }}{% endautoescape %}
|
||||
{% elif section.type == "exercise" %}
|
||||
{% include "./includes/exercise.html" with {section: section} %}
|
||||
{% elif section.type == "quiz" %}
|
||||
{% include "./includes/quiz.html" with {section: section} %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
{% extends "./page.html" %}
|
||||
|
||||
{% block title %}Table of Contents | {{ title }}{% endblock %}
|
||||
{% block title %}{% i18n "SUMMARY" %}Table of Contents{% endi18n %} | {{ title }}{% endblock %}
|
||||
|
||||
{% macro articles(_articles) %}
|
||||
{% for item in _articles %}
|
||||
{% set externalLink = item.path|isExternalLink %}
|
||||
<li>
|
||||
{% if item.path %}
|
||||
{% if !externalLink %}
|
||||
<a href="{{ basePath }}/{{ item.path|mdLink }}">{{ item.title }}</a>
|
||||
{% if item.path and item.exists %}
|
||||
{% if not item.external %}
|
||||
<a href="{{ basePath }}/{{ item.path|contentLink }}">{% if item.introduction %}{% i18n "SUMMARY_INTRODUCTION" %}Introduction{% endi18n %}{% else %}{{ item.title }}{% endif %}</a>
|
||||
{% else %}
|
||||
<a target="_blank" href="{{ item.path }}">{{ item.title }}</a>
|
||||
{% endif %}
|
||||
|
@ -17,7 +16,7 @@
|
|||
{% endif %}
|
||||
{% if item.articles.length > 0 %}
|
||||
<ol>
|
||||
{{ articles(item.articles) }}
|
||||
{{ articles(item.articles) }}
|
||||
</ol>
|
||||
{% endif %}
|
||||
</li>
|
||||
|
@ -26,12 +25,12 @@
|
|||
|
||||
{% block content %}
|
||||
<div class="page page-toc">
|
||||
<h1>Table of Contents</h1>
|
||||
<h1>{% i18n "SUMMARY" %}Table of Contents{% endi18n %}</h1>
|
||||
<ol>
|
||||
{{ articles(summary.chapters) }}
|
||||
|
||||
{% if glossary.length > 0 %}
|
||||
<li><a href="{{ basePath }}/GLOSSARY.html">Glossary</a></li>
|
||||
<li><a href="{{ basePath }}/GLOSSARY.html">{% i18n "GLOSSARY" %}Glossary{% endi18n %}</a></li>
|
||||
{% endif %}
|
||||
</ol>
|
||||
</div>
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
{% extends "page.html" %}
|
||||
|
||||
{% block title %}Glossary | {{ title }}{% endblock %}
|
||||
{% block title %}{% i18n "GLOSSARY" %}Glossary{% endi18n %} | {{ title }}{% endblock %}
|
||||
|
||||
{% block page_inner %}
|
||||
{% for item in glossaryIndex %}
|
||||
<section class="normal glossary" id="{{ item.id }}">
|
||||
<h2><a href="#{{ item.id }}">{{ item.name }}</a></h2>
|
||||
<p>{{ item.description }}</p>
|
||||
<h4>Index</h4>
|
||||
<ul class="glossary-index">
|
||||
{% for file in item.files %}
|
||||
<li><a href="{{ basePath }}/{{ file.path|mdLink }}"><span class="level">{{ file.level }}.</span> {{ file.title }}</a></li>
|
||||
{% for item in glossary %}
|
||||
<section class="normal glossary" id="{{ item.id }}">
|
||||
<h2><a href="#{{ item.id }}">{{ item.name }}</a></h2>
|
||||
<p>{{ item.description|safe }}</p>
|
||||
<ul class="glossary-index">
|
||||
{% for file in item.files %}
|
||||
<li><a href="{{ basePath }}/{{ file.path|contentLink }}"><span class="level">{{ file.level }}.</span> {{ file.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
<div class="header">
|
||||
<h2>Exercise</h2>
|
||||
</div>
|
||||
<div class="alert alert-success">
|
||||
<b>Correct!</b>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-danger error-message">
|
||||
<b>False!</b>
|
||||
</div>
|
||||
|
||||
<div class="message">
|
||||
{% autoescape false %}{{ section.content }}{% endautoescape %}
|
||||
</div>
|
||||
<div class="editor" style="height: {{ section.code.solution|lines*20 }}px">{{ section.code.base }}</div>
|
||||
|
||||
<pre class="hidden code-solution">{{ section.code.solution }}</pre>
|
||||
<pre class="hidden code-validation">{{ section.code.validation }}</pre>
|
||||
{% if section.code.context %}
|
||||
<pre class="hidden code-context">{{ section.code.context }}</pre>
|
||||
{% endif %}
|
||||
|
||||
<div class="buttons">
|
||||
<a href="#" class="button size-2 action-submit">Submit</a>
|
||||
<a href="#" class="button size-2 action-solution">Solution</a>
|
||||
</div>
|
|
@ -10,13 +10,13 @@
|
|||
</div>
|
||||
|
||||
<div class="buttons font-family-list">
|
||||
<button type="button" data-font="0" class="button">Serif</button>
|
||||
<button type="button" data-font="1" class="button">Sans</button>
|
||||
<button type="button" data-font="0" class="button">{% i18n "FONTSETTINGS_SERIF" %}Serif{% endi18n %}</button>
|
||||
<button type="button" data-font="1" class="button">{% i18n "FONTSETTINGS_SANS" %}Sans{% endi18n %}</button>
|
||||
</div>
|
||||
|
||||
<div class="buttons color-theme-list">
|
||||
<button type="button" id="color-theme-preview-0" class="button size-3" data-theme="0">White</button>
|
||||
<button type="button" id="color-theme-preview-1" class="button size-3" data-theme="1">Sepia</button>
|
||||
<button type="button" id="color-theme-preview-2" class="button size-3" data-theme="2">Night</button>
|
||||
<button type="button" id="color-theme-preview-0" class="button size-3" data-theme="0">{% i18n "FONTSETTINGS_WHITE" %}White{% endi18n %}</button>
|
||||
<button type="button" id="color-theme-preview-1" class="button size-3" data-theme="1">{% i18n "FONTSETTINGS_SEPIA" %}Sepia{% endi18n %}</button>
|
||||
<button type="button" id="color-theme-preview-2" class="button size-3" data-theme="2">{% i18n "FONTSETTINGS_NIGHT" %}Night{% endi18n %}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
<a href="#" class="btn pull-left toggle-search" aria-label="Toggle search"><i class="fa fa-search"></i></a>
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="{% i18n "SUMMARY_TOGGLE" %}Table of Contents{% endi18n %}"><i class="fa fa-align-justify"></i></a>
|
||||
<a href="#" class="btn pull-left toggle-search" aria-label="{% i18n "SEARCH_TOGGLE" %}Search{% endi18n %}"><i class="fa fa-search"></i></a>
|
||||
{% if glossary.length > 0 %}
|
||||
<a href="{{ basePath }}/GLOSSARY.html" class="btn pull-left" aria-label="Open Glossary"><i class="fa fa-sort-alpha-asc"></i></a>
|
||||
<a href="{{ basePath }}/GLOSSARY.html" class="btn pull-left" aria-label="{% i18n "GLOSSARY_OPEN" %}Glossary{% endi18n %}"><i class="fa fa-sort-alpha-asc"></i></a>
|
||||
{% endif %}
|
||||
<div id="font-settings-wrapper" class="dropdown pull-left">
|
||||
<a href="#" class="btn toggle-dropdown" aria-label="Toggle font settings"><i class="fa fa-font"></i>
|
||||
<a href="#" class="btn toggle-dropdown" aria-label="{% i18n "FONTSETTINGS_TOGGLE" %}Font Settings{% endi18n %}"><i class="fa fa-font"></i>
|
||||
</a>
|
||||
{% include "./font-settings.html" %}
|
||||
</div>
|
||||
|
||||
<!-- Actions Right -->
|
||||
{% if options.links.sharing.all !== false %}
|
||||
{% if options.links.sharing.all != false %}
|
||||
<div class="dropdown pull-right">
|
||||
<a href="#" class="btn toggle-dropdown" aria-label="Toggle share dropdown"><i class="fa fa-share-alt"></i>
|
||||
<a href="#" class="btn toggle-dropdown" aria-label="{% i18n "SHARE_TOGGLE" %}Share{% endi18n %}"><i class="fa fa-share-alt"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu font-settings dropdown-left">
|
||||
<div class="dropdown-caret">
|
||||
|
@ -22,28 +22,27 @@
|
|||
<span class="caret-inner"></span>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<a href="{{ githubHost }}{{ githubId }}/stargazers" target="_blank" class="btn pull-right count-star hidden-xs"><i class="fa fa-star-o"></i> Star (<span>-</span>)</a>
|
||||
<button type="button" data-sharing="twitter" class="button">Twitter</button>
|
||||
<button type="button" data-sharing="google-plus" class="button">Google</button>
|
||||
<button type="button" data-sharing="facebook" class="button">Facebook</button>
|
||||
<button type="button" data-sharing="weibo" class="button">Weibo</button>
|
||||
<button type="button" data-sharing="instapaper" class="button">Instapaper</button>
|
||||
<button type="button" data-sharing="twitter" class="button">{% i18n "SHARE_ON", __platform__="Twitter" %}Share on __platform__{% endi18n %}</button>
|
||||
<button type="button" data-sharing="google-plus" class="button">{% i18n "SHARE_ON", __platform__="Google" %}Share on __platform__{% endi18n %}</button>
|
||||
<button type="button" data-sharing="facebook" class="button">{% i18n "SHARE_ON", __platform__="Facebook" %}Share on __platform__{% endi18n %}</button>
|
||||
<button type="button" data-sharing="weibo" class="button">{% i18n "SHARE_ON", __platform__="Weibo" %}Share on __platform__{% endi18n %}</button>
|
||||
<button type="button" data-sharing="instapaper" class="button">{% i18n "SHARE_ON", __platform__="Instapaper" %}Share on __platform__{% endi18n %}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if options.links.sharing.google !== false %}
|
||||
<a href="#" target="_blank" class="btn pull-right google-plus-sharing-link sharing-link" data-sharing="google-plus" aria-label="Share on Google Plus"><i class="fa fa-google-plus"></i></a>
|
||||
{% if options.links.sharing.google != false %}
|
||||
<a href="#" target="_blank" class="btn pull-right google-plus-sharing-link sharing-link" data-sharing="google-plus" aria-label="Google"><i class="fa fa-google-plus"></i></a>
|
||||
{% endif %}
|
||||
{% if options.links.sharing.facebook !== false %}
|
||||
<a href="#" target="_blank" class="btn pull-right facebook-sharing-link sharing-link" data-sharing="facebook" aria-label="Share on Facebook"><i class="fa fa-facebook"></i></a>
|
||||
{% if options.links.sharing.facebook != false %}
|
||||
<a href="#" target="_blank" class="btn pull-right facebook-sharing-link sharing-link" data-sharing="facebook" aria-label="Facebook"><i class="fa fa-facebook"></i></a>
|
||||
{% endif %}
|
||||
{% if options.links.sharing.twitter !== false %}
|
||||
<a href="#" target="_blank" class="btn pull-right twitter-sharing-link sharing-link" data-sharing="twitter" aria-label="Share on Twitter"><i class="fa fa-twitter"></i></a>
|
||||
{% if options.links.sharing.twitter != false %}
|
||||
<a href="#" target="_blank" class="btn pull-right twitter-sharing-link sharing-link" data-sharing="twitter" aria-label="Twitter"><i class="fa fa-twitter"></i></a>
|
||||
{% endif %}
|
||||
{% if options.links.sharing.weibo === true %}
|
||||
<a href="#" target="_blank" class="btn pull-right twitter-sharing-link sharing-link" data-sharing="weibo" aria-label="Share on Weibo"><i class="fa fa-weibo"></i></a>
|
||||
{% if options.links.sharing.weibo == true %}
|
||||
<a href="#" target="_blank" class="btn pull-right weibo-sharing-link sharing-link" data-sharing="weibo" aria-label="Weibo"><i class="fa fa-weibo"></i></a>
|
||||
{% endif %}
|
||||
|
||||
<!-- Title -->
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
<div class="header">
|
||||
<h2>Quiz</h2>
|
||||
</div>
|
||||
|
||||
<div class="message">
|
||||
{% autoescape false %}{{ section.content }}{% endautoescape %}
|
||||
</div>
|
||||
|
||||
|
||||
{% for quiz in section.quiz %}
|
||||
<div class="question">
|
||||
<div class="question-header">Question {{ loop.index }} of {{ section.quiz.length }}</div>
|
||||
|
||||
<div class="question-content">
|
||||
<div class="alert alert-success hidden">
|
||||
<b>Correct!</b>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-danger error-message hidden">
|
||||
<p><b>Not quite!</b></p>
|
||||
{% autoescape false %}{{ quiz.feedback }}{% endautoescape %}
|
||||
</div>
|
||||
|
||||
<div class="question-inner">
|
||||
{% autoescape false %}{{ quiz.base }}{% endautoescape %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hidden question-answers">
|
||||
<div class="question-inner">
|
||||
{% autoescape false %}{{ quiz.solution }}{% endautoescape %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<div class="buttons">
|
||||
<a href="#" class="button size-2 action-submit">Submit</a>
|
||||
<a href="#" class="button size-2 action-solution">Solution</a>
|
||||
</div>
|
|
@ -1,20 +1,19 @@
|
|||
{% macro articles(_articles) %}
|
||||
{% for item in _articles %}
|
||||
{% set externalLink = item.path|isExternalLink %}
|
||||
<li class="chapter {% if item.path == _input %}active{% endif %}" data-level="{{ item.level }}" {% if item.path && !externalLink %}data-path="{{ item.path|mdLink }}"{% endif %}>
|
||||
{% if item.path %}
|
||||
{% if !externalLink %}
|
||||
<a href="{{ basePath }}/{{ item.path|mdLink }}">
|
||||
<li class="chapter {% if item.path == _input %}active{% endif %}" data-level="{{ item.level }}" {% if item.path and not item.external %}data-path="{{ item.path|contentLink }}"{% endif %}>
|
||||
{% if item.path and item.exists %}
|
||||
{% if not item.external %}
|
||||
<a href="{{ basePath }}/{{ item.path|contentLink }}">
|
||||
<i class="fa fa-check"></i>
|
||||
{% if item.level !== "0" %}
|
||||
{% if item.level != "0" %}
|
||||
<b>{{ item.level }}.</b>
|
||||
{% endif %}
|
||||
{{ item.title }}
|
||||
{% if item.introduction and not item.title %}{% i18n "SUMMARY_INTRODUCTION" %}Introduction{% endi18n %}{% else %}{{ item.title }}{% endif %}
|
||||
</a>
|
||||
{% else %}
|
||||
<a target="_blank" href="{{ item.path }}">
|
||||
<i class="fa fa-check"></i>
|
||||
{% if item.level !== "0" %}
|
||||
{% if item.level != "0" %}
|
||||
<b>{{ item.level }}.</b>
|
||||
{% endif %}
|
||||
{{ item.title }}
|
||||
|
@ -25,7 +24,7 @@
|
|||
{% endif %}
|
||||
{% if item.articles.length > 0 %}
|
||||
<ul class="articles">
|
||||
{{ articles(item.articles) }}
|
||||
{{ articles(item.articles) }}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
|
@ -34,13 +33,16 @@
|
|||
|
||||
<div class="book-summary">
|
||||
<div class="book-search">
|
||||
<input type="text" placeholder="Type to search" class="form-control" />
|
||||
<input type="text" placeholder="{% i18n "SEARCH_PLACEHOLDER" %}Type to search{% endi18n %}" class="form-control" />
|
||||
</div>
|
||||
<ul class="summary">
|
||||
{% set _divider = false %}
|
||||
{% if options.links.sidebar %}
|
||||
{% for link in options.links.sidebar %}
|
||||
{% for linkTitle, link in options.links.sidebar %}
|
||||
{% set _divider = true %}
|
||||
<li>
|
||||
<a href="{{ link }}" target="blank" class="custom-link">{{ linkTitle }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<li>
|
||||
|
@ -54,8 +56,12 @@
|
|||
</div>
|
||||
</li>
|
||||
<span style="margin-left:15px; color:#333; font-size: 16px; font-weight:600">ArangoDB VERSION_NUMBER - Manual</span>
|
||||
{% if _divider %}
|
||||
<li class="divider"></li>
|
||||
{% endif %}
|
||||
|
||||
{{ articles(summary.chapters) }}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
{% block content %}
|
||||
<div class="book-langs-index">
|
||||
<div class="inner">
|
||||
<h3>Choose a language</h3>
|
||||
<h3>{% i18n "LANGS_CHOOSE" %}Choose a language{% endi18n %}</h3>
|
||||
|
||||
<ul class="languages">
|
||||
{% for lang in langs %}
|
||||
<li>
|
||||
<a href="{{ basePath}}/{{ lang.path|pathJoin("/index.html") }}">{{ lang.title }}</a>
|
||||
<a href="{{ basePath}}/{{ lang.lang }}/index.html">{{ lang.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
@ -1,32 +1,31 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US" {% block htmlTag %}{% endblock %}>
|
||||
{{ htmlSnippet("html:start")|default("") }}
|
||||
<html lang="{{ language }}" {% if options.direction == "rtl" %}dir="rtl"{% endif %}>
|
||||
{{ htmlSnippet("html:start")|default("")|safe }}
|
||||
<head>
|
||||
{{ htmlSnippet("head:start")|default("") }}
|
||||
{{ htmlSnippet("head:start")|default("")|safe }}
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" />
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
<meta name="description" content="{% block description %}{% endblock %}">
|
||||
<meta name="generator" content="GitBook {{ gitbook.version }}">
|
||||
{% if options.author %}<meta name="author" content="{{ options.author }}">{% endif %}
|
||||
{% if options.isbn %}<meta name="identifier" content="{{ options.isbn }}" scheme="ISBN">{% endif %}
|
||||
<meta name="HandheldFriendly" content="true"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ staticBase }}/images/apple-touch-icon-precomposed-152.png">
|
||||
<link rel="shortcut icon" href="https://www.arangodb.com/wp-content/themes/triagens/images/favicon.ico" type="image/x-icon">
|
||||
{% if options.isbn %}
|
||||
<meta name="identifier" content="{{ options.isbn }}" scheme="ISBN">
|
||||
{% endif %}
|
||||
<link rel="shortcut icon" href="{{ staticBase }}/images/favicon.ico" type="image/x-icon">
|
||||
{% block head %}{% endblock %}
|
||||
{{ htmlSnippet("head:end")|default("") }}
|
||||
{{ htmlSnippet("head:end")|default("")|safe }}
|
||||
</head>
|
||||
<body>
|
||||
{{ htmlSnippet("body:start")|default("") }}
|
||||
{{ htmlSnippet("body:start")|default("")|safe }}
|
||||
{% block style %}{% endblock %}
|
||||
{% block content %}{% endblock %}
|
||||
{% block javascript %}{% endblock %}
|
||||
{{ htmlSnippet("body:end")|default("") }}
|
||||
{{ htmlSnippet("body:end")|default("")|safe }}
|
||||
</body>
|
||||
{{ htmlSnippet("html:end")|default("") }}
|
||||
{{ htmlSnippet("html:end")|default("")|safe }}
|
||||
</html>
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
{% extends "./layout.html" %}
|
||||
|
||||
{% block head %}
|
||||
{% parent %}
|
||||
{{ super() }}
|
||||
{% if progress.current.next and progress.current.next.path %}
|
||||
<link rel="next" href="{{ basePath }}/{{ progress.current.next.path|mdLink }}" />
|
||||
<link rel="next" href="{{ basePath }}/{{ progress.current.next.path|contentLink }}" />
|
||||
{% endif %}
|
||||
{% if progress.current.prev and progress.current.prev.path %}
|
||||
<link rel="prev" href="{{ basePath }}/{{ progress.current.prev.path|mdLink }}" />
|
||||
<link rel="prev" href="{{ basePath }}/{{ progress.current.prev.path|contentLink }}" />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}{{ progress.current.title }} | {{ title }}{% endblock %}
|
||||
{% block description %}{% if progress.current.level == "0" %}{{ description }}{% endif %}{% endblock %}
|
||||
{% block title %}{% if progress.current.introduction and not progress.current.title %}{% i18n "SUMMARY_INTRODUCTION" %}Introduction{% endi18n %}{% else %}{{ progress.current.title }}{% endif %} | {{ title }}{% endblock %}
|
||||
{% block description %}{% if progress.current.level == "0" %}{{ description }}{% endif %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="book" data-level="{{ progress.current.level }}" data-basepath="{{ basePath }}" data-revision="{{ revision }}">
|
||||
<div class="book" data-level="{{ progress.current.level }}" data-basepath="{{ basePath }}" data-revision="{{ revision }}">
|
||||
{% include "includes/summary.html" %}
|
||||
<div class="book-body">
|
||||
<div class="body-inner">
|
||||
|
@ -23,13 +23,9 @@
|
|||
<div class="page-inner">
|
||||
{% block page_inner %}
|
||||
{% for section in content %}
|
||||
<section class="{{ section.type }}" id="section-{{ section.id }}">
|
||||
<section class="{{ section.type }}" id="section-{{ section.id }}">
|
||||
{% if section.type == "normal" %}
|
||||
{% autoescape false %}{{ section.content }}{% endautoescape %}
|
||||
{% elif section.type == "exercise" %}
|
||||
{% include "./includes/exercise.html" with {section: section} %}
|
||||
{% elif section.type == "quiz" %}
|
||||
{% include "./includes/quiz.html" with {section: section} %}
|
||||
{% endif %}
|
||||
</section>
|
||||
{% endfor %}
|
||||
|
@ -39,10 +35,10 @@
|
|||
</div>
|
||||
|
||||
{% if progress.current.prev and progress.current.prev.path %}
|
||||
<a href="{{ basePath }}/{{ progress.current.prev.path|mdLink }}" class="navigation navigation-prev {% if !progress.current.next or !progress.current.next.path %}navigation-unique{% endif %}" aria-label="Previous page: {{ progress.current.prev.title }}"><i class="fa fa-angle-left"></i></a>
|
||||
<a href="{{ basePath }}/{{ progress.current.prev.path|contentLink }}" class="navigation navigation-prev {% if not (progress.current.next and progress.current.next.path) %}navigation-unique{% endif %}" aria-label="Previous page: {{ progress.current.prev.title }}"><i class="fa fa-angle-left"></i></a>
|
||||
{% endif %}
|
||||
{% if progress.current.next and progress.current.next.path %}
|
||||
<a href="{{ basePath }}/{{ progress.current.next.path|mdLink }}" class="navigation navigation-next {% if !progress.current.prev or !progress.current.prev.path %}navigation-unique{% endif %}" aria-label="Next page: {{ progress.current.next.title }}"><i class="fa fa-angle-right"></i></a>
|
||||
<a href="{{ basePath }}/{{ progress.current.next.path|contentLink }}" class="navigation navigation-next {% if not (progress.current.prev or progress.current.prev.path) %}navigation-unique{% endif %}" aria-label="Next page: {{ progress.current.next.title }}"><i class="fa fa-angle-right"></i></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue