jekyll-rtd-theme 0.1.7 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/_includes/addons.liquid +11 -3
  4. data/_includes/addons/analytics/google.liquid +15 -1
  5. data/_includes/addons/comments/disqus.liquid +1 -1
  6. data/_includes/addons/seo/og.liquid +1 -1
  7. data/_includes/addons/seo/schema.liquid +1 -1
  8. data/_includes/addons/source/analytics.liquid +1 -3
  9. data/_includes/addons/source/i18n.liquid +13 -0
  10. data/_includes/addons/source/{gems.liquid → plugins.liquid} +1 -1
  11. data/_includes/album.liquid +7 -0
  12. data/_includes/assets/common.js +40 -0
  13. data/_includes/assets/custom.js +0 -0
  14. data/_includes/assets/custom.scss +0 -0
  15. data/_includes/assets/search.js +80 -0
  16. data/_includes/breadcrumbs.liquid +8 -2
  17. data/_includes/extend/list.liquid +6 -6
  18. data/_includes/extend/toctree.liquid +17 -7
  19. data/_includes/footer.liquid +3 -0
  20. data/_includes/i18n/en.liquid +9 -5
  21. data/_includes/i18n/fr.liquid +29 -0
  22. data/_includes/i18n/it.liquid +29 -0
  23. data/_includes/i18n/ja.liquid +29 -0
  24. data/_includes/i18n/ko.liquid +29 -0
  25. data/_includes/i18n/{zh.liquid → zh-cn.liquid} +9 -5
  26. data/_includes/list.liquid +4 -4
  27. data/_includes/reset/defaults.liquid +88 -0
  28. data/_includes/reset/i18n.liquid +30 -2
  29. data/_includes/reset/languages.liquid +110 -0
  30. data/_includes/reset/schema.liquid +6 -0
  31. data/_includes/reset/site_pages.liquid +8 -0
  32. data/_includes/reset/workdir.liquid +33 -0
  33. data/_includes/toctree.liquid +3 -3
  34. data/_layouts/default.liquid +32 -12
  35. data/_sass/_album.scss +25 -0
  36. data/_sass/_embed.scss +23 -0
  37. data/_sass/fluid.scss +1 -1
  38. data/_sass/{style.scss → site.scss} +27 -9
  39. data/assets/404.liquid +9 -0
  40. data/assets/css/rougify/base16.css +1 -0
  41. data/assets/css/rougify/base16.dark.css +1 -0
  42. data/assets/css/rougify/base16.light.css +1 -0
  43. data/assets/css/rougify/base16.monokai.css +1 -0
  44. data/assets/css/rougify/base16.monokai.dark.css +1 -0
  45. data/assets/css/rougify/base16.monokai.light.css +1 -0
  46. data/assets/css/rougify/base16.solarized.css +1 -0
  47. data/assets/css/rougify/base16.solarized.dark.css +1 -0
  48. data/assets/css/rougify/base16.solarized.light.css +1 -0
  49. data/assets/css/rougify/bw.css +1 -0
  50. data/assets/css/rougify/colorful.css +1 -0
  51. data/assets/css/rougify/github.css +1 -0
  52. data/assets/css/rougify/gruvbox.css +1 -0
  53. data/assets/css/rougify/gruvbox.dark.css +1 -0
  54. data/assets/css/rougify/gruvbox.light.css +1 -0
  55. data/assets/css/rougify/igorpro.css +1 -0
  56. data/assets/css/rougify/magritte.css +1 -0
  57. data/assets/css/rougify/molokai.css +1 -0
  58. data/assets/css/rougify/monokai.css +1 -0
  59. data/assets/css/rougify/monokai.sublime.css +1 -0
  60. data/assets/css/rougify/pastie.css +1 -0
  61. data/assets/css/rougify/thankful_eyes.css +1 -0
  62. data/assets/css/rougify/tulip.css +1 -0
  63. data/assets/favicon.svg +1 -1
  64. data/assets/pages.json +6 -0
  65. data/assets/search.liquid +28 -0
  66. data/assets/sitemap.xml +4 -4
  67. metadata +48 -45
  68. data/_includes/assets/404.liquid +0 -5
  69. data/_includes/assets/data.liquid +0 -12
  70. data/_includes/assets/js/script.js +0 -65
  71. data/_includes/assets/search.liquid +0 -5
  72. data/_includes/reset/content.liquid +0 -7
  73. data/_includes/reset/html.liquid +0 -9
  74. data/_includes/reset/navigation.liquid +0 -19
  75. data/_includes/reset/snippets.liquid +0 -11
  76. data/_includes/reset/start.liquid +0 -7
  77. data/_includes/reset/title.liquid +0 -10
  78. data/_includes/reset/variables.liquid +0 -28
  79. data/_includes/reset/workspace.liquid +0 -17
  80. data/_includes/searchbox.liquid +0 -7
  81. data/_sass/embed.scss +0 -25
  82. data/_sass/rougify/base16.dark.scss +0 -78
  83. data/_sass/rougify/base16.light.scss +0 -77
  84. data/_sass/rougify/base16.monokai.dark.scss +0 -78
  85. data/_sass/rougify/base16.monokai.light.scss +0 -77
  86. data/_sass/rougify/base16.monokai.scss +0 -78
  87. data/_sass/rougify/base16.scss +0 -77
  88. data/_sass/rougify/base16.solarized.dark.scss +0 -78
  89. data/_sass/rougify/base16.solarized.light.scss +0 -77
  90. data/_sass/rougify/base16.solarized.scss +0 -77
  91. data/_sass/rougify/bw.scss +0 -63
  92. data/_sass/rougify/colorful.scss +0 -170
  93. data/_sass/rougify/github.scss +0 -209
  94. data/_sass/rougify/gruvbox.dark.scss +0 -84
  95. data/_sass/rougify/gruvbox.light.scss +0 -84
  96. data/_sass/rougify/gruvbox.scss +0 -84
  97. data/_sass/rougify/igorpro.scss +0 -32
  98. data/_sass/rougify/magritte.scss +0 -167
  99. data/_sass/rougify/molokai.scss +0 -208
  100. data/_sass/rougify/monokai.scss +0 -210
  101. data/_sass/rougify/monokai.sublime.scss +0 -198
  102. data/_sass/rougify/pastie.scss +0 -146
  103. data/_sass/rougify/thankful_eyes.scss +0 -172
  104. data/_sass/rougify/tulip.scss +0 -163
  105. data/assets/404.md +0 -5
  106. data/assets/data.json +0 -6
  107. data/assets/search.md +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4dc19b8440dd2ed5d05e227af867ca52c58efc39a3640f10c3a69e209d038556
4
- data.tar.gz: 3f3c62f5541bb6243060d6451c43da375fae232b5d3432e95c8bf05135a64914
3
+ metadata.gz: 282253f9da9722cd28af8e9c627f2db0c058aec9534c048cbd46debf2deaaa5f
4
+ data.tar.gz: 2f169bf76523fac4055f67af31744db424a616455bdb6d3ccb286158bae9c55a
5
5
  SHA512:
6
- metadata.gz: 5dc0bf6face01e8b48ee5a7a125b23f2f60bf75a0079c857d3e8b569f112d2ca125c69b866bb74fa72e277038f054c7801b5b033fc84a753ca49d446b0776723
7
- data.tar.gz: ac4ff74d87393b52578a45aecbd4a22894cad693120decac835d969c88266b5ed0f78aa8a665122636a7f57481607b2cee0dd1e542afacc44d99760b59c4ac10
6
+ metadata.gz: 05b63adf3aa720a064975accecb0c92cde53ab4df1be6f1c900be3c41fa3e19084215051244acf30078563ccf235e61cc5b8c39bcea6fb51d7fd4608b7fb7a57
7
+ data.tar.gz: 16d6c0c5c9ab03b6acde4a16960d57d7214571bd9f65dad54ed2d3107c3b983657a27cb5f9c184aed4575aee8fab6f3c774a7172183966ffb8e8420c31f39ebe
data/README.md CHANGED
@@ -11,23 +11,23 @@ Just another documentation theme compatible with GitHub Pages, based on sphinx_r
11
11
  ![][demo]
12
12
 
13
13
  ## Notable features
14
- - Write documents directly, like docsify!
14
+ - Write documents directly, automatically generate toctree based on directory
15
15
  - Only need one file `_config.yml` to configure site
16
16
  - Bundled as a "theme gem" for easier installation/upgrading.
17
17
  - Compatible with GitHub Pages.
18
18
  - Optimized for search engines with support for Open Graph data.
19
19
  - Optimized for search engines with `robots.txt` and `sitemap.xml`.
20
- - Search engine support
20
+ - Search engine (RegExp supported)
21
21
  - Commenting support
22
22
  - Google,Baidu,CNZZ Analytics support.
23
- - UI localized text in English(default), Chinese(中文)
23
+ - Multi-language supported
24
24
  - And many features waiting for you to discover.
25
25
 
26
26
  ## Roadmap
27
27
  See the [open issues][issues] for a list of proposed features (and known issues).
28
28
 
29
29
  ## Documents
30
- For full documentation, see: [https://rundocs.github.io/jekyll-rtd-theme][site]
30
+ For full documentation, see: [https://jekyll-rtd-theme.rundocs.io][site]
31
31
 
32
32
  ## The License
33
33
  The theme is available as open source under the terms of the [MIT License][license].
@@ -36,7 +36,7 @@ The theme is available as open source under the terms of the [MIT License][licen
36
36
  [repository]: https://github.com/rundocs/jekyll-rtd-theme
37
37
  [issues]: https://github.com/rundocs/jekyll-rtd-theme/issues
38
38
  [license]: https://github.com/rundocs/jekyll-rtd-theme/blob/master/LICENSE
39
- [site]: https://rundocs.github.io/jekyll-rtd-theme
39
+ [site]: https://jekyll-rtd-theme.rundocs.io
40
40
  [rubygem]: https://rubygems.org/gems/jekyll-rtd-theme
41
41
  [cdn]: https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme/
42
42
  [codefactor]: https://www.codefactor.io/repository/github/rundocs/jekyll-rtd-theme
@@ -1,13 +1,21 @@
1
1
  <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
2
2
  <span class="rst-current-version" data-toggle="rst-current-version">
3
- <span class="fa fa-book"> {{ site.title }}</span>
4
- {% if site.addons_commit %}{{ commit }}{% endif %}
3
+ <span class="fa fa-book">
4
+ {% if site.url contains "rundocs.io" -%}
5
+ RunDocs
6
+ {%- else -%}
7
+ {{ site.title }}
8
+ {%- endif -%}
9
+ </span>
10
+ {% if site.addons_branch %}v: {{ branch }}{% endif %}
5
11
  <span class="fa fa-caret-down"></span>
6
12
  </span>
7
13
  <div class="rst-other-versions">
8
14
  {%- assign items = site.addons | default: addons -%}
9
15
  {% for item in items -%}
10
- {% include addons/source/{{ item }}.liquid %}
16
+ {%- if addons contains item -%}
17
+ {% include addons/source/{{ item }}.liquid %}
18
+ {%- endif -%}
11
19
  {% endfor -%}
12
20
  <hr>
13
21
  <small>
@@ -1,3 +1,17 @@
1
+ {%- if site.url contains "rundocs.io" -%}
2
+ <!-- RunDocs Analytics -->
3
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-174262874-1"></script>
4
+ <script>
5
+ window.dataLayer = window.dataLayer || [];
6
+
7
+ function gtag() {
8
+ dataLayer.push(arguments);
9
+ }
10
+ gtag("js", new Date());
11
+ gtag("config", "UA-174262874-1");
12
+ </script>
13
+ {%- endif -%}
14
+
1
15
  {%- if site.google.gtag -%}
2
16
  <!-- Google Analytics -->
3
17
  <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.gtag }}"></script>
@@ -15,4 +29,4 @@
15
29
  {%- if site.google.adsense -%}
16
30
  <!-- Google AdSense -->
17
31
  <script data-ad-client="{{ site.google.adsense }}" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
18
- {%- endif -%}
32
+ {%- endif -%}
@@ -7,4 +7,4 @@
7
7
  document.head.appendChild(script);
8
8
  })(document.createElement("script"));
9
9
  </script>
10
- {% endif %}
10
+ {% endif %}
@@ -4,4 +4,4 @@
4
4
  <meta property="og:url" content="{{ schema_url }}">
5
5
  <meta property="og:type" content="article">
6
6
  <meta property="article:author" content="{{ author }}">
7
- <meta property="article:modified_time" content="{{ schema_lastmod }}">
7
+ <meta property="article:modified_time" content="{{ schema_lastmod }}">
@@ -7,4 +7,4 @@
7
7
  "url": "{{ schema_url }}",
8
8
  "dateModified": "{{ schema_lastmod }}"
9
9
  }
10
- </script>
10
+ </script>
@@ -9,8 +9,6 @@
9
9
 
10
10
  <script>
11
11
  $(document).ready(function() {
12
- $.getJSON("https://rundocs-analytics.glitch.me/analytics?host=" + location.host, function(data) {
13
- $("#counter").html(data.count);
14
- });
12
+ $.getJSON("https://rundocs-analytics.glitch.me/analytics?host=" + location.host, (data) => $("#counter").html(data.count));
15
13
  });
16
14
  </script>
@@ -0,0 +1,13 @@
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>
@@ -1,5 +1,5 @@
1
1
  <dl>
2
- <dt>{{ __gems }}</dt>
2
+ <dt>{{ __plugins }}</dt>
3
3
  {%- for item in site.plugins %}
4
4
  <dd><a href="https://rubygems.org/gems/{{ item }}"><i class="fa fa-cog"></i> {{ item }}</a></dd>
5
5
  {%- endfor %}
@@ -0,0 +1,7 @@
1
+ <div class="album">
2
+ {%- for item in include.data -%}
3
+ <a class="item" href="{{ item.link | default: '#' }}">
4
+ <img src="{{ item.image }}">{{ item.title }}
5
+ </a>
6
+ {%- endfor -%}
7
+ </div>
@@ -0,0 +1,40 @@
1
+ $(document).ready(function() {
2
+ let highlight = new URL(location.href).searchParams.get("highlight");
3
+
4
+ SphinxRtdTheme.Navigation.reset = function() {
5
+ const link = $(".wy-menu-vertical").find(`[href="${location.pathname}"]`);
6
+ if (link.length > 0) {
7
+ $(".wy-menu-vertical .current").removeClass("current");
8
+ link.addClass("current");
9
+ link.closest("li.toctree-l1").parent().addClass("current");
10
+ link.closest("li.toctree-l1").addClass("current");
11
+ link.closest("li.toctree-l2").addClass("current");
12
+ link.closest("li.toctree-l3").addClass("current");
13
+ link.closest("li.toctree-l4").addClass("current");
14
+ link.closest("li.toctree-l5").addClass("current");
15
+ }
16
+ };
17
+ SphinxRtdTheme.Navigation.enable(true);
18
+
19
+ if (highlight) {
20
+ $(".section").find("*").each(function() {
21
+ try {
22
+ if (this.outerHTML.match(new RegExp(highlight, "im"))) {
23
+ $(this).addClass("highlighted-box");
24
+ }
25
+ } catch (e) {
26
+ console.log(e.message);
27
+ }
28
+ });
29
+ $(".section").find(".highlighted-box").each(function() {
30
+ if (($(this).find(".highlighted-box").length > 0)) {
31
+ $(this).removeClass("highlighted-box");
32
+ }
33
+ });
34
+ }
35
+ for (let item in ui.admonition) {
36
+ let content = $(`.language-${item}`).html();
37
+ $(`.language-${item}`).replaceWith(`<div class="admonition ${item}"><p class="admonition-title">${ui.admonition[item]}</p><p>${content}</p></div>`);
38
+ }
39
+ anchors.add();
40
+ });
File without changes
File without changes
@@ -0,0 +1,80 @@
1
+ function feedback(type, message) {
2
+ console.log(`feedback: https://github.com/rundocs/jekyll-rtd-theme/issues?q=${type}+${message}`);
3
+ }
4
+
5
+ function search(data) {
6
+ let text = new URL(location.href).searchParams.get("q");
7
+ let lang = new URL(location.href).searchParams.get("lang") || ui.lang;
8
+
9
+ $("input[name='q']").val(text);
10
+ $("input[name='q']").attr("placeholder", i18n[lang].search_docs + "...");
11
+
12
+ let results = [];
13
+ let regexp = new RegExp();
14
+ try {
15
+ regexp = new RegExp(text, "im");
16
+ } catch (e) {
17
+ $(".search").empty();
18
+ $(".search-summary").html(i18n[lang].search_results_not_found);
19
+ $("#search-results h2").html(i18n[lang].search_results);
20
+ return;
21
+ }
22
+
23
+ function slice(content, min, max) {
24
+ return content.slice(min, max).replace(regexp, (match) => `<span class="highlighted">${match}</span>`);
25
+ }
26
+ for (page of data) {
27
+ let [title, content] = [null, null];
28
+ try {
29
+ if (page.title) {
30
+ title = page.title.match(regexp);
31
+ } else {
32
+ if (page.url == "/") {
33
+ page.title = ui.title;
34
+ } else {
35
+ page.title = page.url;
36
+ }
37
+ }
38
+ } catch (e) {
39
+ feedback("search", e.message);
40
+ }
41
+ try {
42
+ if (page.content) {
43
+ page.content = $("<div/>").html(page.content).text();
44
+ content = page.content.match(regexp);
45
+ }
46
+ } catch (e) {
47
+ feedback("search", e.message);
48
+ }
49
+ if (title || content) {
50
+ let result = [`<a href="${ui.baseurl}${page.url}?highlight=${text}">${page.title}</a>`];
51
+ if (content) {
52
+ let [min, max] = [content.index - 100, content.index + 100];
53
+ let [prefix, suffix] = ["...", "..."];
54
+
55
+ if (min < 0) {
56
+ prefix = "";
57
+ min = 0;
58
+ }
59
+ if (max > page.content.length) {
60
+ suffix = "";
61
+ max = page.content.length;
62
+ }
63
+ result.push(`<p class="context">${prefix}${slice(page.content ,min, max)}${suffix}</p>`);
64
+ }
65
+ results.push(`<li>${result.join("")}</li>`);
66
+ }
67
+ }
68
+ if (results.length > 0 && text.length > 0) {
69
+ $(".search").html(results.join(""));
70
+ $(".search-summary").html(i18n[lang].search_results_found.replace("#", results.length));
71
+ } else {
72
+ $(".search").empty();
73
+ $(".search-summary").html(i18n[lang].search_results_not_found);
74
+ }
75
+ $("#search-results h2").html(i18n[lang].search_results);
76
+ }
77
+
78
+ $(document).ready(function() {
79
+ $.ajax(`${ui.baseurl}/pages.json`).done(search).fail((xhr, message) => feedback("search", message));
80
+ });
@@ -22,14 +22,20 @@
22
22
  {{ site.baseurl }}/{% for block in blocks limit: forloop.index %}{{ block | append: "/" }}{% endfor %}
23
23
  {%- endcapture %}
24
24
  <li>
25
- <a href="{{ href }}">{{ block | split: "." | last | capitalize }}</a><i class="fa fa-angle-double-right"></i>
25
+ <a href="{{ href }}">
26
+ {%- if block == lang -%}
27
+ {{ block }}
28
+ {%- else -%}
29
+ {{ block | capitalize }}
30
+ {%- endif -%}
31
+ </a><i class="fa fa-angle-double-right"></i>
26
32
  </li>
27
33
  {%- endif -%}
28
34
  {%- endfor -%}
29
35
  {%- endcase %}
30
36
  {%- if site.edit -%}
31
37
  <li class="wy-breadcrumbs-aside">
32
- <a href="{{ github_edit_link }}" class="fa fa-github" target="_blank"> {{ __edit }}</a>
38
+ <a href="{{ github_edit_link }}" class="fa fa-edit" target="_blank"></a>
33
39
  </li>
34
40
  {%- endif -%}
35
41
  </ul>
@@ -1,15 +1,15 @@
1
- {%- include reset/html.liquid -%}
2
- {%- include reset/workspace.liquid -%}
1
+ {%- include reset/site_pages.liquid -%}
2
+ {%- include reset/workdir.liquid -%}
3
3
 
4
4
  {%- assign base = page.dir | append: "temp/" | split: "/" | size -%}
5
- {%- assign size = workspace_level | minus: base -%}
5
+ {%- assign size = workdir_level | minus: base -%}
6
6
  {%- assign size_p1 = size | plus: 1 -%}
7
7
 
8
- {%- assign dir = html_pages | where: "url", workspace | first %}
8
+ {%- assign dir = site_pages | where: "url", workdir | first %}
9
9
  {% include extend/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{ site.baseurl | append: dir.url }})
10
10
 
11
- {%- for item in workspace_files %}
11
+ {%- for item in workdir_files %}
12
12
  {% include extend/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.url }}]({{ site.baseurl | append: item.url }})
13
13
  {%- endfor -%}
14
14
 
15
- {%- for workspace in workspace_dirs %}{% include extend/list.liquid %}{% endfor -%}
15
+ {%- for workdir in workdir_dirs %}{% include extend/list.liquid %}{% endfor -%}
@@ -1,29 +1,39 @@
1
- {%- include reset/workspace.liquid %}
1
+ {%- include reset/workdir.liquid %}
2
2
 
3
- {%- assign dir = html_pages | where: "url", workspace | first -%}
4
- {%- if workspace_level == 2 %}
3
+ {%- assign dir = site_pages | where: "url", workdir | first -%}
4
+ {%- if site_lang != lang -%}
5
+ {%- assign workdir_level = workdir_level | minus: 1 -%}
6
+ {%- endif -%}
7
+ {%- if workdir_level == 2 %}
5
8
  <p class="caption"><span class="caption-text">{{ dir.title | default: dir.url }}</span></p>
6
9
  {%- else %}
7
10
  <a class="reference internal" href="{{ site.baseurl | append: dir.url }}">{{ dir.title | default: dir.url }}</a>
8
11
  {%- endif -%}
9
12
 
10
13
  <ul>
11
- {%- for item in workspace_files -%}
14
+ {%- for item in workdir_files -%}
12
15
  {%- assign level = item.dir | append: "temp/" | split: "/" | size | minus: 2 -%}
13
16
  {%- capture current -%}
14
17
  {%- if page.url == item.url %}current{% endif -%}
15
18
  {%- endcapture %}
19
+ {%- if site_lang != lang -%}
20
+ {%- assign level = level | minus: 1 -%}
21
+ {%- endif -%}
22
+
16
23
  <li class="toctree-l{{ level }} {{ current }}">
17
24
  <a class="reference internal {{ current }}" href="{{ site.baseurl | append: item.url }}">
18
- {%- if item.sort -%}
25
+ {%- if item.sort and site.show_sorted != false -%}
19
26
  {{ item.sort }}.
20
27
  {%- endif %}
21
28
  {{ item.title | default: item.url }}
22
29
  </a>
23
30
  </li>
24
31
  {%- endfor -%}
25
- {%- for workspace in workspace_dirs -%}
26
- {%- assign level = workspace | append: "temp/" | split: "/" | size | minus: 3 %}
32
+ {%- for workdir in workdir_dirs -%}
33
+ {%- assign level = workdir | append: "temp/" | split: "/" | size | minus: 3 %}
34
+ {%- if site_lang != lang -%}
35
+ {%- assign level = level | minus: 1 -%}
36
+ {%- endif -%}
27
37
  <li class="toctree-l{{ level }}">{% include extend/toctree.liquid %}</li>
28
38
  {%- endfor -%}
29
39
  </ul>
@@ -31,4 +31,7 @@
31
31
  </p>
32
32
  </div>
33
33
  {%- endif -%}
34
+ <div role="contentinfo" class="copyright-rtd">
35
+ Powered by <a href="https://rundocs.io">rundocs.io</a>
36
+ </div>
34
37
  </footer>
@@ -1,8 +1,10 @@
1
+ {% comment %} English {% endcomment %}
1
2
  {%- assign __github = "GitHub" -%}
2
3
  {%- assign __homepage = "Homepage" -%}
3
4
  {%- assign __issues = "Issues" -%}
4
5
  {%- assign __download = "Download" -%}
5
- {%- assign __gems = "Gems" -%}
6
+ {%- assign __plugins = "Theme Plugins" -%}
7
+ {%- assign __translations = "Translations" -%}
6
8
  {%- assign __statistics = "Statistics" -%}
7
9
  {%- assign __total_visits = "Total visits:" -%}
8
10
 
@@ -13,13 +15,15 @@
13
15
 
14
16
  {%- assign __next = "Next" -%}
15
17
  {%- assign __previous = "Previous" -%}
16
- {%- assign __edit = "Edit on GitHub" -%}
17
18
  {%- assign __copyright = "Copyright" -%}
18
19
  {%- assign __revision = "Revision" -%}
19
20
 
21
+ {%- assign __404 = "404" -%}
22
+ {%- assign __not_found = "This page does not exist yet!" -%}
23
+
24
+ {%- assign __searching = "Searching" -%}
20
25
  {%- assign __search = "Search" -%}
21
26
  {%- assign __search_docs = "Search Docs" -%}
22
27
  {%- assign __search_results = "Search Results" -%}
23
-
24
- {%- assign __404 = "404" -%}
25
- {%- assign __no_results_found = "No results found!" -%}
28
+ {%- assign __search_results_found = "Search finished, found # page(s) matching the search query." -%}
29
+ {%- assign __search_results_not_found = "Your search did not match any documents, please make sure that all words are spelled correctly!" -%}
@@ -0,0 +1,29 @@
1
+ {% comment %} French {% endcomment %}
2
+ {%- assign __github = "Github" -%}
3
+ {%- assign __homepage = "Page d'accueil" -%}
4
+ {%- assign __issues = "Problèmes" -%}
5
+ {%- assign __download = "Télécharger" -%}
6
+ {%- assign __plugins = "Plugins de thème" -%}
7
+ {%- assign __translations = "Traductions" -%}
8
+ {%- assign __statistics = "Statistiques" -%}
9
+ {%- assign __total_visits = "Total des visites:" -%}
10
+
11
+ {%- assign __note = "Remarques" -%}
12
+ {%- assign __tip = "Conseils" -%}
13
+ {%- assign __warning = "avertissement" -%}
14
+ {%- assign __danger = "Danger" -%}
15
+
16
+ {%- assign __next = "Page suivante" -%}
17
+ {%- assign __previous = "Page précédente" -%}
18
+ {%- assign __copyright = "droits d'auteur" -%}
19
+ {%- assign __revision = "Révision" -%}
20
+
21
+ {%- assign __404 = "404" -%}
22
+ {%- assign __not_found = "Cette page n'existe pas encore!" -%}
23
+
24
+ {%- assign __searching = "Recherche" -%}
25
+ {%- assign __search = "Chercher" -%}
26
+ {%- assign __search_docs = "Rechercher des documents" -%}
27
+ {%- assign __search_results = "Résultats de recherche" -%}
28
+ {%- assign __search_results_found = "Recherche terminée, page (s) «#» trouvée (s) correspondant à la requête de recherche." -%}
29
+ {%- assign __search_results_not_found = "Votre recherche ne correspond à aucun document, veuillez vous assurer que tous les caractères sont correctement orthographiés!" -%}