jekyll-rtd-theme 1.1.4 → 2.0.0.pre.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +46 -29
- data/_includes/assets/defaults.liquid +69 -0
- data/_includes/assets/i18n.liquid +1 -0
- data/_includes/{reset → assets}/site_pages.liquid +0 -0
- data/_includes/assets/sw.caches.js +43 -0
- data/_includes/{extend → assets}/tabs.liquid +0 -0
- data/_includes/{reset → assets}/workdir.liquid +1 -14
- data/_includes/class/_breadcrumbs.liquid +33 -0
- data/_includes/class/_footer.liquid +41 -0
- data/_includes/{extend/toctree.liquid → class/_toctree.extend.liquid} +8 -17
- data/_includes/class/_toctree.liquid +23 -0
- data/_includes/class/addons-wrap.liquid +26 -0
- data/_includes/class/addons/analytics.liquid +11 -0
- data/_includes/class/addons/github.liquid +21 -0
- data/_includes/class/content-wrap.liquid +20 -0
- data/_includes/class/sidebar-wrap.liquid +18 -0
- data/_includes/head/links.liquid +16 -0
- data/_includes/head/metadata.liquid +21 -0
- data/_includes/head/script.extension.liquid +24 -0
- data/_includes/head/script.liquid +16 -0
- data/_includes/head/script.schema.liquid +27 -0
- data/_includes/head/title.liquid +1 -0
- data/_includes/{extend/list.liquid → list.extend.liquid} +5 -5
- data/_includes/list.liquid +3 -3
- data/_includes/shortcodes/danger.liquid +9 -0
- data/_includes/shortcodes/mermaid.liquid +1 -0
- data/_includes/shortcodes/note.liquid +9 -0
- data/_includes/shortcodes/tip.liquid +9 -0
- data/_includes/shortcodes/warning.liquid +9 -0
- data/_layouts/default.liquid +17 -233
- data/_layouts/plugins/compress.liquid +13 -10
- data/_layouts/plugins/extension.liquid +32 -22
- data/_sass/@primer/base/base.scss +90 -0
- data/_sass/@primer/base/index.scss +6 -0
- data/_sass/@primer/base/kbd.scss +21 -0
- data/_sass/@primer/base/normalize.scss +423 -0
- data/_sass/@primer/base/typography-base.scss +100 -0
- data/_sass/@primer/breadcrumb/breadcrumb.scss +28 -0
- data/_sass/@primer/breadcrumb/index.scss +3 -0
- data/_sass/@primer/buttons/button-group.scss +91 -0
- data/_sass/@primer/buttons/button.scss +296 -0
- data/_sass/@primer/buttons/index.scss +4 -0
- data/_sass/@primer/buttons/misc.scss +205 -0
- data/_sass/@primer/forms/form-control.scss +278 -0
- data/_sass/@primer/forms/form-group.scss +279 -0
- data/_sass/@primer/forms/form-select.scss +38 -0
- data/_sass/@primer/forms/form-validation.scss +369 -0
- data/_sass/@primer/forms/index.scss +7 -0
- data/_sass/@primer/forms/input-group.scss +53 -0
- data/_sass/@primer/forms/radio-group.scss +43 -0
- data/_sass/@primer/markdown/blob-csv.scss +31 -0
- data/_sass/@primer/markdown/code.scss +73 -0
- data/_sass/@primer/markdown/headings.scss +72 -0
- data/_sass/@primer/markdown/images.scss +131 -0
- data/_sass/@primer/markdown/index.scss +8 -0
- data/_sass/@primer/markdown/lists.scss +76 -0
- data/_sass/@primer/markdown/markdown-body.scss +99 -0
- data/_sass/@primer/markdown/tables.scss +38 -0
- data/_sass/@primer/support/index.scss +11 -0
- data/_sass/@primer/support/mixins/buttons.scss +184 -0
- data/_sass/@primer/support/mixins/layout.scss +55 -0
- data/_sass/@primer/support/mixins/misc.scss +32 -0
- data/_sass/@primer/support/mixins/typography.scss +88 -0
- data/_sass/@primer/support/variables/color-system.scss +243 -0
- data/_sass/@primer/support/variables/colors.scss +55 -0
- data/_sass/@primer/support/variables/layout.scss +149 -0
- data/_sass/@primer/support/variables/misc.scss +42 -0
- data/_sass/@primer/support/variables/typography.scss +43 -0
- data/_sass/@primer/utilities/animations.scss +187 -0
- data/_sass/@primer/utilities/borders.scss +184 -0
- data/_sass/@primer/utilities/box-shadow.scss +25 -0
- data/_sass/@primer/utilities/colors.scss +185 -0
- data/_sass/@primer/utilities/details.scss +34 -0
- data/_sass/@primer/utilities/flexbox.scss +121 -0
- data/_sass/@primer/utilities/index.scss +14 -0
- data/_sass/@primer/utilities/layout.scss +134 -0
- data/_sass/@primer/utilities/margin.scss +68 -0
- data/_sass/@primer/utilities/padding.scss +59 -0
- data/_sass/@primer/utilities/typography.scss +325 -0
- data/_sass/@primer/utilities/visibility-display.scss +82 -0
- data/_sass/_font-face.scss +65 -0
- data/_sass/_icons.scss +57 -0
- data/_sass/_layout.scss +75 -0
- data/_sass/_reset.scss +21 -0
- data/_sass/_root.scss +9 -0
- data/_sass/_variables.scss +32 -0
- data/_sass/class/addons-wrap.scss +39 -0
- data/_sass/class/admonition.scss +47 -0
- data/_sass/class/container.scss +11 -0
- data/_sass/class/content-wrap.scss +4 -0
- data/_sass/class/header.scss +10 -0
- data/_sass/class/highlight.scss +214 -0
- data/_sass/class/markdown-body.scss +57 -0
- data/_sass/class/sidebar-wrap.scss +83 -0
- data/_sass/class/title.scss +12 -0
- data/_sass/theme.scss +30 -0
- data/assets/404.liquid +3 -3
- data/assets/css/theme.min.css +1 -0
- data/assets/css/theme.scss +4 -0
- data/assets/js/mermaid.min.js +5 -5
- data/assets/js/theme.js +305 -1
- data/assets/js/theme.min.js +1 -0
- data/assets/pages.liquid +1 -1
- data/assets/robots.liquid +1 -1
- data/assets/search.liquid +5 -21
- data/assets/sitemap.liquid +2 -2
- data/assets/sw.caches.liquid +8 -0
- metadata +100 -67
- data/_includes/addons.liquid +0 -24
- data/_includes/addons/analytics.liquid +0 -8
- data/_includes/addons/github.liquid +0 -6
- data/_includes/addons/i18n.liquid +0 -13
- data/_includes/addons/plugins.liquid +0 -6
- data/_includes/album.liquid +0 -7
- data/_includes/assets/common.js +0 -65
- data/_includes/assets/custom.js +0 -0
- data/_includes/assets/custom.scss +0 -0
- data/_includes/assets/search.js +0 -76
- data/_includes/breadcrumbs.liquid +0 -43
- data/_includes/extra/footer.html +0 -0
- data/_includes/extra/head.html +0 -0
- data/_includes/footer.liquid +0 -37
- data/_includes/i18n/en.liquid +0 -29
- data/_includes/i18n/es.liquid +0 -29
- data/_includes/i18n/fr.liquid +0 -29
- data/_includes/i18n/it.liquid +0 -29
- data/_includes/i18n/ja.liquid +0 -29
- data/_includes/i18n/ko.liquid +0 -29
- data/_includes/i18n/ru.liquid +0 -29
- data/_includes/i18n/sv.liquid +0 -29
- data/_includes/i18n/zh-cn.liquid +0 -29
- data/_includes/reset/defaults.liquid +0 -86
- data/_includes/reset/i18n.liquid +0 -31
- data/_includes/reset/languages.liquid +0 -110
- data/_includes/toctree.liquid +0 -22
- data/_sass/_album.scss +0 -19
- data/_sass/_embed.scss +0 -23
- data/_sass/fluid.scss +0 -7
- data/_sass/jekyll-rtd-theme.scss +0 -128
- data/assets/css/rougify/base16.css +0 -1
- data/assets/css/rougify/base16.dark.css +0 -1
- data/assets/css/rougify/base16.light.css +0 -1
- data/assets/css/rougify/base16.monokai.css +0 -1
- data/assets/css/rougify/base16.monokai.dark.css +0 -1
- data/assets/css/rougify/base16.monokai.light.css +0 -1
- data/assets/css/rougify/base16.solarized.css +0 -1
- data/assets/css/rougify/base16.solarized.dark.css +0 -1
- data/assets/css/rougify/base16.solarized.light.css +0 -1
- data/assets/css/rougify/bw.css +0 -1
- data/assets/css/rougify/colorful.css +0 -1
- data/assets/css/rougify/github.css +0 -1
- data/assets/css/rougify/gruvbox.css +0 -1
- data/assets/css/rougify/gruvbox.dark.css +0 -1
- data/assets/css/rougify/gruvbox.light.css +0 -1
- data/assets/css/rougify/igorpro.css +0 -1
- data/assets/css/rougify/magritte.css +0 -1
- data/assets/css/rougify/molokai.css +0 -1
- data/assets/css/rougify/monokai.css +0 -1
- data/assets/css/rougify/monokai.sublime.css +0 -1
- data/assets/css/rougify/pastie.css +0 -1
- data/assets/css/rougify/thankful_eyes.css +0 -1
- data/assets/css/rougify/tulip.css +0 -1
- data/assets/css/theme.css +0 -4
- data/assets/js/anchor.min.js +0 -9
- data/assets/js/html5shiv.min.js +0 -4
@@ -0,0 +1,20 @@
|
|
1
|
+
<div class="content-wrap">
|
2
|
+
<div class="header d-flex flex-justify-between p-2 hide-lg hide-xl" aria-label="top navigation">
|
3
|
+
<button id="toggle" class="btn-octicon p-2 m-0 text-white" type="button">
|
4
|
+
<i class="fa fa-bars"></i>
|
5
|
+
</button>
|
6
|
+
<div class="title flex-1 no-underline d-flex flex-justify-center">
|
7
|
+
<a class="h4 py-1 px-2 rounded-1" href="{{ site.baseurl }}/">{{ site.title }}</a>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
<div class="content p-5">
|
11
|
+
{% include class/_breadcrumbs.liquid %}
|
12
|
+
<hr>
|
13
|
+
<div role="main" itemscope="itemscope" itemtype="http://schema.org/Article">
|
14
|
+
<div class="markdown-body" itemprop="articleBody">
|
15
|
+
{{ content }}
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
{% include class/_footer.liquid %}
|
19
|
+
</div>
|
20
|
+
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<div class="sidebar-wrap overflow-hidden">
|
2
|
+
<div class="sidebar d-flex flex-column height-full overflow-y-scroll overflow-x-hidden">
|
3
|
+
<div class="header d-flex flex-column p-3 text-center">
|
4
|
+
<div class="title pb-1 no-underline">
|
5
|
+
<a class="h4 py-1 px-2 rounded-1" href="{{ site.baseurl }}/" title="{{ site.description }}">
|
6
|
+
<i class="fa fa-home"></i> {{ site.title }}
|
7
|
+
</a>
|
8
|
+
</div>
|
9
|
+
<span class="version text-gray">{{ docs.latest_release.name }}</span>
|
10
|
+
<form class="search pt-2" action="{{ site.baseurl }}/search.html" method="get" autocomplete="off">
|
11
|
+
<input class="form-control input-block input-sm" type="text" name="q" placeholder="{{ __.search_docs | default: 'Search docs...' }}">
|
12
|
+
</form>
|
13
|
+
</div>
|
14
|
+
<div class="toctree py-2" data-spy="affix" role="navigation" aria-label="main navigation">
|
15
|
+
{% include class/_toctree.liquid %}
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{%- comment %} canonical link {% endcomment %}
|
2
|
+
<link rel="canonical" href="{{ schema_surl }}">
|
3
|
+
|
4
|
+
{%- if prev -%}
|
5
|
+
<link rel="prev" href="{{ prev.url | absolute_url }}">
|
6
|
+
{%- endif -%}
|
7
|
+
|
8
|
+
{%- if next -%}
|
9
|
+
<link rel="next" href="{{ next.url | absolute_url }}">
|
10
|
+
{%- endif -%}
|
11
|
+
|
12
|
+
{% comment %} theme {% endcomment %}
|
13
|
+
<link rel="stylesheet" href="{{ cdn }}/assets/css/theme{% if site.debug.dist != false %}.min{% endif %}.css">
|
14
|
+
|
15
|
+
{% comment %} icon {% endcomment %}
|
16
|
+
<link rel="icon" type="image/svg+xml" href="{{ site.baseurl }}/favicon.svg">
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<meta charset="utf-8">
|
2
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
3
|
+
<meta name="description" content="{{ description }}">
|
4
|
+
<meta name="revised" content="{{ docs.build_revision }}">
|
5
|
+
<meta name="author" content="{{ author }}">
|
6
|
+
<meta name="generator" content="jekyll-rtd-theme v{{ version }}">
|
7
|
+
|
8
|
+
{%- comment %} custom {% endcomment %}
|
9
|
+
{% for meta in site.meta -%}
|
10
|
+
<meta name="{{ meta.first }}" content="{{ meta.last }}">
|
11
|
+
{% endfor -%}
|
12
|
+
|
13
|
+
{% comment %} https://ogp.me {% endcomment %}
|
14
|
+
<meta property="og:title" content="{{ title }}">
|
15
|
+
<meta property="og:description" content="{{ description }}">
|
16
|
+
<meta property="og:locale" content="{{ lang }}">
|
17
|
+
<meta property="og:url" content="{{ schema_surl }}">
|
18
|
+
<meta property="og:type" content="article">
|
19
|
+
<meta property="article:author" content="{{ author }}">
|
20
|
+
<meta property="article:published_time" content="{{ schema_date }}">
|
21
|
+
<meta property="article:modified_time" content="{{ schema_modi }}">
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{%- comment %} mermaid {% endcomment -%}
|
2
|
+
{%- if content contains '<code class="language-mermaid">' -%}
|
3
|
+
{%- if site.mermaid.custom -%}
|
4
|
+
<script src="{{ site.mermaid.custom }}"></script>
|
5
|
+
{%- else -%}
|
6
|
+
<script src="{{ cdn }}/assets/js/mermaid.min.js"></script>
|
7
|
+
{%- endif %}
|
8
|
+
<script>
|
9
|
+
mermaid.initialize({% if site.mermaid.initialize %}{{ site.mermaid.initialize | jsonify }}{% else %}{}{% endif %});
|
10
|
+
</script>
|
11
|
+
{%- endif %}
|
12
|
+
|
13
|
+
{% comment %} Google Analytics {% endcomment %}
|
14
|
+
{%- if site.google.gtag -%}
|
15
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.gtag }}"></script>
|
16
|
+
<script>
|
17
|
+
window.dataLayer = window.dataLayer || [];
|
18
|
+
function gtag() {
|
19
|
+
dataLayer.push(arguments);
|
20
|
+
}
|
21
|
+
gtag("js", new Date());
|
22
|
+
gtag("config", "{{ site.google.gtag }}");
|
23
|
+
</script>
|
24
|
+
{%- endif -%}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<script>
|
2
|
+
window.ui = {
|
3
|
+
title: "{{ site.title }}",
|
4
|
+
lang: "{{ site.lang }}",
|
5
|
+
version: "{{ version }}",
|
6
|
+
baseurl: "{{ site.baseurl }}",
|
7
|
+
i18n: {
|
8
|
+
search_docs: "{{ __.search_docs | default: 'Search Docs' }}",
|
9
|
+
search_results: "{{ __.search_results | default: 'Search Results' }}",
|
10
|
+
search_results_found: "{{ __.search_results_found | default: 'Search finished, found # page(s) matching the search query.' }}",
|
11
|
+
search_results_not_found: "{{ __.search_results_not_found | default: 'Your search did not match any documents, please make sure that all characters are spelled correctly!' }}"
|
12
|
+
}
|
13
|
+
};
|
14
|
+
</script>
|
15
|
+
<script src="{{ cdn }}/assets/js/jquery.min.js"></script>
|
16
|
+
<script src="{{ cdn }}/assets/js/theme{% if site.debug.dist != false %}.min{% endif %}.js"></script>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<script type="application/ld+json">
|
2
|
+
{
|
3
|
+
"@context": "https://schema.org",
|
4
|
+
"@type": "Article",
|
5
|
+
"mainEntityOfPage": {
|
6
|
+
"@type": "WebPage",
|
7
|
+
"@id": "{{ schema_surl }}"
|
8
|
+
},
|
9
|
+
"headline": "{{ title }}",
|
10
|
+
"image": [{% for image in page.images %}"{{ image }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
|
11
|
+
"author": {
|
12
|
+
"@type": "Person",
|
13
|
+
"name": "{{ author }}"
|
14
|
+
},
|
15
|
+
"datePublished": "{{ schema_date }}",
|
16
|
+
"dateModified": "{{ schema_modi }}",
|
17
|
+
"publisher": {
|
18
|
+
"@type": "{{ docs.owner.type }}",
|
19
|
+
"name": "{{ author }}",
|
20
|
+
"logo": {
|
21
|
+
"@type": "ImageObject",
|
22
|
+
"url": "{{ docs.owner.avatar_url }}"
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"description": "{{ description }}"
|
26
|
+
}
|
27
|
+
</script>
|
@@ -0,0 +1 @@
|
|
1
|
+
<title>{{ title }}</title>
|
@@ -1,15 +1,15 @@
|
|
1
|
-
{%- include
|
2
|
-
{%- include
|
1
|
+
{%- include assets/site_pages.liquid -%}
|
2
|
+
{%- include assets/workdir.liquid -%}
|
3
3
|
|
4
4
|
{%- assign base = page.dir | append: "temp/" | split: "/" | size -%}
|
5
5
|
{%- assign size = workdir_level | minus: base -%}
|
6
6
|
{%- assign size_p1 = size | plus: 1 -%}
|
7
7
|
|
8
8
|
{%- assign dir = site_pages | where: "url", workdir | first %}
|
9
|
-
{% include
|
9
|
+
{% include assets/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{ dir.url | relative_url }})
|
10
10
|
|
11
11
|
{%- for item in workdir_files %}
|
12
|
-
{% include
|
12
|
+
{% include assets/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.url }}]({{ item.url | relative_url }})
|
13
13
|
{%- endfor -%}
|
14
14
|
|
15
|
-
{%- for workdir in workdir_dirs %}{% include
|
15
|
+
{%- for workdir in workdir_dirs %}{% include list.extend.liquid %}{% endfor -%}
|
data/_includes/list.liquid
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
{%- include
|
2
|
-
{%- include
|
1
|
+
{%- include assets/site_pages.liquid -%}
|
2
|
+
{%- include assets/workdir.liquid workdir=page.dir -%}
|
3
3
|
|
4
4
|
{%- for item in workdir_files %}
|
5
5
|
- [{{ item.title | default: item.url }}]({{ item.url | relative_url }})
|
6
6
|
{%- endfor -%}
|
7
7
|
|
8
8
|
{%- if include.all -%}
|
9
|
-
{%- for workdir in workdir_dirs %}{% include
|
9
|
+
{%- for workdir in workdir_dirs %}{% include list.extend.liquid %}{% endfor -%}
|
10
10
|
{%- endif -%}
|
@@ -0,0 +1 @@
|
|
1
|
+
<div class="mermaid overflow-x-auto">{{ codes }}</div>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<div class="admonition warning box-shadow mb-3">
|
2
|
+
<div class="title px-2 py-1">
|
3
|
+
<i class="fa fa-exclamation-circle"></i>
|
4
|
+
{{ __.warning | default: "Warning" }}
|
5
|
+
</div>
|
6
|
+
<div class="content p-2">
|
7
|
+
{{ codes | markdownify | strip_newlines -}}
|
8
|
+
</div>
|
9
|
+
</div>
|
data/_layouts/default.liquid
CHANGED
@@ -2,239 +2,23 @@
|
|
2
2
|
layout: plugins/compress
|
3
3
|
---
|
4
4
|
|
5
|
-
{%- include
|
5
|
+
{%- include assets/defaults.liquid -%}
|
6
6
|
|
7
7
|
<!DOCTYPE html>
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
<
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<script>
|
25
|
-
window.dataLayer = window.dataLayer || [];
|
26
|
-
|
27
|
-
function gtag() {
|
28
|
-
dataLayer.push(arguments);
|
29
|
-
}
|
30
|
-
|
31
|
-
function feedback(messages) {
|
32
|
-
gtag("event", "exception", {
|
33
|
-
"description": messages.join(":")
|
34
|
-
});
|
35
|
-
}
|
36
|
-
|
37
|
-
gtag("js", new Date());
|
38
|
-
</script>
|
39
|
-
<!-- meta -->
|
40
|
-
<meta name="description" content="{{ description }}">
|
41
|
-
<meta name="author" content="{{ author }}">
|
42
|
-
<meta name="revised" content="{{ commit }}">
|
43
|
-
<meta name="generator" content="jekyll-rtd-theme v{{ version }}">
|
44
|
-
<!-- meta-ogp -->
|
45
|
-
{% comment %} https://ogp.me {% endcomment %}
|
46
|
-
<meta property="og:title" content="{{ title }}">
|
47
|
-
<meta property="og:description" content="{{ description }}">
|
48
|
-
<meta property="og:locale" content="{{ lang }}">
|
49
|
-
<meta property="og:url" content="{{ schema_surl }}">
|
50
|
-
<meta property="og:type" content="article">
|
51
|
-
<meta property="article:author" content="{{ author }}">
|
52
|
-
<meta property="article:published_time" content="{{ schema_date }}">
|
53
|
-
<meta property="article:modified_time" content="{{ schema_modi }}">
|
54
|
-
<!-- meta-custom -->
|
55
|
-
{% for meta in site.meta -%}
|
56
|
-
<meta name="{{ meta.first }}" content="{{ meta.last }}">
|
57
|
-
{% endfor -%}
|
58
|
-
<!-- schema -->
|
59
|
-
<script type="application/ld+json">
|
60
|
-
{
|
61
|
-
"@context": "https://schema.org",
|
62
|
-
"@type": "Article",
|
63
|
-
"mainEntityOfPage": {
|
64
|
-
"@type": "WebPage",
|
65
|
-
"@id": "{{ schema_surl }}"
|
66
|
-
},
|
67
|
-
"headline": "{{ title | truncate: 110 }}",
|
68
|
-
"image": [{% for image in page.images %}"{{ image }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
|
69
|
-
"author": {
|
70
|
-
"@type": "Person",
|
71
|
-
"name": "{{ author }}"
|
72
|
-
},
|
73
|
-
"datePublished": "{{ schema_date }}",
|
74
|
-
"dateModified": "{{ schema_modi }}",
|
75
|
-
"publisher": {
|
76
|
-
"@type": "Organization",
|
77
|
-
"name": "RunDocs",
|
78
|
-
"logo": {
|
79
|
-
"@type": "ImageObject",
|
80
|
-
"url": "https://rundocs.io/logo.png"
|
81
|
-
}
|
82
|
-
},
|
83
|
-
"description": "{{ description }}"
|
84
|
-
}
|
85
|
-
</script>
|
86
|
-
<!-- link -->
|
87
|
-
<link rel="canonical" href="{{ schema_surl }}">
|
88
|
-
{% if prev %}<link rel="prev" href="{{ prev.url | absolute_url | replace: 'http://', 'https://' }}">{% endif %}
|
89
|
-
{% if next %}<link rel="next" href="{{ next.url | absolute_url | replace: 'http://', 'https://' }}">{% endif %}
|
90
|
-
<!-- theme -->
|
91
|
-
<link rel="stylesheet" href="{{ cdn }}/assets/css/theme.css">
|
92
|
-
<link rel="stylesheet" href="{{ cdn }}/assets/css/rougify/{{ site.rougify | default: 'github' }}.css">
|
93
|
-
<style>{{ site_scss | scssify | strip_newlines }}</style>
|
94
|
-
<!-- icon -->
|
95
|
-
<link rel="icon" type="image/svg+xml" href="{{ site.baseurl }}/favicon.svg">
|
96
|
-
<!-- script -->
|
97
|
-
<!--[if lt IE 9]><script src="{{ cdn }}/assets/js/html5shiv.min.js"></script><![endif]-->
|
98
|
-
<script src="{{ cdn }}/assets/js/jquery.min.js"></script>
|
99
|
-
<script>
|
100
|
-
const ui = {
|
101
|
-
baseurl: "{{ site.baseurl }}",
|
102
|
-
title: "{{ site.title }}",
|
103
|
-
lang: "{{ lang }}",
|
104
|
-
admonition: {
|
105
|
-
note: "{{ __note }}",
|
106
|
-
tip: "{{ __tip }}",
|
107
|
-
warning: "{{ __warning }}",
|
108
|
-
danger: "{{ __danger }}"
|
109
|
-
}
|
110
|
-
};
|
111
|
-
</script>
|
112
|
-
{% include extra/head.html %}
|
113
|
-
</head>
|
114
|
-
|
115
|
-
<body class="wy-body-for-nav">
|
116
|
-
<div class="wy-grid-for-nav">
|
117
|
-
<!-- NAV -->
|
118
|
-
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
119
|
-
<div class="wy-side-scroll">
|
120
|
-
<div class="wy-side-nav-search">
|
121
|
-
{% if site.logo %}
|
122
|
-
<a href="{{ site.baseurl }}/{% if site_lang != lang %}{{ lang }}/{% endif %}">
|
123
|
-
<img src="{{ site.baseurl }}/{{ site.logo }}" class="logo" alt="{{ site.title }}">
|
124
|
-
</a>
|
125
|
-
{% else %}
|
126
|
-
<a href="{{ site.baseurl }}/{% if site_lang != lang %}{{ lang }}/{% endif %}" class="icon icon-home"> {{ site.title }}</a>
|
127
|
-
{% endif %}
|
128
|
-
<div role="search">
|
129
|
-
<form id="rtd-search-form" class="wy-form" action="{{ site.baseurl }}/search.html" method="get" autocomplete="off">
|
130
|
-
<input type="text" name="q" placeholder="{{ __search_docs }}...">
|
131
|
-
<input type="hidden" name="lang" value="{{ lang }}">
|
132
|
-
</form>
|
133
|
-
</div>
|
134
|
-
</div>
|
135
|
-
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">{% include toctree.liquid %}</div>
|
136
|
-
{%- if site.embed -%}
|
137
|
-
<div class="wy-embed-wrap"><div class="wy-embed">{{ site.embed }}</div></div>
|
138
|
-
{%- endif -%}
|
139
|
-
</div>
|
140
|
-
</nav>
|
141
|
-
|
142
|
-
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
143
|
-
<!-- MOBILE NAV -->
|
144
|
-
<nav class="wy-nav-top" aria-label="top navigation">
|
145
|
-
<div class="flex">
|
146
|
-
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
147
|
-
<div class="wy-nav-title">
|
148
|
-
<a href="{{ site.baseurl }}/{% if site_lang != lang %}{{ lang }}/{% endif %}">{{ site.title }}</a>
|
149
|
-
</div>
|
150
|
-
</div>
|
151
|
-
</nav>
|
152
|
-
<div class="wy-nav-content">
|
153
|
-
<div class="rst-content">
|
154
|
-
{% include breadcrumbs.liquid %}
|
155
|
-
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
156
|
-
<div itemprop="articleBody">
|
157
|
-
{%- if page.url == "/search.html" -%}
|
158
|
-
{{ content }}
|
159
|
-
{%- else -%}
|
160
|
-
<div class="section">{{ content }}</div>
|
161
|
-
{%- endif -%}
|
162
|
-
</div>
|
163
|
-
{% comment %} comments {% endcomment %}
|
164
|
-
{% if site.disqus %}
|
165
|
-
<div id="disqus_thread" class="articleComments"></div>
|
166
|
-
<script>
|
167
|
-
(function(script) {
|
168
|
-
script.src = "https://{{ site.disqus }}.disqus.com/embed.js";
|
169
|
-
script.setAttribute("data-timestamp", +new Date());
|
170
|
-
document.head.appendChild(script);
|
171
|
-
})(document.createElement("script"));
|
172
|
-
</script>
|
173
|
-
{% endif %}
|
174
|
-
</div>
|
175
|
-
{% include footer.liquid %}
|
176
|
-
</div>
|
177
|
-
</div>
|
178
|
-
</section>
|
179
|
-
</div>
|
180
|
-
{%- if site.addons %}{% include addons.liquid %}{% endif %}
|
181
|
-
{% include extra/footer.html %}
|
182
|
-
<!-- script -->
|
183
|
-
<script src="{{ cdn }}/assets/js/theme.js"></script>
|
184
|
-
<script src="{{ cdn }}/assets/js/anchor.min.js"></script>
|
185
|
-
{% comment %} mermaid {% endcomment %}
|
186
|
-
{%- if content contains '<pre class="language-mermaid">' -%}
|
187
|
-
{%- if site.mermaid.src -%}
|
188
|
-
<script src="{{ site.mermaid.src }}"></script>
|
189
|
-
{%- else -%}
|
190
|
-
<script src="{{ cdn }}/assets/js/mermaid.min.js"></script>
|
191
|
-
{%- endif -%}
|
192
|
-
<script>mermaid.initialize({startOnLoad: true});</script>
|
193
|
-
{%- endif -%}
|
194
|
-
<script>
|
195
|
-
{% include assets/common.js %}
|
196
|
-
{% include assets/custom.js %} {{ site.script }}
|
197
|
-
</script>
|
198
|
-
|
199
|
-
{% comment %} Baidu link submit {% endcomment %}
|
200
|
-
{%- if site.baidu.linksubmit -%}
|
201
|
-
<script>
|
202
|
-
(function(script) {
|
203
|
-
script.src = "https://zz.bdstatic.com/linksubmit/push.js";
|
204
|
-
document.head.appendChild(script);
|
205
|
-
})(document.createElement("script"));
|
206
|
-
</script>
|
207
|
-
{%- endif -%}
|
208
|
-
|
209
|
-
{% comment %} Baidu Analytics {% endcomment %}
|
210
|
-
{%- if site.baidu.hm -%}
|
211
|
-
<script>
|
212
|
-
var _hmt = _hmt || [];
|
213
|
-
(function(script) {
|
214
|
-
script.src = "https://hm.baidu.com/hm.js?{{ site.baidu.hm }}";
|
215
|
-
document.head.appendChild(script);
|
216
|
-
})(document.createElement("script"));
|
217
|
-
</script>
|
218
|
-
{%- endif -%}
|
219
|
-
|
220
|
-
{% comment %} CNZZ Analytics {% endcomment %}
|
221
|
-
{%- if site.cnzz -%}
|
222
|
-
<span id="cnzz_stat_icon_{{ site.cnzz }}" style="display: none;"></span>
|
223
|
-
<script async src="https://v1.cnzz.com/z_stat.php?id={{ site.cnzz }}"></script>
|
224
|
-
{%- endif -%}
|
225
|
-
|
226
|
-
{% comment %} Google Analytics {% endcomment %}
|
227
|
-
{%- if site.google.gtag -%}
|
228
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.gtag }}"></script>
|
229
|
-
<script>
|
230
|
-
gtag("config", "{{ site.google.gtag }}");
|
231
|
-
</script>
|
232
|
-
{%- endif -%}
|
233
|
-
|
234
|
-
{% comment %} Google AdSense {% endcomment %}
|
235
|
-
{%- if site.google.adsense -%}
|
236
|
-
<script data-ad-client="{{ site.google.adsense }}" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
237
|
-
{%- endif -%}
|
238
|
-
</body>
|
239
|
-
|
8
|
+
<html lang="{{ site.lang }}">
|
9
|
+
<head>
|
10
|
+
{%- include head/metadata.liquid -%}
|
11
|
+
|
12
|
+
{%- include head/title.liquid -%}
|
13
|
+
{%- include head/links.liquid -%}
|
14
|
+
|
15
|
+
{%- include head/script.schema.liquid -%}
|
16
|
+
{%- include head/script.liquid -%}
|
17
|
+
{%- include head/script.extension.liquid -%}
|
18
|
+
</head>
|
19
|
+
<body class="container">
|
20
|
+
{%- include class/sidebar-wrap.liquid -%}
|
21
|
+
{%- include class/addons-wrap.liquid -%}
|
22
|
+
{%- include class/content-wrap.liquid -%}
|
23
|
+
</body>
|
240
24
|
</html>
|