jekyll-rtd-theme 2.0.9 → 2.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -6
  3. data/_includes/README.md +9 -0
  4. data/_includes/common/assets/data.liquid +3 -0
  5. data/_includes/common/assets/robots.liquid +4 -0
  6. data/_includes/common/assets/sitemap.liquid +12 -0
  7. data/_includes/{assets → common/assets}/sw.caches.js +3 -3
  8. data/_includes/common/core/_list.liquid +15 -0
  9. data/_includes/common/core/list.liquid +10 -0
  10. data/_includes/common/google_adsense.liquid +3 -0
  11. data/_includes/common/google_gtag.liquid +11 -0
  12. data/_includes/{node → common}/links.liquid +8 -15
  13. data/_includes/common/mermaid.liquid +10 -0
  14. data/_includes/common/metadata.liquid +12 -0
  15. data/_includes/common/opengraph.liquid +8 -0
  16. data/_includes/{reset → common/rest}/content.liquid +0 -0
  17. data/_includes/common/rest/defaults.liquid +7 -0
  18. data/_includes/{reset → common/rest}/description.liquid +0 -0
  19. data/_includes/{reset → common/rest}/i18n.liquid +0 -0
  20. data/_includes/{reset/navigation.liquid → common/rest/nav.liquid} +1 -1
  21. data/_includes/{reset → common/rest}/site_pages.liquid +0 -0
  22. data/_includes/{reset → common/rest}/tabs.liquid +0 -0
  23. data/_includes/{reset → common/rest}/title.liquid +0 -0
  24. data/_includes/{reset → common/rest}/variables.liquid +11 -10
  25. data/_includes/{reset → common/rest}/workdir.liquid +0 -0
  26. data/_includes/{node/script.schema.liquid → common/schema.liquid} +0 -0
  27. data/_includes/{node → common}/script.liquid +0 -7
  28. data/_includes/{node → common}/title.liquid +0 -0
  29. data/_includes/common/twitter_cards.liquid +6 -0
  30. data/_includes/list.liquid +1 -10
  31. data/_includes/rest/defaults.liquid +2 -0
  32. data/_includes/rest/script.liquid +7 -0
  33. data/_includes/rest/styles.liquid +5 -0
  34. data/_includes/{extend/toctree.liquid → templates/_toctree.liquid} +2 -2
  35. data/_includes/templates/addons.liquid +43 -0
  36. data/_includes/{class/_breadcrumbs.liquid → templates/breadcrumbs.liquid} +0 -0
  37. data/_includes/{class/content-wrap.liquid → templates/content.liquid} +4 -4
  38. data/_includes/{class/_footer.liquid → templates/footer.liquid} +2 -2
  39. data/_includes/{class/sidebar-wrap.liquid → templates/sidebar.liquid} +1 -1
  40. data/_includes/{class/_toctree.liquid → templates/toctree.liquid} +2 -2
  41. data/_layouts/default.liquid +17 -16
  42. data/_layouts/tasks/shortcodes.liquid +1 -1
  43. data/_sass/{_reset.scss → _rest.scss} +0 -0
  44. data/_sass/{class/addons-wrap.scss → core/addons.scss} +0 -0
  45. data/_sass/{class → core}/container.scss +0 -0
  46. data/_sass/{class/content-wrap.scss → core/content.scss} +0 -0
  47. data/_sass/{class → core}/header.scss +0 -0
  48. data/_sass/{class/markdown-body.scss → core/markdown.scss} +0 -0
  49. data/_sass/{class/sidebar-wrap.scss → core/sidebar.scss} +0 -0
  50. data/_sass/{class → core}/title.scss +0 -0
  51. data/_sass/{class → core}/toasts.scss +0 -0
  52. data/_sass/theme.scss +9 -9
  53. data/assets/404.liquid +1 -1
  54. data/assets/data.liquid +6 -0
  55. data/assets/images/{favicon.svg → favicon.liquid} +10 -2
  56. data/assets/js/theme.js +1 -1
  57. data/assets/js/theme.min.js +1 -1
  58. data/assets/robots.liquid +1 -4
  59. data/assets/search.liquid +1 -1
  60. data/assets/sitemap.liquid +1 -12
  61. data/assets/sw.caches.liquid +2 -2
  62. metadata +54 -48
  63. data/_includes/addons/github.liquid +0 -21
  64. data/_includes/assets/custom.js +0 -0
  65. data/_includes/assets/custom.scss +0 -0
  66. data/_includes/class/addons-wrap.liquid +0 -27
  67. data/_includes/extend/list.liquid +0 -15
  68. data/_includes/extra/footer.html +0 -0
  69. data/_includes/extra/head.html +0 -0
  70. data/_includes/node/metadata.liquid +0 -29
  71. data/_includes/node/script.extension.liquid +0 -29
  72. data/_includes/reset/defaults.liquid +0 -11
  73. data/_includes/reset/version.liquid +0 -1
  74. data/assets/pages.liquid +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5be214b02b1f5b58f306d9eb8c3719cb8f5b5e932f60c4b78c0cba345421c184
4
- data.tar.gz: c5a1e392e6c24c7b0cd4131badc6e5f2c0fd36fdbf7d7ca6ded74dd753b68725
3
+ metadata.gz: 12353811eacbf4378796c0318fbaf537b7fdac63f737395d529c53ce129d4190
4
+ data.tar.gz: e70e90269735276e5514d097966cf6a0ef20b7381a44d272d1e29d41cb3c943e
5
5
  SHA512:
6
- metadata.gz: fa9bc55a6087121fad482ad587d44358649c5e701a8d522f9d37a9ce8bc34ab55fc2b987b676adb675e738ff969b71ccce718d40ae5c6075845e2a7b97736a24
7
- data.tar.gz: 1577e84f5887f5f7a2e6dc63ca48cd165c4268dcafc3eecd01bf74811b7acd648a8e9cf59f8ccc029dedac8e51f084f0b0ab5f72373ce69f95f83b98095e0b9d
6
+ metadata.gz: b2d2b4c98f5eb9dbd6782505259dc9f59bb1273e27e9a2a6c37f2922f4b0a6eb1470a01612303cd16f811c7f7d9d145fdff35b6c1fca1f84aaf1cf189a2e4992
7
+ data.tar.gz: 9f204037d08ece1891e1f5275c0d17ef00144245d5e60d2fbe1c23562e51e820502056583e1f4e44399be016c57b2e09c142cd22b10c9133ff654190967e6371
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # jekyll-rtd-theme
2
2
 
3
- ![CI](https://github.com/rundocs/jekyll-rtd-theme/workflows/CI/badge.svg?branch=v2)
3
+ ![CI](https://github.com/rundocs/jekyll-rtd-theme/workflows/CI/badge.svg?branch=develop)
4
4
  ![jsDelivr](https://data.jsdelivr.com/v1/package/gh/rundocs/jekyll-rtd-theme/badge)
5
5
 
6
- Opinionated standard documentation theme, with few options, but everything!
6
+ Just another documentation theme compatible with GitHub Pages
7
7
 
8
8
  ## What it does?
9
9
 
@@ -66,13 +66,9 @@ mermaid:
66
66
  custom: # mermaid link
67
67
  initialize: # mermaid options, default: {}
68
68
 
69
- # also available via file: _include/assets/custom.scss
70
69
  scss:
71
-
72
- # also available via file: _include/assets/custom.js
73
70
  script:
74
71
 
75
- # also available via file: _data/translate.yml
76
72
  translate:
77
73
  # shortcodes
78
74
  danger:
@@ -0,0 +1,9 @@
1
+ # Document Statement
2
+
3
+ ## templates
4
+
5
+ Template files for this theme
6
+
7
+ ## common
8
+
9
+ Some common variables and code snippets are designed to be shared by multiple themes
@@ -0,0 +1,3 @@
1
+ {%- include common/rest/site_pages.liquid -%}
2
+
3
+ {{- site_pages | jsonify -}}
@@ -0,0 +1,4 @@
1
+ User-agent: *
2
+ Allow: /
3
+
4
+ Sitemap: {{ "sitemap.xml" | absolute_url }}
@@ -0,0 +1,12 @@
1
+ {%- include common/rest/site_pages.liquid -%}
2
+
3
+ <?xml version="1.0" encoding="UTF-8"?>
4
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
5
+ {%- for page in site_pages -%}
6
+ <url>
7
+ <loc>{{ page.url | absolute_url | xml_escape }}</loc>
8
+ <priority>{{ page.content | size | divided_by: 2048.0 | times: 10 | ceil | divided_by: 10.0 | at_least: 0.1 | at_most: 1.0 }}</priority>
9
+ <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
10
+ </url>
11
+ {%- endfor %}
12
+ </urlset>
@@ -1,5 +1,5 @@
1
1
  self.addEventListener("activate", function (event) {
2
- const current = ["rundocs-{{ version }}"];
2
+ const current = ["{{ theme_alias }}"];
3
3
 
4
4
  event.waitUntil(
5
5
  caches.keys().then(function (keyList) {
@@ -15,7 +15,7 @@ self.addEventListener("activate", function (event) {
15
15
  });
16
16
 
17
17
  self.addEventListener("fetch", function (e) {
18
- if (e.request.url.match("rundocs/jekyll-rtd-theme@{{ version }}")) {
18
+ if (e.request.url.match("{{ theme_alias }}")) {
19
19
  e.respondWith(
20
20
  caches.match(e.request).then(function (resp) {
21
21
  if (resp !== undefined) {
@@ -26,7 +26,7 @@ self.addEventListener("fetch", function (e) {
26
26
  })
27
27
  .then(function (resp) {
28
28
  let clone = resp.clone();
29
- caches.open("rundocs-{{ version }}").then(function (cache) {
29
+ caches.open("{{ theme_alias }}").then(function (cache) {
30
30
  cache.put(e.request, clone);
31
31
  });
32
32
  return resp;
@@ -0,0 +1,15 @@
1
+ {%- include common/rest/site_pages.liquid -%}
2
+ {%- include common/rest/workdir.liquid -%}
3
+
4
+ {%- assign base = page.dir | append: "temp/" | split: "/" | size -%}
5
+ {%- assign size = workdir_level | minus: base -%}
6
+ {%- assign size_p1 = size | plus: 1 -%}
7
+
8
+ {%- assign dir = site_pages | where: "url", workdir | first %}
9
+ {% include common/rest/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{ dir.url | relative_url }})
10
+
11
+ {%- for item in workdir_files %}
12
+ {% include common/rest/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.name }}]({{ item.url | relative_url }})
13
+ {%- endfor -%}
14
+
15
+ {%- for workdir in workdir_dirs %}{% include common/core/_list.liquid %}{% endfor -%}
@@ -0,0 +1,10 @@
1
+ {%- include common/rest/site_pages.liquid -%}
2
+ {%- include common/rest/workdir.liquid workdir=page.dir -%}
3
+
4
+ {%- for item in workdir_files %}
5
+ - [{{ item.title | default: item.name }}]({{ item.url | relative_url }})
6
+ {%- endfor -%}
7
+
8
+ {%- if include.all -%}
9
+ {%- for workdir in workdir_dirs %}{% include common/core/_list.liquid %}{% endfor -%}
10
+ {%- endif -%}
@@ -0,0 +1,3 @@
1
+ {%- if site.google.adsense -%}
2
+ <script data-ad-client="{{ site.google.adsense }}" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
3
+ {%- endif -%}
@@ -0,0 +1,11 @@
1
+ {%- if site.google.gtag -%}
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.gtag }}"></script>
3
+ <script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag() {
6
+ dataLayer.push(arguments);
7
+ }
8
+ gtag("js", new Date());
9
+ gtag("config", "{{ site.google.gtag }}");
10
+ </script>
11
+ {%- endif -%}
@@ -1,10 +1,7 @@
1
1
  {%- comment %} dns-prefetch {% endcomment %}
2
- <link rel="dns-prefetch" href="https://rundocs-analytics.glitch.me">
3
2
  <link rel="dns-prefetch" href="https://cdn.jsdelivr.net">
4
3
 
5
- {%- comment %} canonical link {% endcomment %}
6
- <link rel="canonical" href="{{ schema_surl }}">
7
-
4
+ {%- comment %} canonical link {% endcomment -%}
8
5
  {%- if prev -%}
9
6
  <link rel="prev" href="{{ prev.url | absolute_url }}">
10
7
  {%- endif -%}
@@ -13,21 +10,17 @@
13
10
  <link rel="next" href="{{ next.url | absolute_url }}">
14
11
  {%- endif -%}
15
12
 
16
- {% comment %} theme {% endcomment %}
17
- <link rel="stylesheet" href="{{ base }}/assets/css/theme{% if site.debug.dist != false %}.min{% endif %}.css">
18
-
19
- {%- if custom_scss.size > 0 -%}
20
- <style>{{ custom_scss | scssify | strip_newlines }}</style>
21
- {%- endif -%}
13
+ <link rel="canonical" href="{{ schema_surl }}">
22
14
 
23
- {% comment %} favicon icon {% endcomment %}
15
+ {%- comment %} favicon icon {% endcomment -%}
24
16
  <link rel="icon" type="image/svg+xml" href="{{ site.baseurl }}/assets/images/favicon.svg">
25
- {% comment %} alternate {% endcomment %}
17
+ {%- comment %} alternate {% endcomment -%}
26
18
  <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/images/favicon-16x16.png" sizes="16x16">
27
19
  <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/images/favicon-32x32.png" sizes="32x32">
28
20
  <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/images/favicon-96x96.png" sizes="96x96">
29
- {% comment %} safari {% endcomment %}
30
- <link rel="mask-icon" href="{{ site.baseurl }}/assets/images/favicon.svg" color="#2980b9">
31
21
 
32
- {% comment %} apple-touch-icon {% endcomment %}
22
+ {%- comment %} safari {% endcomment -%}
23
+ <link rel="mask-icon" href="{{ site.baseurl }}/assets/images/favicon.svg" color="{{ theme_color }}">
24
+
25
+ {%- comment %} apple-touch-icon {% endcomment -%}
33
26
  <link rel="apple-touch-icon" href="{{ site.baseurl }}/assets/images/apple-touch-icon-300x300.jpg">
@@ -0,0 +1,10 @@
1
+ {%- if content contains '<code class="language-mermaid">' -%}
2
+ {%- if site.mermaid.custom -%}
3
+ <script src="{{ site.mermaid.custom }}"></script>
4
+ {%- else -%}
5
+ <script src="{{ base }}/assets/js/mermaid.min.js"></script>
6
+ {%- endif %}
7
+ <script>
8
+ mermaid.initialize({% if site.mermaid.initialize %}{{ site.mermaid.initialize | jsonify }}{% else %}{}{% endif %});
9
+ </script>
10
+ {%- endif %}
@@ -0,0 +1,12 @@
1
+ <meta charset="utf-8">
2
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, 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="{{ generator }} v{{ version }}">
7
+
8
+ {%- for meta in site.meta -%}
9
+ <meta name="{{ meta.first }}" content="{{ meta.last }}">
10
+ {%- endfor -%}
11
+
12
+ <meta name="theme-color" content="{{ theme_color }}">
@@ -0,0 +1,8 @@
1
+ <meta property="og:title" content="{{ title }}">
2
+ <meta property="og:description" content="{{ description }}">
3
+ <meta property="og:locale" content="{{ lang }}">
4
+ <meta property="og:url" content="{{ schema_surl }}">
5
+ <meta property="og:type" content="article">
6
+ <meta property="article:author" content="{{ author }}">
7
+ <meta property="article:published_time" content="{{ schema_date }}">
8
+ <meta property="article:modified_time" content="{{ schema_modi }}">
@@ -0,0 +1,7 @@
1
+ {%- include common/rest/site_pages.liquid -%}
2
+ {%- include common/rest/i18n.liquid -%}
3
+ {%- include common/rest/variables.liquid -%}
4
+ {%- include common/rest/content.liquid -%}
5
+ {%- include common/rest/nav.liquid -%}
6
+ {%- include common/rest/title.liquid -%}
7
+ {%- include common/rest/description.liquid -%}
@@ -1,4 +1,4 @@
1
- {%- include reset/workdir.liquid workdir=page.dir -%}
1
+ {%- include common/rest/workdir.liquid workdir=page.dir -%}
2
2
 
3
3
  {% comment %} prev and next {% endcomment %}
4
4
  {%- assign index = 0 -%}
@@ -1,31 +1,32 @@
1
1
  {%- comment %} variables {% endcomment -%}
2
+ {%- assign version = theme_alias | split: "@" | last -%}
2
3
  {%- assign docs = site.github -%}
3
4
  {%- assign rest = docs.public_repositories | where: "html_url", docs.repository_url | first -%}
4
5
 
5
6
  {%- assign rest_created_at = rest.created_at | default: site.time -%}
6
7
  {%- assign rest_updated_at = rest.updated_at | default: site.time -%}
7
8
 
9
+ {%- comment %} defaults {% endcomment -%}
8
10
  {%- assign direction = site.direction | default: "auto" -%}
9
11
  {%- assign lang = site.lang | default: "en" -%}
10
12
  {%- assign author = docs.owner.name | default: docs.owner_name -%}
11
13
 
14
+ {%- capture generator -%}
15
+ {%- if site.remote_theme -%}
16
+ {{- theme_alias | split: "@" | first -}}
17
+ {%- else -%}
18
+ {{- theme_alias | split: "@" | first | split: "/" | last -}}
19
+ {%- endif -%}
20
+ {%- endcapture -%}
21
+
12
22
  {%- comment %} schema {% endcomment -%}
13
23
  {%- assign schema_date = page.date | default: rest_created_at | date_to_xmlschema -%}
14
24
  {%- assign schema_modi = site.time | date_to_xmlschema -%}
15
25
  {%- assign schema_surl = page.url | absolute_url | xml_escape -%}
16
26
 
17
- {% comment %} custom {% endcomment %}
18
- {%- capture custom_scss -%}
19
- {%- include assets/custom.scss -%} {{- site.scss -}}
20
- {%- endcapture -%}
21
-
22
- {%- capture custom_script -%}
23
- {%- include assets/custom.js -%} {{- site.script -}}
24
- {%- endcapture -%}
25
-
26
27
  {% comment %} debug {% endcomment %}
27
28
  {%- if site.debug -%}
28
29
  {%- assign base = site.baseurl -%}
29
30
  {%- else -%}
30
- {%- assign base = "https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme@" | append: version -%}
31
+ {%- assign base = "https://cdn.jsdelivr.net/gh/" | append: theme_alias -%}
31
32
  {%- endif -%}
@@ -9,10 +9,3 @@
9
9
  }
10
10
  };
11
11
  </script>
12
- <script src="{{ base }}/assets/js/jquery.min.js"></script>
13
-
14
- {%- if custom_script.size > 0 -%}
15
- <script>{{ custom_script }}</script>
16
- {%- endif -%}
17
-
18
- <script src="{{ base }}/assets/js/theme{% if site.debug.dist != false %}.min{% endif %}.js"></script>
File without changes
@@ -0,0 +1,6 @@
1
+ <meta name="twitter:title" content="{{ title }}">
2
+ <meta name="twitter:description" content="{{ description }}">
3
+ <meta name="twitter:card" content="summary">
4
+ <meta name="twitter:site" content="@{{ author }}">
5
+ <meta name="twitter:url" content="{{ schema_surl }}">
6
+ <meta name="twitter:creator" content="@{{ generator }} v{{ version }}">
@@ -1,10 +1 @@
1
- {%- include reset/site_pages.liquid -%}
2
- {%- include reset/workdir.liquid workdir=page.dir -%}
3
-
4
- {%- for item in workdir_files %}
5
- - [{{ item.title | default: item.name }}]({{ item.url | relative_url }})
6
- {%- endfor -%}
7
-
8
- {%- if include.all -%}
9
- {%- for workdir in workdir_dirs %}{% include extend/list.liquid %}{% endfor -%}
10
- {%- endif -%}
1
+ {%- include common/core/list.liquid -%}
@@ -0,0 +1,2 @@
1
+ {%- assign theme_alias = "rundocs/jekyll-rtd-theme@2.0.10" -%}
2
+ {%- assign theme_color = "#2980b9" -%}
@@ -0,0 +1,7 @@
1
+ <script src="{{ base }}/assets/js/jquery.min.js"></script>
2
+
3
+ {%- if site.script.size > 0 -%}
4
+ <script>{{ site.script }}</script>
5
+ {%- endif -%}
6
+
7
+ <script src="{{ base }}/assets/js/theme{% if site.debug.dist != false %}.min{% endif %}.js"></script>
@@ -0,0 +1,5 @@
1
+ <link rel="stylesheet" href="{{ base }}/assets/css/theme{% if site.debug.dist != false %}.min{% endif %}.css">
2
+
3
+ {%- if site.scss.size > 0 -%}
4
+ <style>{{ site.scss | scssify | strip_newlines }}</style>
5
+ {%- endif -%}
@@ -1,4 +1,4 @@
1
- {%- include reset/workdir.liquid %}
1
+ {%- include common/rest/workdir.liquid %}
2
2
 
3
3
  {% comment %} display the directory name {% endcomment %}
4
4
  {%- assign dir = site_pages | where: "url", workdir | first -%}
@@ -36,6 +36,6 @@
36
36
  {% comment %} list dirs {% endcomment %}
37
37
  {%- for workdir in workdir_dirs -%}
38
38
  {%- assign level = workdir | append: "temp" | replace_first: "/", "" | split: "/" | size | minus: 2 %}
39
- <li class="toc level-{{ level }}">{% include extend/toctree.liquid %}</li>
39
+ <li class="toc level-{{ level }}">{% include templates/_toctree.liquid %}</li>
40
40
  {%- endfor -%}
41
41
  </ul>
@@ -0,0 +1,43 @@
1
+ <div class="addons-wrap d-flex flex-column overflow-y-auto">
2
+ <div class="status d-flex flex-justify-between p-2">
3
+ <div class="title p-1">
4
+ <i class="fa fa-book"></i> {{ site.title }}
5
+ </div>
6
+ <div class="branch p-1">
7
+ <span class="name">
8
+ {{ docs.source.branch }}
9
+ </span>
10
+ <i class="fa fa-caret-down"></i>
11
+ </div>
12
+ </div>
13
+ <div class="addons d-flex flex-column height-full p-2 d-none">
14
+ <dl>
15
+ <dt>{{ __.github | default: "GitHub" }}</dt>
16
+ <dd>
17
+ <a href="{{ docs.repository_url }}" title="{{ __.stars | default: 'Stars' }}: {{ rest.stargazers_count }}">
18
+ <i class="fa fa-github"></i>
19
+ {{ __.homepage | default: "Homepage" }}
20
+ </a>
21
+ </dd>
22
+ <dd>
23
+ <a href="{{ docs.issues_url }}" title="{{ __.open_issues | default: 'Open issues' }}: {{ rest.open_issues }}">
24
+ <i class="fa fa-question-circle-o"></i>
25
+ {{ __.issues | default: "Issues" }}
26
+ </a>
27
+ </dd>
28
+ <dd>
29
+ <a href="{{ docs.zip_url }}" title="{{ __.size | default: 'Size' }}: {{ rest.size }} Kb">
30
+ <i class="fa fa-download"></i>
31
+ {{ __.download | default: "Download" }}
32
+ </a>
33
+ </dd>
34
+ </dl>
35
+ <hr>
36
+ <div class="license f6 pb-2">
37
+ This
38
+ <a href="{{ site.baseurl }}/" title="{{ site.title }}">Software</a>
39
+ is under the terms of
40
+ <a href="{{ docs.repository_url }}">{{ docs.license.name | default: "The Unlicense" }}</a>.
41
+ </div>
42
+ </div>
43
+ </div>
@@ -1,6 +1,6 @@
1
1
  <div class="content-wrap">
2
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">
3
+ <button id="toggle" aria-label="Toggle menu" class="btn-octicon p-2 m-0 text-white" type="button">
4
4
  <i class="fa fa-bars"></i>
5
5
  </button>
6
6
  <div class="title flex-1 d-flex flex-justify-center">
@@ -8,13 +8,13 @@
8
8
  </div>
9
9
  </div>
10
10
  <div class="content p-3 p-sm-5">
11
- {% include class/_breadcrumbs.liquid %}
11
+ {% include templates/breadcrumbs.liquid %}
12
12
  <hr>
13
- <div role="main" itemscope="itemscope" itemtype="http://schema.org/Article">
13
+ <div role="main" itemscope="itemscope" itemtype="https://schema.org/Article">
14
14
  <div class="markdown-body" itemprop="articleBody">
15
15
  {{ content }}
16
16
  </div>
17
17
  </div>
18
- {% include class/_footer.liquid %}
18
+ {% include templates/footer.liquid %}
19
19
  </div>
20
20
  </div>
@@ -44,9 +44,9 @@
44
44
  <br>
45
45
  <div class="generator">
46
46
  Built with
47
- <a href="https://jekyllrb.com" rel="noreferrer" target="_blank">Jekyll</a>
47
+ <a href="https://pages.github.com" rel="noreferrer" target="_blank" title="github-pages v{{ docs.versions.github-pages }}">GitHub Pages</a>
48
48
  using a
49
- <a href="https://github.com/rundocs/jekyll-rtd-theme" rel="noreferrer" target="_blank" title="{% if site.remote_theme %}remote{% endif %} theme: jekyll-rtd-theme v{{ version }}">theme</a>
49
+ <a href="https://github.com/{{ theme_alias | split: '@' | first }}" rel="noreferrer" target="_blank" title="{{ generator }} v{{ version }}">theme</a>
50
50
  provided by
51
51
  <a href="https://rundocs.io" rel="noreferrer" target="_blank">RunDocs</a>.
52
52
  </div>
@@ -12,7 +12,7 @@
12
12
  </form>
13
13
  </div>
14
14
  <div class="toctree py-2" data-spy="affix" role="navigation" aria-label="main navigation">
15
- {% include class/_toctree.liquid %}
15
+ {% include templates/toctree.liquid %}
16
16
  </div>
17
17
  </div>
18
18
  </div>
@@ -1,4 +1,4 @@
1
- {%- include reset/workdir.liquid %}
1
+ {%- include common/rest/workdir.liquid %}
2
2
 
3
3
  {% comment %} list the root files {% endcomment %}
4
4
  <ul>
@@ -20,4 +20,4 @@
20
20
  </ul>
21
21
 
22
22
  {% comment %} list the root dirs {% endcomment %}
23
- {%- for workdir in workdir_dirs %}{% include extend/toctree.liquid %}{% endfor -%}
23
+ {%- for workdir in workdir_dirs %}{% include templates/_toctree.liquid %}{% endfor -%}
@@ -2,27 +2,28 @@
2
2
  layout: tasks/compress
3
3
  ---
4
4
 
5
- {%- include reset/defaults.liquid -%}
5
+ {%- include rest/defaults.liquid -%}
6
+ {%- include common/rest/defaults.liquid -%}
6
7
 
7
8
  <!DOCTYPE html>
8
9
  <html lang="{{ lang }}" dir="{{ direction }}">
9
10
  <head>
10
- {%- include node/metadata.liquid -%}
11
-
12
- {%- include node/title.liquid -%}
13
- {%- include node/links.liquid -%}
14
- {%- include node/script.schema.liquid -%}
15
-
16
- {%- include extra/head.html -%}
11
+ {%- include common/metadata.liquid -%}
12
+ {%- include common/title.liquid -%}
13
+ {%- include common/twitter_cards.liquid -%}
14
+ {%- include common/opengraph.liquid -%}
15
+ {%- include common/schema.liquid -%}
16
+ {%- include common/links.liquid -%}
17
+ {%- include rest/styles.liquid -%}
18
+ {%- include common/script.liquid -%}
17
19
  </head>
18
20
  <body class="container">
19
- {%- include class/sidebar-wrap.liquid -%}
20
- {%- include class/content-wrap.liquid -%}
21
- {%- include class/addons-wrap.liquid -%}
22
-
23
- {%- include node/script.liquid -%}
24
- {%- include node/script.extension.liquid -%}
25
-
26
- {%- include extra/footer.html -%}
21
+ {%- include templates/sidebar.liquid -%}
22
+ {%- include templates/content.liquid -%}
23
+ {%- include templates/addons.liquid -%}
24
+ {%- include rest/script.liquid -%}
25
+ {%- include common/mermaid.liquid-%}
26
+ {%- include common/google_gtag.liquid-%}
27
+ {%- include common/google_adsense.liquid-%}
27
28
  </body>
28
29
  </html>
@@ -1,4 +1,4 @@
1
- {%- include reset/i18n.liquid -%}
1
+ {%- include common/rest/i18n.liquid -%}
2
2
 
3
3
  {%- assign shortcodes = "mermaid, warning, note, tip, danger" | split: ", " -%}
4
4
 
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -20,15 +20,15 @@
20
20
 
21
21
  // theme
22
22
  @import "layout";
23
- @import "reset";
24
- @import "class/container";
25
- @import "class/sidebar-wrap";
26
- @import "class/addons-wrap";
27
- @import "class/content-wrap";
28
- @import "class/header";
29
- @import "class/title";
30
- @import "class/markdown-body";
31
- @import "class/toasts";
23
+ @import "rest";
24
+ @import "core/container";
25
+ @import "core/sidebar";
26
+ @import "core/addons";
27
+ @import "core/content";
28
+ @import "core/header";
29
+ @import "core/title";
30
+ @import "core/markdown";
31
+ @import "core/toasts";
32
32
 
33
33
  // improved
34
34
  @import "direction";
@@ -3,7 +3,7 @@ layout: default
3
3
  permalink: /404.html
4
4
  ---
5
5
 
6
- {%- include reset/i18n.liquid -%}
6
+ {%- include common/rest/i18n.liquid -%}
7
7
 
8
8
  <h2>404</h2>
9
9
  <p>{{ __.not_found | default: "Not Found"}}</p>
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: tasks/compress
3
+ permalink: /data.json
4
+ ---
5
+
6
+ {%- include common/assets/data.liquid -%}
@@ -1,5 +1,13 @@
1
- <!-- material-design-icons article 32x32 -->
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#2980b9" width="32px" height="32px">
1
+ ---
2
+ layout: tasks/compress
3
+ permalink: /assets/images/favicon.svg
4
+ ---
5
+
6
+ {%- include rest/defaults.liquid -%}
7
+
8
+ {%- comment %} material-design-icons article 32x32 {% endcomment -%}
9
+
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="{{ theme_color }}" width="32px" height="32px">
3
11
  <path d="M0 0h24v24H0z" fill="none"/>
4
12
  <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"/>
5
13
  </svg>
@@ -241,7 +241,7 @@ $(".status").click(function () {
241
241
  });
242
242
 
243
243
  if (location.pathname == `${ui.baseurl}/search.html`) {
244
- $.ajax(`${ui.baseurl}/pages.json`)
244
+ $.ajax(`${ui.baseurl}/data.json`)
245
245
  .done(search)
246
246
  .fail((xhr, message) => debug(message));
247
247
  }
@@ -1 +1 @@
1
- !function(t){var e={};function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(r,a,function(e){return t[e]}.bind(null,a));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){n(1),t.exports=n(2)},function(t,e){function n(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var a=0,o=function(){};return{s:o,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return l=t.done,t},e:function(t){s=!0,c=t},f:function(){try{l||null==n.return||n.return()}finally{if(s)throw c}}}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t){var e=$(".toctree").find('[href="'.concat(decodeURI(t),'"]'));if(e.length>0){$(".toctree .current").removeClass("current"),e.addClass("current"),e.closest(".level-1").parent().addClass("current");for(var n=1;n<=11;n++)e.closest(".level-".concat(n)).addClass("current")}}function o(t,e){return localStorage.setItem(t,e)}function c(t){return localStorage.getItem(t)||!1}function l(){console.debug.apply(console,arguments)}var s,i,u,h;$(window).bind("hashchange",(function(){return a(location.hash||location.pathname)})),$(document).on("scroll",(function(){var t=$(this).scrollTop()+5,e=[];$(".markdown-body").find("h1,h2,h3,h4,h5,h6").each((function(){e.push({offset:$(this).offset().top,id:this.id,level:parseInt(this.tagName.slice(1))})}));for(var n=0;n<e.length;n++)t>e[n].offset&&(n<e.length-1?t<e[n+1].offset&&(1==e[n].level?a(location.pathname):a("#"+e[n].id)):a("#"+e[n].id))})),$("#toggle").click((function(){$(".sidebar-wrap,.content-wrap,.addons-wrap").toggleClass("shift")})),$(".status").click((function(){$(".addons").toggleClass("d-none")})),location.pathname=="".concat(ui.baseurl,"/search.html")&&$.ajax("".concat(ui.baseurl,"/pages.json")).done((function(t){var e=new URL(location.href).searchParams.get("q");new URL(location.href).searchParams.get("lang")||ui.lang,$("input[name='q']").val(e);var r=[],a=new RegExp;try{a=new RegExp(e,"im")}catch(t){return $(".search-results .content").empty(),$(".search-results .summary").html(ui.i18n.search_results_not_found),$(".search-results h2").html(ui.i18n.search_results),l(t.message)}function o(t,e,n){return t.slice(e,n).replace(a,(function(t){return'<span class="bg-yellow">'.concat(t,"</span>")}))}var c,s=n(t);try{for(s.s();!(c=s.n()).done;){page=c.value;var i=null,u=null;try{page.title?i=page.title.match(a):"/"==page.url?page.title=ui.title:page.title=page.url}catch(t){l(t.message)}try{page.content&&(page.content=$("<div/>").html(page.content).text(),u=page.content.match(a))}catch(t){l(t.message)}if(i||u){var h=['<a href="'.concat(ui.baseurl).concat(page.url,"?highlight=").concat(e,'">').concat(page.title,"</a>")];if(u){var f=u.index-100,p=u.index+100,d="...",g="...";f<0&&(d="",f=0),p>page.content.length&&(g="",p=page.content.length),h.push('<p class="text-gray">'.concat(d).concat(o(page.content,f,p)).concat(g,"</p>"))}r.push('<li class="border-top py-4">'.concat(h.join(""),"</li>"))}}}catch(t){s.e(t)}finally{s.f()}r.length>0&&e.length>0?($(".search-results .content").html(r.join("")),$(".search-results .summary").html(ui.i18n.search_results_found.replace("#",r.length))):($(".search-results .content").empty(),$(".search-results .summary").html(ui.i18n.search_results_not_found)),$(".search-results h2").html(ui.i18n.search_results)})).fail((function(t,e){return l(e)})),$(".toctree li.current").append('<ul class="content-toc"></ul>').html((function(){var t=parseInt(this.dataset.level),e=0,n=[$(this).find(".content-toc")];$(".markdown-body").find("h2,h3,h4,h5,h6").each((function(){var r=$("<a/>").addClass("d-flex flex-items-baseline").text($(this).text()).attr("href","#".concat(this.id)),a=parseInt(this.tagName.slice(1))-1;if(a>e){var o=n[0].children("li:last")[0];o&&n.unshift($("<ul/>").appendTo(o))}else n.splice(0,Math.min(e-a,Math.max(n.length-1,0)));e=a,$("<li/>").addClass("toc level-".concat(t+a)).append(r).appendTo(n[0])})),n[0].html()||n[0].remove()})),a(location.pathname),a(location.hash),s=c("scroll"),i=c("scrollTime"),u=c("scrollHost"),s&&i&&u&&u==location.host&&Date.now()-i<6e5&&$(".sidebar").scrollTop(s),$(".sidebar").scroll((function(){o("scroll",this.scrollTop),o("scrollTime",Date.now()),o("scrollHost",location.host)})),(h=new URL(location.href).searchParams.get("highlight"))&&($(".markdown-body").find("*").each((function(){try{this.outerHTML.match(new RegExp(h,"im"))&&($(this).addClass("search-result"),$(this).parentsUntil(".markdown-body").removeClass("search-result"))}catch(t){l(t.message)}})),$(".search-result").each((function(){$(this).html((function(t,e){return e.replace(h,'<span class="bg-yellow">'.concat(h,"</span>"))}))})),$(".search input").val(h)),$(".toc ul").siblings("a").each((function(){var t=$(this),e=$('<i class="fa fa-plus-square-o"></i>');e.on("click",(function(e){return e.stopPropagation(),function(t){var e=t.closest("li");e.siblings("li.current").removeClass("current"),e.siblings().find("li.current").removeClass("current"),e.find("> ul li.current").removeClass("current"),e.toggleClass("current")}(t),!1})),t.prepend(e)})),$(".markdown-body :header").append((function(){return'<a href="#'.concat(this.id,'" class="anchor"><i class="octicon-link fa fa-link text-blue"></i></a>')})),$("div.highlighter-rouge").each((function(){var t=$(this).attr("class").match(/language-(\w+)/);t&&$(this).attr("data-lang",t[1])})),"serviceWorker"in navigator?navigator.serviceWorker.register("".concat(ui.baseurl,"/sw.caches.js")):l("Service Worker not supported!")},function(t,e,n){"use strict";n.r(e)}]);
1
+ (()=>{function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}function e(t){var e=$(".toctree").find('[href="'.concat(decodeURI(t),'"]'));if(e.length>0){$(".toctree .current").removeClass("current"),e.addClass("current"),e.closest(".level-1").parent().addClass("current");for(var n=1;n<=11;n++)e.closest(".level-".concat(n)).addClass("current")}}function n(t,e){return localStorage.setItem(t,e)}function a(t){return localStorage.getItem(t)||!1}function r(){console.debug.apply(console,arguments)}var o,s,c,l;$(window).bind("hashchange",(function(){return e(location.hash||location.pathname)})),$(document).on("scroll",(function(){var t=$(this).scrollTop()+5,n=[];$(".markdown-body").find("h1,h2,h3,h4,h5,h6").each((function(){n.push({offset:$(this).offset().top,id:this.id,level:parseInt(this.tagName.slice(1))})}));for(var a=0;a<n.length;a++)t>n[a].offset&&(a<n.length-1?t<n[a+1].offset&&(1==n[a].level?e(location.pathname):e("#"+n[a].id)):e("#"+n[a].id))})),$("#toggle").click((function(){$(".sidebar-wrap,.content-wrap,.addons-wrap").toggleClass("shift")})),$(".status").click((function(){$(".addons").toggleClass("d-none")})),location.pathname=="".concat(ui.baseurl,"/search.html")&&$.ajax("".concat(ui.baseurl,"/data.json")).done((function(e){var n=new URL(location.href).searchParams.get("q");new URL(location.href).searchParams.get("lang")||ui.lang,$("input[name='q']").val(n);var a=[],o=new RegExp;try{o=new RegExp(n,"im")}catch(t){return $(".search-results .content").empty(),$(".search-results .summary").html(ui.i18n.search_results_not_found),$(".search-results h2").html(ui.i18n.search_results),r(t.message)}function s(t,e,n){return t.slice(e,n).replace(o,(function(t){return'<span class="bg-yellow">'.concat(t,"</span>")}))}var c,l=function(e,n){var a;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(a=function(e,n){if(e){if("string"==typeof e)return t(e,n);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){a&&(e=a);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,l=!1;return{s:function(){a=e[Symbol.iterator]()},n:function(){var t=a.next();return c=t.done,t},e:function(t){l=!0,s=t},f:function(){try{c||null==a.return||a.return()}finally{if(l)throw s}}}}(e);try{for(l.s();!(c=l.n()).done;){page=c.value;var i=null,u=null;try{page.title?i=page.title.match(o):"/"==page.url?page.title=ui.title:page.title=page.url}catch(t){r(t.message)}try{page.content&&(page.content=$("<div/>").html(page.content).text(),u=page.content.match(o))}catch(t){r(t.message)}if(i||u){var h=['<a href="'.concat(ui.baseurl).concat(page.url,"?highlight=").concat(n,'">').concat(page.title,"</a>")];if(u){var f=u.index-100,d=u.index+100,p="...",g="...";f<0&&(p="",f=0),d>page.content.length&&(g="",d=page.content.length),h.push('<p class="text-gray">'.concat(p).concat(s(page.content,f,d)).concat(g,"</p>"))}a.push('<li class="border-top py-4">'.concat(h.join(""),"</li>"))}}}catch(t){l.e(t)}finally{l.f()}a.length>0&&n.length>0?($(".search-results .content").html(a.join("")),$(".search-results .summary").html(ui.i18n.search_results_found.replace("#",a.length))):($(".search-results .content").empty(),$(".search-results .summary").html(ui.i18n.search_results_not_found)),$(".search-results h2").html(ui.i18n.search_results)})).fail((function(t,e){return r(e)})),$(".toctree li.current").append('<ul class="content-toc"></ul>').html((function(){var t=parseInt(this.dataset.level),e=0,n=[$(this).find(".content-toc")];$(".markdown-body").find("h2,h3,h4,h5,h6").each((function(){var a=$("<a/>").addClass("d-flex flex-items-baseline").text($(this).text()).attr("href","#".concat(this.id)),r=parseInt(this.tagName.slice(1))-1;if(r>e){var o=n[0].children("li:last")[0];o&&n.unshift($("<ul/>").appendTo(o))}else n.splice(0,Math.min(e-r,Math.max(n.length-1,0)));e=r,$("<li/>").addClass("toc level-".concat(t+r)).append(a).appendTo(n[0])})),n[0].html()||n[0].remove()})),e(location.pathname),e(location.hash),o=a("scroll"),s=a("scrollTime"),c=a("scrollHost"),o&&s&&c&&c==location.host&&Date.now()-s<6e5&&$(".sidebar").scrollTop(o),$(".sidebar").scroll((function(){n("scroll",this.scrollTop),n("scrollTime",Date.now()),n("scrollHost",location.host)})),(l=new URL(location.href).searchParams.get("highlight"))&&($(".markdown-body").find("*").each((function(){try{this.outerHTML.match(new RegExp(l,"im"))&&($(this).addClass("search-result"),$(this).parentsUntil(".markdown-body").removeClass("search-result"))}catch(t){r(t.message)}})),$(".search-result").each((function(){$(this).html((function(t,e){return e.replace(l,'<span class="bg-yellow">'.concat(l,"</span>"))}))})),$(".search input").val(l)),$(".toc ul").siblings("a").each((function(){var t=$(this),e=$('<i class="fa fa-plus-square-o"></i>');e.on("click",(function(e){return e.stopPropagation(),function(t){var e=t.closest("li");e.siblings("li.current").removeClass("current"),e.siblings().find("li.current").removeClass("current"),e.find("> ul li.current").removeClass("current"),e.toggleClass("current")}(t),!1})),t.prepend(e)})),$(".markdown-body :header").append((function(){return'<a href="#'.concat(this.id,'" class="anchor"><i class="octicon-link fa fa-link text-blue"></i></a>')})),$("div.highlighter-rouge").each((function(){var t=$(this).attr("class").match(/language-(\w+)/);t&&$(this).attr("data-lang",t[1])})),"serviceWorker"in navigator?navigator.serviceWorker.register("".concat(ui.baseurl,"/sw.caches.js")):r("Service Worker not supported!")})();
@@ -3,7 +3,4 @@ layout: null
3
3
  permalink: /robots.txt
4
4
  ---
5
5
 
6
- User-agent: *
7
- Allow: /
8
-
9
- Sitemap: {{ "sitemap.xml" | absolute_url }}
6
+ {%- include common/assets/robots.liquid -%}
@@ -3,7 +3,7 @@ layout: default
3
3
  permalink: /search.html
4
4
  ---
5
5
 
6
- {%- include reset/i18n.liquid -%}
6
+ {%- include common/rest/i18n.liquid -%}
7
7
 
8
8
  <div class="search-results">
9
9
  <h2>{{ __.searching | default: "Searching"}}<span class="AnimatedEllipsis"></span></h2>
@@ -3,15 +3,4 @@ layout: tasks/compress
3
3
  permalink: /sitemap.xml
4
4
  ---
5
5
 
6
- {%- include reset/site_pages.liquid -%}
7
-
8
- <?xml version="1.0" encoding="UTF-8"?>
9
- <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
10
- {%- for page in site_pages -%}
11
- <url>
12
- <loc>{{ page.url | absolute_url | xml_escape }}</loc>
13
- <priority>{{ page.content | size | divided_by: 2048.0 | times: 10 | ceil | divided_by: 10.0 | at_least: 0.1 | at_most: 1.0 }}</priority>
14
- <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
15
- </url>
16
- {%- endfor %}
17
- </urlset>
6
+ {%- include common/assets/sitemap.liquid -%}
@@ -3,6 +3,6 @@ layout: tasks/compress
3
3
  permalink: /sw.caches.js
4
4
  ---
5
5
 
6
- {%- include reset/version.liquid -%}
6
+ {%- include rest/defaults.liquid -%}
7
7
 
8
- {%- include assets/sw.caches.js -%}
8
+ {%- include common/assets/sw.caches.js -%}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-rtd-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - saowang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-22 00:00:00.000000000 Z
11
+ date: 2020-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: github-pages
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '207'
19
+ version: '209'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '207'
26
+ version: '209'
27
27
  description:
28
28
  email:
29
29
  - saowang@outlook.com
@@ -33,60 +33,66 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - LICENSE
35
35
  - README.md
36
- - _includes/addons/github.liquid
37
- - _includes/assets/custom.js
38
- - _includes/assets/custom.scss
39
- - _includes/assets/sw.caches.js
40
- - _includes/class/_breadcrumbs.liquid
41
- - _includes/class/_footer.liquid
42
- - _includes/class/_toctree.liquid
43
- - _includes/class/addons-wrap.liquid
44
- - _includes/class/content-wrap.liquid
45
- - _includes/class/sidebar-wrap.liquid
46
- - _includes/extend/list.liquid
47
- - _includes/extend/toctree.liquid
48
- - _includes/extra/footer.html
49
- - _includes/extra/head.html
36
+ - _includes/README.md
37
+ - _includes/common/assets/data.liquid
38
+ - _includes/common/assets/robots.liquid
39
+ - _includes/common/assets/sitemap.liquid
40
+ - _includes/common/assets/sw.caches.js
41
+ - _includes/common/core/_list.liquid
42
+ - _includes/common/core/list.liquid
43
+ - _includes/common/google_adsense.liquid
44
+ - _includes/common/google_gtag.liquid
45
+ - _includes/common/links.liquid
46
+ - _includes/common/mermaid.liquid
47
+ - _includes/common/metadata.liquid
48
+ - _includes/common/opengraph.liquid
49
+ - _includes/common/rest/content.liquid
50
+ - _includes/common/rest/defaults.liquid
51
+ - _includes/common/rest/description.liquid
52
+ - _includes/common/rest/i18n.liquid
53
+ - _includes/common/rest/nav.liquid
54
+ - _includes/common/rest/site_pages.liquid
55
+ - _includes/common/rest/tabs.liquid
56
+ - _includes/common/rest/title.liquid
57
+ - _includes/common/rest/variables.liquid
58
+ - _includes/common/rest/workdir.liquid
59
+ - _includes/common/schema.liquid
60
+ - _includes/common/script.liquid
61
+ - _includes/common/title.liquid
62
+ - _includes/common/twitter_cards.liquid
50
63
  - _includes/list.liquid
51
- - _includes/node/links.liquid
52
- - _includes/node/metadata.liquid
53
- - _includes/node/script.extension.liquid
54
- - _includes/node/script.liquid
55
- - _includes/node/script.schema.liquid
56
- - _includes/node/title.liquid
57
- - _includes/reset/content.liquid
58
- - _includes/reset/defaults.liquid
59
- - _includes/reset/description.liquid
60
- - _includes/reset/i18n.liquid
61
- - _includes/reset/navigation.liquid
62
- - _includes/reset/site_pages.liquid
63
- - _includes/reset/tabs.liquid
64
- - _includes/reset/title.liquid
65
- - _includes/reset/variables.liquid
66
- - _includes/reset/version.liquid
67
- - _includes/reset/workdir.liquid
64
+ - _includes/rest/defaults.liquid
65
+ - _includes/rest/script.liquid
66
+ - _includes/rest/styles.liquid
68
67
  - _includes/shortcodes/danger.liquid
69
68
  - _includes/shortcodes/mermaid.liquid
70
69
  - _includes/shortcodes/note.liquid
71
70
  - _includes/shortcodes/tip.liquid
72
71
  - _includes/shortcodes/warning.liquid
72
+ - _includes/templates/_toctree.liquid
73
+ - _includes/templates/addons.liquid
74
+ - _includes/templates/breadcrumbs.liquid
75
+ - _includes/templates/content.liquid
76
+ - _includes/templates/footer.liquid
77
+ - _includes/templates/sidebar.liquid
78
+ - _includes/templates/toctree.liquid
73
79
  - _layouts/default.liquid
74
80
  - _layouts/tasks/compress.liquid
75
81
  - _layouts/tasks/shortcodes.liquid
76
82
  - _sass/_direction.scss
77
83
  - _sass/_font-face.scss
78
84
  - _sass/_layout.scss
79
- - _sass/_reset.scss
85
+ - _sass/_rest.scss
80
86
  - _sass/_root.scss
81
87
  - _sass/_variables.scss
82
- - _sass/class/addons-wrap.scss
83
- - _sass/class/container.scss
84
- - _sass/class/content-wrap.scss
85
- - _sass/class/header.scss
86
- - _sass/class/markdown-body.scss
87
- - _sass/class/sidebar-wrap.scss
88
- - _sass/class/title.scss
89
- - _sass/class/toasts.scss
88
+ - _sass/core/addons.scss
89
+ - _sass/core/container.scss
90
+ - _sass/core/content.scss
91
+ - _sass/core/header.scss
92
+ - _sass/core/markdown.scss
93
+ - _sass/core/sidebar.scss
94
+ - _sass/core/title.scss
95
+ - _sass/core/toasts.scss
90
96
  - _sass/lib/@primer/css/base/README.md
91
97
  - _sass/lib/@primer/css/base/base.scss
92
98
  - _sass/lib/@primer/css/base/index.scss
@@ -173,16 +179,16 @@ files:
173
179
  - assets/css/fonts/lato-normal.woff2
174
180
  - assets/css/theme.min.css
175
181
  - assets/css/theme.scss
182
+ - assets/data.liquid
176
183
  - assets/images/apple-touch-icon-300x300.jpg
177
184
  - assets/images/favicon-16x16.png
178
185
  - assets/images/favicon-32x32.png
179
186
  - assets/images/favicon-96x96.png
180
- - assets/images/favicon.svg
187
+ - assets/images/favicon.liquid
181
188
  - assets/js/jquery.min.js
182
189
  - assets/js/mermaid.min.js
183
190
  - assets/js/theme.js
184
191
  - assets/js/theme.min.js
185
- - assets/pages.liquid
186
192
  - assets/robots.liquid
187
193
  - assets/search.liquid
188
194
  - assets/sitemap.liquid
@@ -206,8 +212,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
212
  - !ruby/object:Gem::Version
207
213
  version: '0'
208
214
  requirements: []
209
- rubygems_version: 3.1.2
215
+ rubygems_version: 3.1.4
210
216
  signing_key:
211
217
  specification_version: 4
212
- summary: Opinionated standard documentation theme, with few options, but everything!
218
+ summary: Just another documentation theme compatible with GitHub Pages
213
219
  test_files: []
@@ -1,21 +0,0 @@
1
- <dl>
2
- <dt>{{ __.github | default: "GitHub" }}</dt>
3
- <dd>
4
- <a href="{{ docs.repository_url }}" title="{{ __.stars | default: 'Stars' }}: {{ rest.stargazers_count }}">
5
- <i class="fa fa-github"></i>
6
- {{ __.homepage | default: "Homepage" }}
7
- </a>
8
- </dd>
9
- <dd>
10
- <a href="{{ docs.issues_url }}" title="{{ __.open_issues | default: 'Open issues' }}: {{ rest.open_issues }}">
11
- <i class="fa fa-question-circle-o"></i>
12
- {{ __.issues | default: "Issues" }}
13
- </a>
14
- </dd>
15
- <dd>
16
- <a href="{{ docs.zip_url }}" title="{{ __.size | default: 'Size' }}: {{ rest.size }} Kb">
17
- <i class="fa fa-download"></i>
18
- {{ __.download | default: "Download" }}
19
- </a>
20
- </dd>
21
- </dl>
File without changes
File without changes
@@ -1,27 +0,0 @@
1
- <div class="addons-wrap d-flex flex-column overflow-y-auto">
2
- <div class="status d-flex flex-justify-between p-2">
3
- <div class="title p-1">
4
- <i class="fa fa-book"></i> {{ site.title }}
5
- </div>
6
- <div class="branch p-1">
7
- <span class="name">
8
- {{ docs.source.branch }}
9
- </span>
10
- <i class="fa fa-caret-down"></i>
11
- </div>
12
- </div>
13
- <div class="addons d-flex flex-column height-full p-2 d-none">
14
- {%- assign items = "github" | split: ", " -%}
15
- {% for item in items -%}
16
- {% include addons/{{ item }}.liquid %}
17
- {% endfor -%}
18
- <hr>
19
- <div class="license f6 pb-2">
20
- The
21
- <a href="{{ site.baseurl }}/">software</a>
22
- is under the terms of
23
- <a href="{{ docs.repository_url }}">{{ docs.license.name }}</a>
24
- ({{ docs.license.spdx_id }}).
25
- </div>
26
- </div>
27
- </div>
@@ -1,15 +0,0 @@
1
- {%- include reset/site_pages.liquid -%}
2
- {%- include reset/workdir.liquid -%}
3
-
4
- {%- assign base = page.dir | append: "temp/" | split: "/" | size -%}
5
- {%- assign size = workdir_level | minus: base -%}
6
- {%- assign size_p1 = size | plus: 1 -%}
7
-
8
- {%- assign dir = site_pages | where: "url", workdir | first %}
9
- {% include reset/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{ dir.url | relative_url }})
10
-
11
- {%- for item in workdir_files %}
12
- {% include reset/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.name }}]({{ item.url | relative_url }})
13
- {%- endfor -%}
14
-
15
- {%- for workdir in workdir_dirs %}{% include extend/list.liquid %}{% endfor -%}
File without changes
File without changes
@@ -1,29 +0,0 @@
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 %} Open Graph {% 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 }}">
22
-
23
- {% comment %} Twitter Card {% endcomment %}
24
- <meta name="twitter:title" content="{{ title }}">
25
- <meta name="twitter:description" content="{{ description }}">
26
- <meta name="twitter:card" content="summary">
27
- <meta name="twitter:site" content="@{{ author }}">
28
- <meta name="twitter:url" content="{{ schema_surl }}">
29
- <meta name="twitter:creator" content="@jekyll-rtd-theme v{{ version }}">
@@ -1,29 +0,0 @@
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="{{ base }}/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 -%}
25
-
26
- {% comment %} Google AdSense {% endcomment %}
27
- {%- if site.google.adsense -%}
28
- <script data-ad-client="{{ site.google.adsense }}" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
29
- {%- endif -%}
@@ -1,11 +0,0 @@
1
- {%- include reset/site_pages.liquid -%}
2
- {%- include reset/i18n.liquid -%}
3
- {%- include reset/version.liquid -%}
4
-
5
- {%- include reset/variables.liquid -%}
6
-
7
- {%- include reset/content.liquid -%}
8
-
9
- {%- include reset/navigation.liquid -%}
10
- {%- include reset/title.liquid -%}
11
- {%- include reset/description.liquid -%}
@@ -1 +0,0 @@
1
- {%- assign version = "2.0.9" -%}
@@ -1,6 +0,0 @@
1
- ---
2
- layout: tasks/compress
3
- permalink: /pages.json
4
- ---
5
-
6
- {%- include reset/site_pages.liquid -%} {{- site_pages | jsonify -}}