jekyll-rtd-theme 1.1.3 → 2.0.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -12
- data/_includes/addons/analytics.liquid +5 -2
- data/_includes/addons/github.liquid +16 -4
- data/_includes/assets/sw.caches.js +43 -0
- data/_includes/breadcrumbs.liquid +20 -36
- data/_includes/extend/toctree.liquid +6 -15
- data/_includes/footer.liquid +31 -32
- data/_includes/reset/defaults.liquid +4 -36
- data/_includes/reset/workdir.liquid +1 -14
- data/_includes/safe/shortcodes.liquid +9 -0
- data/_includes/shortcodes/danger.liquid +7 -0
- data/_includes/shortcodes/mermaid.liquid +1 -0
- data/_includes/shortcodes/note.liquid +7 -0
- data/_includes/shortcodes/tip.liquid +7 -0
- data/_includes/shortcodes/warning.liquid +7 -0
- data/_includes/toctree.liquid +7 -6
- data/_layouts/default.liquid +99 -141
- data/_layouts/plugins/compress.liquid +13 -10
- data/_layouts/plugins/extension.liquid +30 -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 +53 -0
- data/_sass/_layout.scss +76 -0
- data/_sass/_reset.scss +21 -0
- data/_sass/_root.scss +9 -0
- data/_sass/_variables.scss +29 -0
- data/_sass/class/addons-wrap.scss +39 -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 +49 -0
- data/_sass/class/sidebar-wrap.scss +72 -0
- data/_sass/class/title.scss +13 -0
- data/_sass/theme.scss +29 -0
- data/assets/404.liquid +2 -4
- data/assets/css/theme.min.css +1 -0
- data/assets/css/theme.scss +4 -0
- data/assets/js/mermaid.min.js +6 -5
- data/assets/js/search.js +90 -0
- data/assets/js/theme.js +228 -1
- data/assets/js/theme.min.js +1 -0
- data/assets/robots.liquid +1 -1
- data/assets/search.liquid +5 -12
- data/assets/sitemap.liquid +1 -1
- data/assets/sw.caches.liquid +8 -0
- metadata +80 -54
- data/_includes/addons.liquid +0 -24
- 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 -62
- data/_includes/assets/custom.js +0 -0
- data/_includes/assets/custom.scss +0 -0
- data/_includes/assets/search.js +0 -76
- 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/i18n.liquid +0 -31
- data/_includes/reset/languages.liquid +0 -110
- 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 @@
|
|
1
|
+
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var a=e[o]={i:o,l:!1,exports:{}};return t[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(o,a,function(e){return t[e]}.bind(null,a));return o},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){$(document).ready((function(){function t(){console.debug.apply(console,arguments)}"serviceWorker"in navigator?navigator.serviceWorker.register("".concat(ui.baseurl,"/sw.caches.js")):t("Service Worker not supported!");var e,n,o,a,r,i=new URL("https://rundocs-analytics.glitch.me/collect?v=".concat(ui.version,"&lang=").concat(ui.lang));function s(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");$(".toctree a").children("span").html('<i class="fa fa-plus-square-o"></i>'),$(".toctree a.current").children("span").html('<i class="fa fa-minus-square-o"></i>')}}function l(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")}function c(t,e){return localStorage.setItem(t,e)}function u(t){return localStorage.getItem(t)||!1}i.searchParams.append("user_lang",navigator.language),i.searchParams.append("host",location.host),i.searchParams.append("platform",navigator.platform),$.getJSON(i.toString(),(function(t){return $("#counter").html(t.count)})),$(".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 o=$("<a/>").addClass("d-flex").text($(this).text()).attr("href","#".concat(this.id)),a=parseInt(this.tagName.slice(1))-1;if(a>e){var r=n[0].children("li:last")[0];r&&n.unshift($("<ul/>").appendTo(r))}else n.splice(0,Math.min(e-a,Math.max(n.length-1,0)));e=a,$("<li/>").addClass("toc level-".concat(t+a)).append(o).appendTo(n[0])})),n[0].html()||n[0].remove()})),s(location.pathname),s(location.hash),e=u("scroll"),n=u("scrollTime"),o=u("scrollHost"),e&&n&&o&&o==location.host&&Date.now()-n<6e5&&$(".sidebar").scrollTop(e),$(".sidebar").scroll((function(){c("scroll",this.scrollTop),c("scrollTime",Date.now()),c("scrollHost",location.host)})),a=new URL(location.href).searchParams.get("highlight"),r=".highlighted-box",a&&($(".markdown-body").find("*").each((function(){try{this.outerHTML.match(new RegExp(a,"im"))&&$(this).addClass("highlighted-box")}catch(e){t(e.message)}})),$(".markdown-body").find(r).each((function(){$(this).find(r).length>0&&$(this).removeClass(r)}))),$(".toc ul").siblings("a").each((function(){var t=$(this),e=$('<span class="toctree-expand"><i class="fa fa-plus-square-o"></i></span>');e.on("click",(function(e){return e.stopPropagation(),l(t),!1})),t.prepend(e)})),$(".admonition-title").each((function(){$(this).children(".progress").replaceWith(ui.admonition[$(this).attr("ui")])})),$(document).on("click",'[data-toggle="wy-nav-top"]',(function(){$('[data-toggle="wy-nav-shift"]').toggleClass("shift"),$('[data-toggle="rst-versions"]').toggleClass("shift")})),$(document).on("click",".wy-menu-vertical .current ul li a",(function(){$('[data-toggle="wy-nav-shift"]').removeClass("shift"),$('[data-toggle="rst-versions"]').toggleClass("shift"),l($(this))})),$(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?s(location.pathname):s("#"+e[n].id)):s("#"+e[n].id))})),$("#toggle").click((function(){$(".sidebar-wrap,.content-wrap,.addons-wrap").toggleClass("shift")})),$(".status").click((function(){$(".addons").toggleClass("d-none")})),$(window).bind("resize",(function(){requestAnimationFrame((function(){}))})),$(window).bind("hashchange",(function(){return s(location.hash||location.pathname)}))}))},function(t,e,n){}]);
|
data/assets/robots.liquid
CHANGED
data/assets/search.liquid
CHANGED
@@ -4,7 +4,6 @@ permalink: /search.html
|
|
4
4
|
---
|
5
5
|
|
6
6
|
{%- include reset/site_pages.liquid -%}
|
7
|
-
{%- include reset/i18n.liquid -%}
|
8
7
|
|
9
8
|
<div id="search-results">
|
10
9
|
<h2>{{ __searching }}<span class="progress"></span></h2>
|
@@ -13,16 +12,10 @@ permalink: /search.html
|
|
13
12
|
</div>
|
14
13
|
|
15
14
|
<script>
|
16
|
-
|
17
|
-
{
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
search_results: "{{ __search_results }}",
|
22
|
-
search_results_found: "{{ __search_results_found }}",
|
23
|
-
search_results_not_found: "{{ __search_results_not_found }}"
|
24
|
-
}{% unless forloop.last %},{% endunless %}
|
25
|
-
{%- endfor -%}
|
15
|
+
window.i18n = {
|
16
|
+
search_docs: "{{ __search_docs }}",
|
17
|
+
search_results: "{{ __search_results }}",
|
18
|
+
search_results_found: "{{ __search_results_found }}",
|
19
|
+
search_results_not_found: "{{ __search_results_not_found }}"
|
26
20
|
};
|
27
21
|
</script>
|
28
|
-
<script>{% include assets/search.js %}</script>
|
data/assets/sitemap.liquid
CHANGED
@@ -9,7 +9,7 @@ permalink: /sitemap.xml
|
|
9
9
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
10
10
|
{%- for page in site_pages -%}
|
11
11
|
<url>
|
12
|
-
<loc>{{ page.url | absolute_url |
|
12
|
+
<loc>{{ page.url | absolute_url | xml_escape }}</loc>
|
13
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
14
|
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
15
15
|
</url>
|
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:
|
4
|
+
version: 2.0.0.pre.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- saowang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|
@@ -33,44 +33,91 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- LICENSE
|
35
35
|
- README.md
|
36
|
-
- _includes/addons.liquid
|
37
36
|
- _includes/addons/analytics.liquid
|
38
37
|
- _includes/addons/github.liquid
|
39
|
-
- _includes/
|
40
|
-
- _includes/addons/plugins.liquid
|
41
|
-
- _includes/album.liquid
|
42
|
-
- _includes/assets/common.js
|
43
|
-
- _includes/assets/custom.js
|
44
|
-
- _includes/assets/custom.scss
|
45
|
-
- _includes/assets/search.js
|
38
|
+
- _includes/assets/sw.caches.js
|
46
39
|
- _includes/breadcrumbs.liquid
|
47
40
|
- _includes/extend/list.liquid
|
48
41
|
- _includes/extend/tabs.liquid
|
49
42
|
- _includes/extend/toctree.liquid
|
50
43
|
- _includes/footer.liquid
|
51
|
-
- _includes/i18n/en.liquid
|
52
|
-
- _includes/i18n/es.liquid
|
53
|
-
- _includes/i18n/fr.liquid
|
54
|
-
- _includes/i18n/it.liquid
|
55
|
-
- _includes/i18n/ja.liquid
|
56
|
-
- _includes/i18n/ko.liquid
|
57
|
-
- _includes/i18n/ru.liquid
|
58
|
-
- _includes/i18n/sv.liquid
|
59
|
-
- _includes/i18n/zh-cn.liquid
|
60
44
|
- _includes/list.liquid
|
61
45
|
- _includes/reset/defaults.liquid
|
62
|
-
- _includes/reset/i18n.liquid
|
63
|
-
- _includes/reset/languages.liquid
|
64
46
|
- _includes/reset/site_pages.liquid
|
65
47
|
- _includes/reset/workdir.liquid
|
48
|
+
- _includes/safe/shortcodes.liquid
|
49
|
+
- _includes/shortcodes/danger.liquid
|
50
|
+
- _includes/shortcodes/mermaid.liquid
|
51
|
+
- _includes/shortcodes/note.liquid
|
52
|
+
- _includes/shortcodes/tip.liquid
|
53
|
+
- _includes/shortcodes/warning.liquid
|
66
54
|
- _includes/toctree.liquid
|
67
55
|
- _layouts/default.liquid
|
68
56
|
- _layouts/plugins/compress.liquid
|
69
57
|
- _layouts/plugins/extension.liquid
|
70
|
-
- _sass/
|
71
|
-
- _sass/
|
72
|
-
- _sass/
|
73
|
-
- _sass/
|
58
|
+
- _sass/@primer/base/base.scss
|
59
|
+
- _sass/@primer/base/index.scss
|
60
|
+
- _sass/@primer/base/kbd.scss
|
61
|
+
- _sass/@primer/base/normalize.scss
|
62
|
+
- _sass/@primer/base/typography-base.scss
|
63
|
+
- _sass/@primer/breadcrumb/breadcrumb.scss
|
64
|
+
- _sass/@primer/breadcrumb/index.scss
|
65
|
+
- _sass/@primer/buttons/button-group.scss
|
66
|
+
- _sass/@primer/buttons/button.scss
|
67
|
+
- _sass/@primer/buttons/index.scss
|
68
|
+
- _sass/@primer/buttons/misc.scss
|
69
|
+
- _sass/@primer/forms/form-control.scss
|
70
|
+
- _sass/@primer/forms/form-group.scss
|
71
|
+
- _sass/@primer/forms/form-select.scss
|
72
|
+
- _sass/@primer/forms/form-validation.scss
|
73
|
+
- _sass/@primer/forms/index.scss
|
74
|
+
- _sass/@primer/forms/input-group.scss
|
75
|
+
- _sass/@primer/forms/radio-group.scss
|
76
|
+
- _sass/@primer/markdown/blob-csv.scss
|
77
|
+
- _sass/@primer/markdown/code.scss
|
78
|
+
- _sass/@primer/markdown/headings.scss
|
79
|
+
- _sass/@primer/markdown/images.scss
|
80
|
+
- _sass/@primer/markdown/index.scss
|
81
|
+
- _sass/@primer/markdown/lists.scss
|
82
|
+
- _sass/@primer/markdown/markdown-body.scss
|
83
|
+
- _sass/@primer/markdown/tables.scss
|
84
|
+
- _sass/@primer/support/index.scss
|
85
|
+
- _sass/@primer/support/mixins/buttons.scss
|
86
|
+
- _sass/@primer/support/mixins/layout.scss
|
87
|
+
- _sass/@primer/support/mixins/misc.scss
|
88
|
+
- _sass/@primer/support/mixins/typography.scss
|
89
|
+
- _sass/@primer/support/variables/color-system.scss
|
90
|
+
- _sass/@primer/support/variables/colors.scss
|
91
|
+
- _sass/@primer/support/variables/layout.scss
|
92
|
+
- _sass/@primer/support/variables/misc.scss
|
93
|
+
- _sass/@primer/support/variables/typography.scss
|
94
|
+
- _sass/@primer/utilities/animations.scss
|
95
|
+
- _sass/@primer/utilities/borders.scss
|
96
|
+
- _sass/@primer/utilities/box-shadow.scss
|
97
|
+
- _sass/@primer/utilities/colors.scss
|
98
|
+
- _sass/@primer/utilities/details.scss
|
99
|
+
- _sass/@primer/utilities/flexbox.scss
|
100
|
+
- _sass/@primer/utilities/index.scss
|
101
|
+
- _sass/@primer/utilities/layout.scss
|
102
|
+
- _sass/@primer/utilities/margin.scss
|
103
|
+
- _sass/@primer/utilities/padding.scss
|
104
|
+
- _sass/@primer/utilities/typography.scss
|
105
|
+
- _sass/@primer/utilities/visibility-display.scss
|
106
|
+
- _sass/_font-face.scss
|
107
|
+
- _sass/_icons.scss
|
108
|
+
- _sass/_layout.scss
|
109
|
+
- _sass/_reset.scss
|
110
|
+
- _sass/_root.scss
|
111
|
+
- _sass/_variables.scss
|
112
|
+
- _sass/class/addons-wrap.scss
|
113
|
+
- _sass/class/container.scss
|
114
|
+
- _sass/class/content-wrap.scss
|
115
|
+
- _sass/class/header.scss
|
116
|
+
- _sass/class/highlight.scss
|
117
|
+
- _sass/class/markdown-body.scss
|
118
|
+
- _sass/class/sidebar-wrap.scss
|
119
|
+
- _sass/class/title.scss
|
120
|
+
- _sass/theme.scss
|
74
121
|
- assets/404.liquid
|
75
122
|
- assets/css/fonts/Roboto-Slab-Bold.woff
|
76
123
|
- assets/css/fonts/Roboto-Slab-Bold.woff2
|
@@ -89,40 +136,19 @@ files:
|
|
89
136
|
- assets/css/fonts/lato-normal-italic.woff2
|
90
137
|
- assets/css/fonts/lato-normal.woff
|
91
138
|
- assets/css/fonts/lato-normal.woff2
|
92
|
-
- assets/css/
|
93
|
-
- assets/css/
|
94
|
-
- assets/css/rougify/base16.light.css
|
95
|
-
- assets/css/rougify/base16.monokai.css
|
96
|
-
- assets/css/rougify/base16.monokai.dark.css
|
97
|
-
- assets/css/rougify/base16.monokai.light.css
|
98
|
-
- assets/css/rougify/base16.solarized.css
|
99
|
-
- assets/css/rougify/base16.solarized.dark.css
|
100
|
-
- assets/css/rougify/base16.solarized.light.css
|
101
|
-
- assets/css/rougify/bw.css
|
102
|
-
- assets/css/rougify/colorful.css
|
103
|
-
- assets/css/rougify/github.css
|
104
|
-
- assets/css/rougify/gruvbox.css
|
105
|
-
- assets/css/rougify/gruvbox.dark.css
|
106
|
-
- assets/css/rougify/gruvbox.light.css
|
107
|
-
- assets/css/rougify/igorpro.css
|
108
|
-
- assets/css/rougify/magritte.css
|
109
|
-
- assets/css/rougify/molokai.css
|
110
|
-
- assets/css/rougify/monokai.css
|
111
|
-
- assets/css/rougify/monokai.sublime.css
|
112
|
-
- assets/css/rougify/pastie.css
|
113
|
-
- assets/css/rougify/thankful_eyes.css
|
114
|
-
- assets/css/rougify/tulip.css
|
115
|
-
- assets/css/theme.css
|
139
|
+
- assets/css/theme.min.css
|
140
|
+
- assets/css/theme.scss
|
116
141
|
- assets/favicon.liquid
|
117
|
-
- assets/js/anchor.min.js
|
118
|
-
- assets/js/html5shiv.min.js
|
119
142
|
- assets/js/jquery.min.js
|
120
143
|
- assets/js/mermaid.min.js
|
144
|
+
- assets/js/search.js
|
121
145
|
- assets/js/theme.js
|
146
|
+
- assets/js/theme.min.js
|
122
147
|
- assets/pages.liquid
|
123
148
|
- assets/robots.liquid
|
124
149
|
- assets/search.liquid
|
125
150
|
- assets/sitemap.liquid
|
151
|
+
- assets/sw.caches.liquid
|
126
152
|
homepage: https://github.com/rundocs/jekyll-rtd-theme
|
127
153
|
licenses:
|
128
154
|
- MIT
|
@@ -138,12 +164,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
138
164
|
version: '0'
|
139
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
166
|
requirements:
|
141
|
-
- - "
|
167
|
+
- - ">"
|
142
168
|
- !ruby/object:Gem::Version
|
143
|
-
version:
|
169
|
+
version: 1.3.1
|
144
170
|
requirements: []
|
145
171
|
rubygems_version: 3.1.2
|
146
172
|
signing_key:
|
147
173
|
specification_version: 4
|
148
|
-
summary:
|
174
|
+
summary: Opinionated github flavored documentation theme for open source projects
|
149
175
|
test_files: []
|
data/_includes/addons.liquid
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
|
2
|
-
<span class="rst-current-version" data-toggle="rst-current-version">
|
3
|
-
<span class="fa fa-book"> {{ site.title }}</span>
|
4
|
-
{% if site.addons_branch and site.github_metadata != false %}v: {{ branch }}{% endif %}
|
5
|
-
<span class="fa fa-caret-down"></span>
|
6
|
-
</span>
|
7
|
-
<div class="rst-other-versions">
|
8
|
-
{%- assign items = site.addons | default: addons -%}
|
9
|
-
{% for item in items -%}
|
10
|
-
{%- if addons contains item -%}
|
11
|
-
{% include addons/{{ item }}.liquid %}
|
12
|
-
{%- endif -%}
|
13
|
-
{% endfor -%}
|
14
|
-
<hr>
|
15
|
-
<small>
|
16
|
-
<span>
|
17
|
-
Built with
|
18
|
-
<a href="https://jekyllrb.com/">Jekyll</a>
|
19
|
-
using the
|
20
|
-
<a href="https://github.com/rundocs/jekyll-rtd-theme">jekyll-rtd-theme</a> (MIT)
|
21
|
-
</span>
|
22
|
-
</small>
|
23
|
-
</div>
|
24
|
-
</div>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<dl>
|
2
|
-
<dt>{{ __translations }}</dt>
|
3
|
-
{%- for item in site_langs -%}
|
4
|
-
<dd>
|
5
|
-
{%- if item == site_lang -%}
|
6
|
-
{%- assign url = "" -%}
|
7
|
-
{%- else -%}
|
8
|
-
{%- assign url = item | append: "/" -%}
|
9
|
-
{%- endif -%}
|
10
|
-
<a href="{{ site.baseurl }}/{{ url }}"><i class="fa fa-language"></i> {{ item }}</a>
|
11
|
-
</dd>
|
12
|
-
{%- endfor -%}
|
13
|
-
</dl>
|
data/_includes/album.liquid
DELETED
data/_includes/assets/common.js
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
$(document).ready(function() {
|
2
|
-
let analytics = new URL("https://rundocs-analytics.glitch.me/collect?v={{ version }}&lang={{ lang }}");
|
3
|
-
let highlight = new URL(location.href).searchParams.get("highlight");
|
4
|
-
|
5
|
-
/* content toc */
|
6
|
-
$(".wy-menu-vertical li.current").append(function() {
|
7
|
-
let level = parseInt($(this).attr("class").match(/toctree-l(\d)/)[1]) + 1;
|
8
|
-
let toc = ["<ul>"];
|
9
|
-
|
10
|
-
$(".document").find("h2,h3,h4,h5,h6").each(function() {
|
11
|
-
toc.push(`<li class="toctree-l${level}"><a class="reference internal" href="#${this.id}">${$(this).html()}</a></li>`);
|
12
|
-
});
|
13
|
-
toc.push("</ul>");
|
14
|
-
/* return is apend */
|
15
|
-
if (toc.length == 2) {
|
16
|
-
return "";
|
17
|
-
} else {
|
18
|
-
return toc.join("");
|
19
|
-
}
|
20
|
-
});
|
21
|
-
|
22
|
-
SphinxRtdTheme.Navigation.reset = function() {
|
23
|
-
const link = $(".wy-menu-vertical").find(`[href="${location.pathname}"]`);
|
24
|
-
if (link.length > 0) {
|
25
|
-
$(".wy-menu-vertical .current").removeClass("current");
|
26
|
-
link.addClass("current");
|
27
|
-
link.closest("li.toctree-l1").parent().addClass("current");
|
28
|
-
link.closest("li.toctree-l1").addClass("current");
|
29
|
-
link.closest("li.toctree-l2").addClass("current");
|
30
|
-
link.closest("li.toctree-l3").addClass("current");
|
31
|
-
link.closest("li.toctree-l4").addClass("current");
|
32
|
-
link.closest("li.toctree-l5").addClass("current");
|
33
|
-
}
|
34
|
-
};
|
35
|
-
SphinxRtdTheme.Navigation.enable(true);
|
36
|
-
|
37
|
-
if (highlight) {
|
38
|
-
$(".section").find("*").each(function() {
|
39
|
-
try {
|
40
|
-
if (this.outerHTML.match(new RegExp(highlight, "im"))) {
|
41
|
-
$(this).addClass("highlighted-box");
|
42
|
-
}
|
43
|
-
} catch (e) {
|
44
|
-
feedback(["highlight", e.message]);
|
45
|
-
}
|
46
|
-
});
|
47
|
-
$(".section").find(".highlighted-box").each(function() {
|
48
|
-
if (($(this).find(".highlighted-box").length > 0)) {
|
49
|
-
$(this).removeClass("highlighted-box");
|
50
|
-
}
|
51
|
-
});
|
52
|
-
}
|
53
|
-
$(".admonition-title").each(function() {
|
54
|
-
$(this).html(ui.admonition[$(this).attr("ui")]);
|
55
|
-
});
|
56
|
-
anchors.add();
|
57
|
-
|
58
|
-
analytics.searchParams.append("user_lang", navigator.language);
|
59
|
-
analytics.searchParams.append("host", location.host);
|
60
|
-
analytics.searchParams.append("platform", navigator.platform);
|
61
|
-
$.getJSON(analytics.toString(), (data) => $("#counter").html(data.count));
|
62
|
-
});
|
data/_includes/assets/custom.js
DELETED
File without changes
|
File without changes
|
data/_includes/assets/search.js
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
function search(data) {
|
2
|
-
let text = new URL(location.href).searchParams.get("q");
|
3
|
-
let lang = new URL(location.href).searchParams.get("lang") || ui.lang;
|
4
|
-
|
5
|
-
$("input[name='q']").val(text);
|
6
|
-
$("input[name='q']").attr("placeholder", i18n[lang].search_docs + "...");
|
7
|
-
|
8
|
-
let results = [];
|
9
|
-
let regexp = new RegExp();
|
10
|
-
try {
|
11
|
-
regexp = new RegExp(text, "im");
|
12
|
-
} catch (e) {
|
13
|
-
$(".search").empty();
|
14
|
-
$(".search-summary").html(i18n[lang].search_results_not_found);
|
15
|
-
$("#search-results h2").html(i18n[lang].search_results);
|
16
|
-
return feedback(["search", e.message]);
|
17
|
-
}
|
18
|
-
|
19
|
-
function slice(content, min, max) {
|
20
|
-
return content.slice(min, max).replace(regexp, (match) => `<span class="highlighted">${match}</span>`);
|
21
|
-
}
|
22
|
-
for (page of data) {
|
23
|
-
let [title, content] = [null, null];
|
24
|
-
try {
|
25
|
-
if (page.title) {
|
26
|
-
title = page.title.match(regexp);
|
27
|
-
} else {
|
28
|
-
if (page.url == "/") {
|
29
|
-
page.title = ui.title;
|
30
|
-
} else {
|
31
|
-
page.title = page.url;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
} catch (e) {
|
35
|
-
feedback(["search", e.message]);
|
36
|
-
}
|
37
|
-
try {
|
38
|
-
if (page.content) {
|
39
|
-
page.content = $("<div/>").html(page.content).text();
|
40
|
-
content = page.content.match(regexp);
|
41
|
-
}
|
42
|
-
} catch (e) {
|
43
|
-
feedback(["search", e.message]);
|
44
|
-
}
|
45
|
-
if (title || content) {
|
46
|
-
let result = [`<a href="${ui.baseurl}${page.url}?highlight=${text}">${page.title}</a>`];
|
47
|
-
if (content) {
|
48
|
-
let [min, max] = [content.index - 100, content.index + 100];
|
49
|
-
let [prefix, suffix] = ["...", "..."];
|
50
|
-
|
51
|
-
if (min < 0) {
|
52
|
-
prefix = "";
|
53
|
-
min = 0;
|
54
|
-
}
|
55
|
-
if (max > page.content.length) {
|
56
|
-
suffix = "";
|
57
|
-
max = page.content.length;
|
58
|
-
}
|
59
|
-
result.push(`<p class="context">${prefix}${slice(page.content ,min, max)}${suffix}</p>`);
|
60
|
-
}
|
61
|
-
results.push(`<li>${result.join("")}</li>`);
|
62
|
-
}
|
63
|
-
}
|
64
|
-
if (results.length > 0 && text.length > 0) {
|
65
|
-
$(".search").html(results.join(""));
|
66
|
-
$(".search-summary").html(i18n[lang].search_results_found.replace("#", results.length));
|
67
|
-
} else {
|
68
|
-
$(".search").empty();
|
69
|
-
$(".search-summary").html(i18n[lang].search_results_not_found);
|
70
|
-
}
|
71
|
-
$("#search-results h2").html(i18n[lang].search_results);
|
72
|
-
}
|
73
|
-
|
74
|
-
$(document).ready(function() {
|
75
|
-
$.ajax(`${ui.baseurl}/pages.json`).done(search).fail((xhr, message) => feedback(["search", message]));
|
76
|
-
});
|