just-the-docs 0.4.0.rc2 → 0.4.0.rc4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +461 -113
- data/README.md +36 -13
- data/_includes/components/aux_nav.html +15 -0
- data/_includes/components/breadcrumbs.html +15 -0
- data/_includes/components/children_nav.html +9 -0
- data/_includes/components/footer.html +34 -0
- data/_includes/components/header.html +11 -0
- data/_includes/components/mermaid.html +5 -0
- data/_includes/components/search_footer.html +7 -0
- data/_includes/components/search_header.html +9 -0
- data/_includes/components/sidebar.html +69 -0
- data/_includes/css/just-the-docs.scss.liquid +2 -1
- data/_includes/head.html +16 -15
- data/_includes/icons/code_copy.html +15 -0
- data/_includes/icons/document.html +6 -0
- data/_includes/icons/expand.html +6 -0
- data/_includes/icons/icons.html +13 -0
- data/_includes/icons/link.html +6 -0
- data/_includes/icons/menu.html +6 -0
- data/_includes/icons/search.html +6 -0
- data/_includes/nav.html +174 -110
- data/_includes/toc_heading_custom.html +1 -0
- data/_includes/vendor/anchor_headings.html +46 -18
- data/_layouts/default.html +11 -196
- data/_layouts/minimal.html +60 -0
- data/_sass/base.scss +15 -10
- data/_sass/buttons.scss +1 -4
- data/_sass/code.scss +85 -26
- data/_sass/labels.scss +1 -4
- data/_sass/layout.scss +1 -2
- data/_sass/navigation.scss +4 -14
- data/_sass/search.scss +9 -20
- data/_sass/tables.scss +1 -4
- data/assets/js/just-the-docs.js +44 -1
- data/assets/js/vendor/lunr.min.js +58 -3
- metadata +21 -4
- data/_includes/favicon.html +0 -1
data/README.md
CHANGED
|
@@ -13,18 +13,28 @@
|
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
16
|
-
###
|
|
16
|
+
### Use the template
|
|
17
17
|
|
|
18
|
-
The
|
|
18
|
+
The [Just the Docs Template] provides the simplest, quickest, and easiest way to create a new website that uses the Just the Docs theme. To get started with creating a site, just click "[use the template]"!
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
Note: To use the theme, you do ***not*** need to clone or fork the [Just the Docs repo]! You should do that only if you intend to browse the theme docs locally, contribute to the development of the theme, or develop a new theme based on Just the Docs.
|
|
21
|
+
|
|
22
|
+
You can easily set the site created by the template to be published on [GitHub Pages] – the [template README] file explains how to do that, along with other details.
|
|
23
|
+
|
|
24
|
+
If [Jekyll] is installed on your computer, you can also build and preview the created site *locally*. This lets you test changes before committing them, and avoids waiting for GitHub Pages.[^2] And you will be able to deploy your local build to a different platform than GitHub Pages.
|
|
25
|
+
|
|
26
|
+
More specifically, the created site:
|
|
24
27
|
|
|
25
|
-
|
|
28
|
+
- uses a gem-based approach, i.e. uses a `Gemfile` and loads the `just-the-docs` gem
|
|
29
|
+
- uses the [GitHub Pages / Actions workflow] to build and publish the site on GitHub Pages
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
Other than that, you're free to customize sites that you create with the template, however you like. You can easily change the versions of `just-the-docs` and Jekyll it uses, as well as adding further plugins.
|
|
32
|
+
|
|
33
|
+
### Use RubyGems
|
|
34
|
+
|
|
35
|
+
Alternatively, you can install the theme as a Ruby Gem, without creating a new site.
|
|
36
|
+
|
|
37
|
+
Add this line to your Jekyll site's `Gemfile`:
|
|
28
38
|
|
|
29
39
|
```ruby
|
|
30
40
|
gem "just-the-docs"
|
|
@@ -50,18 +60,20 @@ Alternatively, you can run it inside Docker while developing your site
|
|
|
50
60
|
|
|
51
61
|
## Usage
|
|
52
62
|
|
|
53
|
-
[View the documentation]
|
|
63
|
+
[View the documentation][Just the Docs] for usage information.
|
|
54
64
|
|
|
55
65
|
## Contributing
|
|
56
66
|
|
|
57
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/just-the-docs/just-the-docs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
67
|
+
Bug reports, proposals of new features, and pull requests are welcome on GitHub at https://github.com/just-the-docs/just-the-docs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
58
68
|
|
|
59
69
|
### Submitting code changes:
|
|
60
70
|
|
|
71
|
+
- Submit an [Issue](https://github.com/just-the-docs/just-the-docs/issues) that motivates the changes, using the appropriate template
|
|
72
|
+
- Discuss the proposed changes with other users and the maintainers
|
|
61
73
|
- Open a [Pull Request](https://github.com/just-the-docs/just-the-docs/pulls)
|
|
62
74
|
- Ensure all CI tests pass
|
|
75
|
+
- Provide instructions to check the effect of the changes
|
|
63
76
|
- Await code review
|
|
64
|
-
- Bump the version number in `just-the-docs.gemspec` and `package.json` according to [semantic versioning](https://semver.org/).
|
|
65
77
|
|
|
66
78
|
### Design and development principles of this theme:
|
|
67
79
|
|
|
@@ -72,14 +84,25 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/just-t
|
|
|
72
84
|
|
|
73
85
|
## Development
|
|
74
86
|
|
|
75
|
-
To set up your environment to develop this theme, run `bundle install
|
|
87
|
+
To set up your environment to develop this theme: fork this repo, the run `bundle install` from the root directory.
|
|
76
88
|
|
|
77
89
|
A modern [devcontainer configuration](https://code.visualstudio.com/docs/remote/containers) for VSCode is included.
|
|
78
90
|
|
|
79
91
|
Your theme is set up just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
|
80
92
|
|
|
81
|
-
When
|
|
93
|
+
When this theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be included in the gem.
|
|
82
94
|
|
|
83
95
|
## License
|
|
84
96
|
|
|
85
97
|
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
98
|
+
|
|
99
|
+
[^2]: [It can take up to 10 minutes for changes to your site to publish after you push the changes to GitHub](https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll#creating-your-site).
|
|
100
|
+
|
|
101
|
+
[Jekyll]: https://jekyllrb.com
|
|
102
|
+
[Just the Docs Template]: https://just-the-docs.github.io/just-the-docs-template/
|
|
103
|
+
[Just the Docs]: https://just-the-docs.github.io/just-the-docs/
|
|
104
|
+
[Just the Docs repo]: https://github.com/just-the-docs/just-the-docs
|
|
105
|
+
[GitHub Pages]: https://pages.github.com/
|
|
106
|
+
[Template README]: https://github.com/just-the-docs/just-the-docs-template/blob/main/README.md
|
|
107
|
+
[GitHub Pages / Actions workflow]: https://github.blog/changelog/2022-07-27-github-pages-custom-github-actions-workflows-beta/
|
|
108
|
+
[use the template]: https://github.com/just-the-docs/just-the-docs-template/generate
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<nav aria-label="Auxiliary" class="aux-nav">
|
|
2
|
+
<ul class="aux-nav-list">
|
|
3
|
+
{% for link in site.aux_links %}
|
|
4
|
+
<li class="aux-nav-list-item">
|
|
5
|
+
<a href="{{ link.last }}" class="site-button"
|
|
6
|
+
{% if site.aux_links_new_tab %}
|
|
7
|
+
target="_blank" rel="noopener noreferrer"
|
|
8
|
+
{% endif %}
|
|
9
|
+
>
|
|
10
|
+
{{ link.first }}
|
|
11
|
+
</a>
|
|
12
|
+
</li>
|
|
13
|
+
{% endfor %}
|
|
14
|
+
</ul>
|
|
15
|
+
</nav>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{% unless page.url == "/" %}
|
|
2
|
+
{% if page.parent %}
|
|
3
|
+
<nav aria-label="Breadcrumb" class="breadcrumb-nav">
|
|
4
|
+
<ol class="breadcrumb-nav-list">
|
|
5
|
+
{% if page.grand_parent %}
|
|
6
|
+
<li class="breadcrumb-nav-list-item"><a href="{{ first_level_url }}">{{ page.grand_parent }}</a></li>
|
|
7
|
+
<li class="breadcrumb-nav-list-item"><a href="{{ second_level_url }}">{{ page.parent }}</a></li>
|
|
8
|
+
{% else %}
|
|
9
|
+
<li class="breadcrumb-nav-list-item"><a href="{{ first_level_url }}">{{ page.parent }}</a></li>
|
|
10
|
+
{% endif %}
|
|
11
|
+
<li class="breadcrumb-nav-list-item"><span>{{ page.title }}</span></li>
|
|
12
|
+
</ol>
|
|
13
|
+
</nav>
|
|
14
|
+
{% endif %}
|
|
15
|
+
{% endunless %}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{% capture footer_custom %}
|
|
2
|
+
{%- include footer_custom.html -%}
|
|
3
|
+
{% endcapture %}
|
|
4
|
+
{% if footer_custom != "" or site.last_edit_timestamp or site.gh_edit_link %}
|
|
5
|
+
<hr>
|
|
6
|
+
<footer>
|
|
7
|
+
{% if site.back_to_top %}
|
|
8
|
+
<p><a href="#top" id="back-to-top">{{ site.back_to_top_text }}</a></p>
|
|
9
|
+
{% endif %}
|
|
10
|
+
|
|
11
|
+
{{ footer_custom }}
|
|
12
|
+
|
|
13
|
+
{% if site.last_edit_timestamp or site.gh_edit_link %}
|
|
14
|
+
<div class="d-flex mt-2">
|
|
15
|
+
{% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %}
|
|
16
|
+
<p class="text-small text-grey-dk-000 mb-0 mr-2">
|
|
17
|
+
Page last modified: <span class="d-inline-block">{{ page.last_modified_date | date: site.last_edit_time_format }}</span>.
|
|
18
|
+
</p>
|
|
19
|
+
{% endif %}
|
|
20
|
+
{% if
|
|
21
|
+
site.gh_edit_link and
|
|
22
|
+
site.gh_edit_link_text and
|
|
23
|
+
site.gh_edit_repository and
|
|
24
|
+
site.gh_edit_branch and
|
|
25
|
+
site.gh_edit_view_mode
|
|
26
|
+
%}
|
|
27
|
+
<p class="text-small text-grey-dk-000 mb-0">
|
|
28
|
+
<a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}{% if page.collection and site.collections_dir %}/{{ site.collections_dir }}{% endif %}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
|
|
29
|
+
</p>
|
|
30
|
+
{% endif %}
|
|
31
|
+
</div>
|
|
32
|
+
{% endif %}
|
|
33
|
+
</footer>
|
|
34
|
+
{% endif %}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<div id="main-header" class="main-header">
|
|
2
|
+
{% if site.search_enabled != false %}
|
|
3
|
+
{% include components/search_header.html %}
|
|
4
|
+
{% else %}
|
|
5
|
+
<div></div>
|
|
6
|
+
{% endif %}
|
|
7
|
+
{% include header_custom.html %}
|
|
8
|
+
{% if site.aux_links %}
|
|
9
|
+
{% include components/aux_nav.html %}
|
|
10
|
+
{% endif %}
|
|
11
|
+
</div>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{% capture search_placeholder %}{% include search_placeholder_custom.html %}{% endcapture %}
|
|
2
|
+
|
|
3
|
+
<div class="search">
|
|
4
|
+
<div class="search-input-wrap">
|
|
5
|
+
<input type="text" id="search-input" class="search-input" tabindex="0" placeholder="{{ search_placeholder | strip_html | strip }}" aria-label="{{ search_placeholder | strip_html| strip }}" autocomplete="off">
|
|
6
|
+
<label for="search-input" class="search-label"><svg viewBox="0 0 24 24" class="search-icon"><use xlink:href="#svg-search"></use></svg></label>
|
|
7
|
+
</div>
|
|
8
|
+
<div id="search-results" class="search-results"></div>
|
|
9
|
+
</div>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<div class="side-bar">
|
|
2
|
+
<div class="site-header">
|
|
3
|
+
<a href="{{ '/' | relative_url }}" class="site-title lh-tight">{% include title.html %}</a>
|
|
4
|
+
<a href="#" id="menu-button" class="site-button">
|
|
5
|
+
<svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-menu"></use></svg>
|
|
6
|
+
</a>
|
|
7
|
+
</div>
|
|
8
|
+
<nav aria-label="Main" id="site-nav" class="site-nav">
|
|
9
|
+
{% assign pages_top_size = site.html_pages
|
|
10
|
+
| where_exp:"item", "item.title != nil"
|
|
11
|
+
| where_exp:"item", "item.parent == nil"
|
|
12
|
+
| where_exp:"item", "item.nav_exclude != true"
|
|
13
|
+
| size %}
|
|
14
|
+
{% if pages_top_size > 0 %}
|
|
15
|
+
{% include nav.html pages=site.html_pages key=nil %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
{%- if site.nav_external_links -%}
|
|
18
|
+
<ul class="nav-list">
|
|
19
|
+
{%- for node in site.nav_external_links -%}
|
|
20
|
+
<li class="nav-list-item external">
|
|
21
|
+
<a href="{{ node.url | absolute_url }}" class="nav-list-link external">
|
|
22
|
+
{{ node.title }}
|
|
23
|
+
{% unless node.hide_icon %}<svg viewBox="0 0 24 24" aria-labelledby="svg-external-link-title"><use xlink:href="#svg-external-link"></use></svg>{% endunless %}
|
|
24
|
+
</a>
|
|
25
|
+
</li>
|
|
26
|
+
{%- endfor -%}
|
|
27
|
+
</ul>
|
|
28
|
+
{%- endif -%}
|
|
29
|
+
{% if site.just_the_docs.collections %}
|
|
30
|
+
{% assign collections_size = site.just_the_docs.collections | size %}
|
|
31
|
+
{% for collection_entry in site.just_the_docs.collections %}
|
|
32
|
+
{% assign collection_key = collection_entry[0] %}
|
|
33
|
+
{% assign collection_value = collection_entry[1] %}
|
|
34
|
+
{% assign collection = site[collection_key] %}
|
|
35
|
+
{% if collection_value.nav_exclude != true %}
|
|
36
|
+
{% if collections_size > 1 or pages_top_size > 0 %}
|
|
37
|
+
{% if collection_value.nav_fold == true %}
|
|
38
|
+
<ul class="nav-list nav-category-list">
|
|
39
|
+
<li class="nav-list-item{% if page.collection == collection_key %} active{% endif %}">
|
|
40
|
+
{%- if collection.size > 0 -%}
|
|
41
|
+
<a href="#" class="nav-list-expander"><svg viewBox="0 0 24 24"><use xlink:href="#svg-arrow-right"></use></svg></a>
|
|
42
|
+
{%- endif -%}
|
|
43
|
+
<div class="nav-category">{{ collection_value.name }}</div>
|
|
44
|
+
{% include nav.html pages=collection key=collection_key %}
|
|
45
|
+
</li>
|
|
46
|
+
</ul>
|
|
47
|
+
{% else %}
|
|
48
|
+
<div class="nav-category">{{ collection_value.name }}</div>
|
|
49
|
+
{% include nav.html pages=collection key=collection_key %}
|
|
50
|
+
{% endif %}
|
|
51
|
+
{% else %}
|
|
52
|
+
{% include nav.html pages=collection key=collection_key %}
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% endif %}
|
|
55
|
+
{% endfor %}
|
|
56
|
+
{% endif %}
|
|
57
|
+
</nav>
|
|
58
|
+
|
|
59
|
+
{% capture nav_footer_custom %}
|
|
60
|
+
{%- include nav_footer_custom.html -%}
|
|
61
|
+
{% endcapture %}
|
|
62
|
+
{% if nav_footer_custom != "" %}
|
|
63
|
+
{{ nav_footer_custom }}
|
|
64
|
+
{% else %}
|
|
65
|
+
<footer class="site-footer">
|
|
66
|
+
This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll.
|
|
67
|
+
</footer>
|
|
68
|
+
{% endif %}
|
|
69
|
+
</div>
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
$logo: "{{ site.logo | relative_url }}";
|
|
3
3
|
{% endif %}
|
|
4
4
|
@import "./support/support";
|
|
5
|
+
@import "./color_schemes/light";
|
|
5
6
|
@import "./color_schemes/{{ include.color_scheme }}";
|
|
6
7
|
@import "./modules";
|
|
7
|
-
{% include css/custom.scss.liquid %}
|
|
8
8
|
{% include css/callouts.scss.liquid color_scheme = include.color_scheme %}
|
|
9
|
+
{% include css/custom.scss.liquid %}
|
data/_includes/head.html
CHANGED
|
@@ -2,41 +2,42 @@
|
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
|
4
4
|
|
|
5
|
-
{% unless site.plugins contains "jekyll-seo-tag" %}
|
|
6
|
-
<title>{{ page.title }} - {{ site.title }}</title>
|
|
7
|
-
|
|
8
|
-
{% if page.description %}
|
|
9
|
-
<meta name="Description" content="{{ page.description }}">
|
|
10
|
-
{% endif %}
|
|
11
|
-
{% endunless %}
|
|
12
|
-
|
|
13
|
-
{% include favicon.html %}
|
|
14
|
-
|
|
15
5
|
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}">
|
|
16
6
|
|
|
17
7
|
{% if site.ga_tracking != nil %}
|
|
18
|
-
|
|
8
|
+
{% assign ga_tracking_ids = site.ga_tracking | split: "," %}
|
|
9
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ ga_tracking_ids.first }}"></script>
|
|
19
10
|
<script>
|
|
20
11
|
window.dataLayer = window.dataLayer || [];
|
|
21
12
|
function gtag(){dataLayer.push(arguments);}
|
|
22
13
|
gtag('js', new Date());
|
|
23
14
|
|
|
24
|
-
|
|
15
|
+
{% for ga_property in ga_tracking_ids %}
|
|
16
|
+
gtag('config', '{{ ga_property }}'{% unless site.ga_tracking_anonymize_ip == nil %}, { 'anonymize_ip': true }{% endunless %});
|
|
17
|
+
{% endfor %}
|
|
25
18
|
</script>
|
|
26
|
-
|
|
27
19
|
{% endif %}
|
|
28
20
|
|
|
29
21
|
{% if site.search_enabled != false %}
|
|
30
|
-
<script
|
|
22
|
+
<script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script>
|
|
31
23
|
{% endif %}
|
|
32
24
|
|
|
33
25
|
{% if site.mermaid %}
|
|
34
26
|
<script src="https://cdn.jsdelivr.net/npm/mermaid@{{ site.mermaid.version }}/dist/mermaid.min.js"></script>
|
|
35
27
|
{% endif %}
|
|
36
28
|
|
|
37
|
-
<script
|
|
29
|
+
<script src="{{ '/assets/js/just-the-docs.js' | relative_url }}"></script>
|
|
38
30
|
|
|
39
31
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
32
|
+
|
|
33
|
+
{% for file in site.static_files %}
|
|
34
|
+
{% if file.path == site.favicon_ico or file.path == '/favicon.ico' %}
|
|
35
|
+
{% assign favicon = true %}
|
|
36
|
+
{% endif %}
|
|
37
|
+
{% endfor %}
|
|
38
|
+
{% if favicon %}
|
|
39
|
+
<link rel="icon" href="{{ site.favicon_ico | default: '/favicon.ico' | relative_url }}" type="image/x-icon">
|
|
40
|
+
{% endif %}
|
|
40
41
|
|
|
41
42
|
{% seo %}
|
|
42
43
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Feather. MIT License: https://github.com/twbs/icons/blob/main/LICENSE.md -->
|
|
2
|
+
<symbol id="svg-copy" viewBox="0 0 16 16">
|
|
3
|
+
<title>Copy</title>
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16">
|
|
5
|
+
<path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/>
|
|
6
|
+
<path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/>
|
|
7
|
+
</svg>
|
|
8
|
+
</symbol>
|
|
9
|
+
<symbol id="svg-copied" viewBox="0 0 16 16">
|
|
10
|
+
<title>Copied</title>
|
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard-check-fill" viewBox="0 0 16 16">
|
|
12
|
+
<path d="M6.5 0A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3Zm3 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3Z"/>
|
|
13
|
+
<path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1A2.5 2.5 0 0 1 9.5 5h-3A2.5 2.5 0 0 1 4 2.5v-1Zm6.854 7.354-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 10.793l2.646-2.647a.5.5 0 0 1 .708.708Z"/>
|
|
14
|
+
</svg>
|
|
15
|
+
</symbol>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<symbol id="svg-doc" viewBox="0 0 24 24">
|
|
2
|
+
<title>Document</title>
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file">
|
|
4
|
+
<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>
|
|
5
|
+
</svg>
|
|
6
|
+
</symbol>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<symbol id="svg-arrow-right" viewBox="0 0 24 24">
|
|
2
|
+
<title>Expand</title>
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right">
|
|
4
|
+
<polyline points="9 18 15 12 9 6"></polyline>
|
|
5
|
+
</svg>
|
|
6
|
+
</symbol>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="d-none">
|
|
2
|
+
{% include icons/link.html %}
|
|
3
|
+
{% include icons/menu.html %}
|
|
4
|
+
{% include icons/expand.html %}
|
|
5
|
+
{% include icons/external_link.html %}
|
|
6
|
+
{% if site.search_enabled != false %}
|
|
7
|
+
{% include icons/document.html %}
|
|
8
|
+
{% include icons/search.html %}
|
|
9
|
+
{% endif %}
|
|
10
|
+
{% if site.enable_copy_code_button != false %}
|
|
11
|
+
{% include icons/code_copy.html %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<symbol id="svg-link" viewBox="0 0 24 24">
|
|
2
|
+
<title>Link</title>
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link">
|
|
4
|
+
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>
|
|
5
|
+
</svg>
|
|
6
|
+
</symbol>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<symbol id="svg-menu" viewBox="0 0 24 24">
|
|
2
|
+
<title>Menu</title>
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu">
|
|
4
|
+
<line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line>
|
|
5
|
+
</svg>
|
|
6
|
+
</symbol>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<symbol id="svg-search" viewBox="0 0 24 24">
|
|
2
|
+
<title>Search</title>
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search">
|
|
4
|
+
<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
5
|
+
</svg>
|
|
6
|
+
</symbol>
|