jekyll-rtd-theme 1.1.7 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +71 -29
  4. data/_includes/addons/analytics.liquid +6 -13
  5. data/_includes/addons/github.liquid +19 -18
  6. data/_includes/assets/sw.caches.js +38 -28
  7. data/_includes/class/_breadcrumbs.liquid +28 -0
  8. data/_includes/class/_footer.liquid +38 -0
  9. data/_includes/{toctree.liquid → class/_toctree.liquid} +0 -3
  10. data/_includes/{addons.liquid → class/rst-versions.liquid} +6 -12
  11. data/_includes/class/wy-nav-content.liquid +15 -0
  12. data/_includes/class/wy-nav-side.liquid +18 -0
  13. data/_includes/class/wy-nav-top.liquid +8 -0
  14. data/_includes/extend/list.liquid +2 -2
  15. data/_includes/extend/toctree.liquid +0 -10
  16. data/_includes/node/links.liquid +24 -0
  17. data/_includes/node/metadata.liquid +21 -0
  18. data/_includes/node/script.extension.liquid +29 -0
  19. data/_includes/node/script.liquid +20 -0
  20. data/_includes/node/script.schema.liquid +27 -0
  21. data/_includes/node/title.liquid +1 -0
  22. data/_includes/reset/defaults.liquid +56 -55
  23. data/_includes/reset/i18n.liquid +1 -31
  24. data/_includes/{extend → reset}/tabs.liquid +0 -0
  25. data/_includes/reset/workdir.liquid +1 -15
  26. data/_includes/shortcodes/danger.liquid +6 -0
  27. data/_includes/shortcodes/mermaid.liquid +1 -0
  28. data/_includes/shortcodes/note.liquid +6 -0
  29. data/_includes/shortcodes/tip.liquid +6 -0
  30. data/_includes/shortcodes/warning.liquid +6 -0
  31. data/_layouts/default.liquid +24 -240
  32. data/_layouts/plugins/compress.liquid +13 -10
  33. data/_layouts/plugins/extension.liquid +32 -22
  34. data/_sass/highlight.scss +214 -0
  35. data/_sass/theme.scss +15 -0
  36. data/assets/404.liquid +1 -1
  37. data/assets/css/{theme.css → theme.min.css} +0 -0
  38. data/assets/js/theme.js +294 -0
  39. data/assets/js/theme.min.js +1 -0
  40. data/assets/search.liquid +0 -15
  41. metadata +26 -52
  42. data/_includes/addons/i18n.liquid +0 -13
  43. data/_includes/addons/plugins.liquid +0 -6
  44. data/_includes/album.liquid +0 -7
  45. data/_includes/assets/common.js +0 -167
  46. data/_includes/assets/search.js +0 -76
  47. data/_includes/breadcrumbs.liquid +0 -43
  48. data/_includes/footer.liquid +0 -39
  49. data/_includes/i18n/en.liquid +0 -29
  50. data/_includes/i18n/es.liquid +0 -29
  51. data/_includes/i18n/fr.liquid +0 -29
  52. data/_includes/i18n/it.liquid +0 -29
  53. data/_includes/i18n/ja.liquid +0 -29
  54. data/_includes/i18n/ko.liquid +0 -29
  55. data/_includes/i18n/ru.liquid +0 -29
  56. data/_includes/i18n/sv.liquid +0 -29
  57. data/_includes/i18n/zh-cn.liquid +0 -29
  58. data/_includes/reset/languages.liquid +0 -110
  59. data/_sass/_album.scss +0 -19
  60. data/_sass/_embed.scss +0 -23
  61. data/_sass/fluid.scss +0 -7
  62. data/_sass/jekyll-rtd-theme.scss +0 -162
  63. data/assets/css/rougify/base16.css +0 -1
  64. data/assets/css/rougify/base16.dark.css +0 -1
  65. data/assets/css/rougify/base16.light.css +0 -1
  66. data/assets/css/rougify/base16.monokai.css +0 -1
  67. data/assets/css/rougify/base16.monokai.dark.css +0 -1
  68. data/assets/css/rougify/base16.monokai.light.css +0 -1
  69. data/assets/css/rougify/base16.solarized.css +0 -1
  70. data/assets/css/rougify/base16.solarized.dark.css +0 -1
  71. data/assets/css/rougify/base16.solarized.light.css +0 -1
  72. data/assets/css/rougify/bw.css +0 -1
  73. data/assets/css/rougify/colorful.css +0 -1
  74. data/assets/css/rougify/github.css +0 -1
  75. data/assets/css/rougify/gruvbox.css +0 -1
  76. data/assets/css/rougify/gruvbox.dark.css +0 -1
  77. data/assets/css/rougify/gruvbox.light.css +0 -1
  78. data/assets/css/rougify/igorpro.css +0 -1
  79. data/assets/css/rougify/magritte.css +0 -1
  80. data/assets/css/rougify/molokai.css +0 -1
  81. data/assets/css/rougify/monokai.css +0 -1
  82. data/assets/css/rougify/monokai.sublime.css +0 -1
  83. data/assets/css/rougify/pastie.css +0 -1
  84. data/assets/css/rougify/thankful_eyes.css +0 -1
  85. data/assets/css/rougify/tulip.css +0 -1
  86. data/assets/js/anchor.min.js +0 -9
  87. data/assets/js/html5shiv.min.js +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfa6e7cffcb895b7a19f9f904415f281083b74a3578bb9e2679058895719c54a
4
- data.tar.gz: 144a22891ac23e3fc30dbfc9b2ccfa11c595be2667f0d24de1c034f747086e05
3
+ metadata.gz: d69e021f3df96ab3b9714d64e1d216601712e009ddb08aed35d7e7837e4ef86c
4
+ data.tar.gz: cf6b6baace1113759c0cffc4b1e097ae02f0369ec8d094a52ad500846aba4d8f
5
5
  SHA512:
6
- metadata.gz: 53034a59f804c982e3c36dc863567050dbb8c45bd510c09e6244c9e839d0456df681dfb3e4deb2b1b9a8d3aedb87f7aa2db0f20692aa80fde22e471d21e6b201
7
- data.tar.gz: fb7a032b4b6f85f82cd9078ba514970fce313cf2b6dbab52689c7de8979ce69da7aa38560ba63cad1c20885e67f6980d749ff776f4f8b51dd66be42a4d918f24
6
+ metadata.gz: dc8d4eb1046e999f051855a27c521a043786df3d5961270fa6e1841d353875e96a02d2e0c0d5d4e329e14ba2448d62ce90fb99b54cb2a93b548bb9eb1f58a01e
7
+ data.tar.gz: a942afc0ac6fe9511159571c5235814a3579ac7058fd5376fc57588de94a56101bd9f49080122168b710b0db35a7d482990b14a616a0db802c796bfb5cb5d72f
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 RunDocs
3
+ Copyright (c) 2020 RunDocs & contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,43 +1,85 @@
1
1
  # jekyll-rtd-theme
2
- [![](https://github.com/rundocs/jekyll-rtd-theme/workflows/CI/badge.svg)][repository]
3
- [![](https://img.shields.io/gem/v/jekyll-rtd-theme)][rubygem]
4
- [![](https://img.shields.io/gem/dt/jekyll-rtd-theme)][rubygem]
5
- [![](https://data.jsdelivr.com/v1/package/gh/rundocs/jekyll-rtd-theme/badge)][cdn]
6
- [![](https://www.codefactor.io/repository/github/rundocs/jekyll-rtd-theme/badge)][codefactor]
7
- [![](https://img.shields.io/badge/featured%20on-JekyllThemes-red.svg)](https://jekyll-themes.com)
8
- [![](https://badges.gitter.im/rundocs/jekyll-rtd-theme.svg)][gitter]
9
2
 
10
- GitHub-flavored docs theme for Jekyll, based on sphinx_rtd_theme
3
+ ![CI](https://github.com/rundocs/jekyll-rtd-theme/workflows/CI/badge.svg)
4
+ ![jsDelivr](https://data.jsdelivr.com/v1/package/gh/rundocs/jekyll-rtd-theme/badge)
11
5
 
12
- <img class="shadow-box" width="50%" alt="jekyll-rtd-theme" src="https://user-images.githubusercontent.com/68011645/89026666-ad3a8680-d35b-11ea-9f4b-d3fe26ae12ed.png">
6
+ Opinionated github flavored standard document theme for open source projects, with few options, but everything!
7
+
8
+ ## What it does?
9
+
10
+ This theme(`v1`) use [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme)'s styles
11
+
12
+ Solved the issue of open source project documentation site
13
+
14
+ - No need to learn other programming languages for building documentation
15
+ - No need to care about the site SEO
16
+ - Native support for mermaid chart plugin
13
17
 
14
18
  ## Quick start
19
+
15
20
  ```yml
16
- remote_theme: rundocs/jekyll-rtd-theme
21
+ remote_theme: rundocs/jekyll-rtd-theme@v1
17
22
  ```
23
+
18
24
  You can [generate](https://github.com/rundocs/starter-slim/generate) with the same files and folders from [rundocs/starter-slim](https://github.com/rundocs/starter-slim/)
19
25
 
20
- ## Features
21
- - Automatically generate nested sidebar based on directory
22
- - Multi-language supported
23
- - Search engine optimized
24
- - Document search (RegExp supported)
25
- - Support third-party comments
26
- - Google, Baidu, CNZZ Analytics supported
27
- - Just need one file `_config.yml` to configure site
26
+ ## Options
27
+
28
+ ```yml
29
+ title: Your awesome title
30
+ lang: # default: en
31
+ description: Write an awesome description for your new site here
32
+
33
+ readme_index:
34
+ with_frontmatter: true
35
+
36
+ ## optional settings ##
37
+ meta:
38
+ key1: value1
39
+ key2: value2
28
40
 
29
- ## Documents
30
- For full documentation, please refer to our website ([rundocs.io](https://rundocs.io/)) for details
41
+ google:
42
+ gtag:
43
+ adsense:
31
44
 
32
- ### test
33
- - Latest test document: [rundocs.github.io/jekyll-rtd-theme](https://rundocs.github.io/jekyll-rtd-theme)
34
- - Preview debug branch, please refer to [rundocs.github.io/debug](https://rundocs.github.io/debug)
45
+ mermaid:
46
+ custom: # mermaid link
47
+ initialize: # mermaid options, default: {}
48
+
49
+ # also available via file: _include/assets/custom.scss
50
+ scss:
51
+
52
+ # also available via file: _include/assets/custom.js
53
+ script:
54
+
55
+ # also available via file: _data/translate.yml
56
+ translate:
57
+ # shortcodes
58
+ danger:
59
+ note:
60
+ tip:
61
+ warning:
62
+ # 404
63
+ not_found:
64
+ # search
65
+ searching:
66
+ search:
67
+ search_docs:
68
+ search_results:
69
+ search_results_found: # the "#" in this translate will replaced with results size!
70
+ search_results_not_found:
71
+
72
+ ## optional plugins ##
73
+ plugins:
74
+ - jemoji
75
+ - jekyll-avatar
76
+ - jekyll-mentions
77
+ ```
78
+
79
+ ## Waiting
80
+
81
+ Document writing specifications, please refer to [rundocs.io](https://rundocs.io) for details
35
82
 
36
83
  ## The license
37
- The theme is available as open source under the terms of the MIT License
38
84
 
39
- [repository]: https://github.com/rundocs/jekyll-rtd-theme
40
- [rubygem]: https://rubygems.org/gems/jekyll-rtd-theme
41
- [cdn]: https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme/
42
- [codefactor]: https://www.codefactor.io/repository/github/rundocs/jekyll-rtd-theme
43
- [gitter]: https://gitter.im/rundocs/jekyll-rtd-theme?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
85
+ The theme is available as open source under the terms of the MIT License
@@ -1,18 +1,11 @@
1
1
  <dl>
2
- <dt>{{ __statistics }}</dt>
2
+ <dt>{{ __.statistics | default: "Statistics" }}</dt>
3
3
  <dd>
4
- <a href="https://github.com/rundocs/analytics" target="_blank">
5
- {{ __total_visits }} <span id="counter"><span class="progress"></span></span> <i class="fa fa-eye"></i>
4
+ <a href="https://github.com/rundocs/analytics" rel="noreferrer" target="_blank">
5
+ {{ __.total_visits | default: "Total visits" }}:
6
+ <span id="counter">
7
+ <span class="AnimatedEllipsis"></span>
8
+ </span>
6
9
  </a>
7
10
  </dd>
8
11
  </dl>
9
-
10
- <script>
11
- $(document).ready(function() {
12
- let analytics = new URL("https://rundocs-analytics.glitch.me/collect?v={{ version }}&lang={{ lang }}");
13
- analytics.searchParams.append("user_lang", navigator.language);
14
- analytics.searchParams.append("host", location.host);
15
- analytics.searchParams.append("platform", navigator.platform);
16
- $.getJSON(analytics.toString(), (data) => $("#counter").html(data.count));
17
- });
18
- </script>
@@ -1,20 +1,21 @@
1
1
  <dl>
2
- <dt>{{ __github }}</dt>
3
- {%- if include.items -%}
4
- {% for item in include.items -%}
5
- {% case item %}
6
- {% when "homepage" %}
7
- <dd><a href="{{ repository_url }}"><i class="fa fa-github"></i> {{ __homepage }}</a></dd>
8
- {% when "issues" %}
9
- <dd><a href="{{ issues_url }}"><i class="fa fa-question-circle-o"></i> {{ __issues }}</a></dd>
10
- {% when "download" %}
11
- <dd><a href="{{ zip_url }}"><i class="fa fa-download"></i> {{ __download }}</a></dd>
12
- {% else %}
13
- {% endcase %}
14
- {% endfor -%}
15
- {%- else -%}
16
- <dd><a href="{{ repository_url }}"><i class="fa fa-github"></i> {{ __homepage }}</a></dd>
17
- <dd><a href="{{ issues_url }}"><i class="fa fa-question-circle-o"></i> {{ __issues }}</a></dd>
18
- <dd><a href="{{ zip_url }}"><i class="fa fa-download"></i> {{ __download }}</a></dd>
19
- {%- endif -%}
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>
20
21
  </dl>
@@ -1,33 +1,43 @@
1
- self.addEventListener("activate", function(event) {
2
- let cacheWhitelist = ["rundocs-{{ version }}"];
1
+ self.addEventListener("activate", function (event) {
2
+ let cacheWhitelist = ["rundocs-{{ version }}"];
3
3
 
4
- event.waitUntil(
5
- caches.keys().then(function(keyList) {
6
- return Promise.all(keyList.map(function(key) {
7
- if (cacheWhitelist.indexOf(key) === -1) {
8
- return caches.delete(key);
9
- }
10
- }));
4
+ event.waitUntil(
5
+ caches.keys().then(function (keyList) {
6
+ return Promise.all(
7
+ keyList.map(function (key) {
8
+ if (cacheWhitelist.indexOf(key) === -1) {
9
+ return caches.delete(key);
10
+ }
11
11
  })
12
- );
12
+ );
13
+ })
14
+ );
13
15
  });
14
16
 
15
- self.addEventListener("fetch", function(e) {
16
- if (/^https:\/\/cdn\.jsdelivr\.net\/gh\/rundocs\/jekyll-rtd-theme@.+/.exec(e.request.url)) {
17
- e.respondWith(
18
- caches.match(e.request).then(function(resp) {
19
- if (resp !== undefined) {
20
- return resp;
21
- } else {
22
- return fetch(e.request, { cache: "no-store" }).then(function(resp) {
23
- let clone = resp.clone();
24
- caches.open("rundocs-{{ version }}").then(function(cache) {
25
- cache.put(e.request, clone);
26
- });
27
- return resp;
28
- }).catch(console.log);
29
- }
17
+ self.addEventListener("fetch", function (e) {
18
+ if (
19
+ /^https:\/\/cdn\.jsdelivr\.net\/gh\/rundocs\/jekyll-rtd-theme@.+/.exec(
20
+ e.request.url
21
+ )
22
+ ) {
23
+ e.respondWith(
24
+ caches.match(e.request).then(function (resp) {
25
+ if (resp !== undefined) {
26
+ return resp;
27
+ } else {
28
+ return fetch(e.request, {
29
+ cache: "no-store",
30
+ })
31
+ .then(function (resp) {
32
+ let clone = resp.clone();
33
+ caches.open("rundocs-{{ version }}").then(function (cache) {
34
+ cache.put(e.request, clone);
35
+ });
36
+ return resp;
30
37
  })
31
- );
32
- }
33
- });
38
+ .catch(console.log);
39
+ }
40
+ })
41
+ );
42
+ }
43
+ });
@@ -0,0 +1,28 @@
1
+ <div role="navigation" aria-label="breadcrumbs navigation">
2
+ <ul class="wy-breadcrumbs">
3
+ <li>
4
+ <a href="{{ site.baseurl }}/" class="icon icon-home"></a><i class="fa fa-angle-double-right"></i>
5
+ </li>
6
+ {%- case page.url -%}
7
+ {%- when "/search.html" %}
8
+ <li>{{ __.search | default: "Search" }}</li>
9
+ {%- when "/404.html" %}
10
+ <li>404</li>
11
+ {%- else -%}
12
+ {%- assign blocks = page.path | split: "/" -%}
13
+ {%- for block in blocks -%}
14
+ <li>
15
+ {%- if forloop.last %}
16
+ {{ page.name }}
17
+ {%- else -%}
18
+ <a href="{{ site.baseurl }}/{% for block in blocks limit: forloop.index %}{{ block }}/{% endfor %}">{{ block }}</a><i class="fa fa-angle-double-right"></i>
19
+ {%- endif -%}
20
+ </li>
21
+ {%- endfor -%}
22
+ {%- endcase %}
23
+ <li class="wy-breadcrumbs-aside">
24
+ <a class="fa fa-edit" href="{% github_edit_link %}" title="{{ __.edit | default: 'Edit on GitHub'}}" target="_blank"></a>
25
+ </li>
26
+ </ul>
27
+ <hr>
28
+ </div>
@@ -0,0 +1,38 @@
1
+ <footer>
2
+ {%- if page.url != "/search.html" and page.url != "/404.html" -%}
3
+ {%- if next or prev -%}
4
+ <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
5
+ {%- if prev -%}
6
+ <a href="{{ prev.url | relative_url }}" class="btn btn-neutral float-left" title="{{ prev.title }}" accesskey="p" rel="prev">
7
+ <span class="fa fa-arrow-circle-left"></span> {{ __.previous | default: "Previous" }}
8
+ </a>
9
+ {%- endif -%}
10
+ {%- if next -%}
11
+ <a href="{{ next.url | relative_url }}" class="btn btn-neutral float-right" title="{{ next.title }}" accesskey="n" rel="next">
12
+ {{ __.next | default: "Next" }} <span class="fa fa-arrow-circle-right"></span>
13
+ </a>
14
+ {%- endif -%}
15
+ </div>
16
+ {%- endif -%}
17
+ {%- endif -%}
18
+ <hr>
19
+ <div role="contentinfo" class="copyright">
20
+ <p>
21
+ <i class="fa fa-copyright"></i>
22
+ {%- assign created_time = rest_created_at | date: "%Y" -%}
23
+ {%- assign updated_time = rest_updated_at | date: "%Y" -%}
24
+ {%- if created_time == updated_time -%}
25
+ {{ created_time }},
26
+ {%- else -%}
27
+ {{ created_time }}-{{ updated_time }},
28
+ {%- endif %}
29
+ <a href="{{ docs.owner_url }}" target="_blank">
30
+ {{ author }}
31
+ </a>
32
+ {{ __.revision | default: "Revision" }}
33
+ <a href="{{ docs.repository_url }}/commit/{{ docs.build_revision }}" title="{{ docs.build_revision }}" target="_blank">
34
+ {{ docs.build_revision | slice: 0, 7 }}
35
+ </a>
36
+ </p>
37
+ </div>
38
+ </footer>
@@ -4,9 +4,6 @@
4
4
  <ul>
5
5
  {%- for item in workdir_files -%}
6
6
  {%- assign level = item.dir | append: "temp" | replace_first: "/", "" | split: "/" | size -%}
7
- {%- if site_lang != lang -%}
8
- {%- assign level = level | minus: 1 -%}
9
- {%- endif -%}
10
7
  {%- capture current -%}
11
8
  {%- if page.url == item.url %}current{% endif -%}
12
9
  {%- endcapture %}
@@ -1,27 +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
3
  <span class="fa fa-book"> {{ site.title }}</span>
4
- {% if site.addons_branch and site.github_metadata != false %}{{ branch }}{% endif %}
4
+ {{ docs.source.branch }}
5
5
  <span class="fa fa-caret-down"></span>
6
6
  </span>
7
7
  <div class="rst-other-versions">
8
- {%- assign items = site.addons | default: addons -%}
8
+ {%- assign items = "github, analytics" | split: ", " -%}
9
9
  {% for item in items -%}
10
- {%- if addons contains item -%}
11
- {% include addons/{{ item }}.liquid %}
12
- {%- else -%}
13
- {%- if item.github -%}
14
- {% include addons/github.liquid items=item.github %}
15
- {%- endif -%}
16
- {%- endif -%}
10
+ {% include addons/{{ item }}.liquid %}
17
11
  {% endfor -%}
18
12
  <hr>
19
13
  <small>
20
14
  <span>
21
15
  Built with
22
- <a href="https://jekyllrb.com/">Jekyll</a>
23
- using the
24
- <a href="https://github.com/rundocs/jekyll-rtd-theme">jekyll-rtd-theme</a> (MIT)
16
+ <a href="https://github.com/rundocs/jekyll-rtd-theme" target="_blank" title="{% if site.remote_theme %}remote{% endif %} theme v{{ version }}">jekyll-rtd-theme</a>
17
+ provided by
18
+ <a href="https://rundocs.io" target="_blank">RunDocs</a>
25
19
  </span>
26
20
  </small>
27
21
  </div>
@@ -0,0 +1,15 @@
1
+ <div class="wy-nav-content">
2
+ <div class="rst-content">
3
+ {% include class/_breadcrumbs.liquid %}
4
+ <div role="main" itemscope="itemscope" itemtype="http://schema.org/Article">
5
+ <div class="document" itemprop="articleBody">
6
+ {%- if page.url == "/search.html" -%}
7
+ {{ content }}
8
+ {%- else -%}
9
+ <div class="section">{{ content }}</div>
10
+ {%- endif -%}
11
+ </div>
12
+ </div>
13
+ {% include class/_footer.liquid %}
14
+ </div>
15
+ </div>
@@ -0,0 +1,18 @@
1
+ <nav data-toggle="wy-nav-shift" class="wy-nav-side">
2
+ <div class="wy-side-scroll">
3
+ <div class="wy-side-nav-search">
4
+ <a href="{{ site.baseurl }}/" class="icon icon-home">
5
+ {{ site.title }}
6
+ </a>
7
+ <div class="version">{{ docs.latest_release.name }}</div>
8
+ <div role="search">
9
+ <form id="rtd-search-form" class="wy-form" action="{{ site.baseurl }}/search.html" method="get" autocomplete="off">
10
+ <input type="text" name="q" placeholder="{{ __.search_docs | default: 'Search docs...' }}">
11
+ </form>
12
+ </div>
13
+ </div>
14
+ <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
15
+ {% include class/_toctree.liquid %}
16
+ </div>
17
+ </div>
18
+ </nav>
@@ -0,0 +1,8 @@
1
+ <nav class="wy-nav-top" aria-label="top navigation">
2
+ <div class="flex">
3
+ <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
4
+ <div class="wy-nav-title">
5
+ <a href="{{ site.baseurl }}/">{{ site.title }}</a>
6
+ </div>
7
+ </div>
8
+ </nav>
@@ -6,10 +6,10 @@
6
6
  {%- assign size_p1 = size | plus: 1 -%}
7
7
 
8
8
  {%- assign dir = site_pages | where: "url", workdir | first %}
9
- {% include extend/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{ dir.url | relative_url }})
9
+ {% include reset/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{ dir.url | relative_url }})
10
10
 
11
11
  {%- for item in workdir_files %}
12
- {% include extend/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.url }}]({{ item.url | relative_url }})
12
+ {% include reset/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.url }}]({{ item.url | relative_url }})
13
13
  {%- endfor -%}
14
14
 
15
15
  {%- for workdir in workdir_dirs %}{% include extend/list.liquid %}{% endfor -%}