jekyll-awesome-nav 0.1.4 → 0.2.1
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/.copier-answers.ci.yml +5 -4
- data/.devcontainer/devcontainer.json +1 -1
- data/README.md +2 -2
- data/lib/jekyll/awesome_nav/generator.rb +1 -1
- data/lib/jekyll/awesome_nav/navigation_result.rb +37 -11
- data/lib/jekyll/awesome_nav/version.rb +1 -1
- data/site/_config.yml +1 -1
- data/site/_includes/awesome-nav-tree.html +1 -1
- data/site/_layouts/awesome_nav_demo.html +103 -1
- data/site/docs/.nav.yml +7 -0
- data/site/docs/examples/basic-folder-navigation.md +26 -0
- data/site/docs/examples/index.md +10 -0
- data/site/docs/examples/local-override.md +25 -0
- data/site/docs/guides/data.md +12 -3
- data/site/docs/guides/layouts.md +12 -3
- data/site/docs/index.md +5 -0
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e774b814992c440448bfbbd49e3ac507c6e854d6c855cef20f1c8315bbfdcf2e
|
|
4
|
+
data.tar.gz: dea01e1a09990359b88048bd4ac16df166c3889803920467c8bca09d0b7e224c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1314cc3258497190ca58305f91227d79595eb1b051cfcfab6d6406d943017ca936417817dad3919219f0730d8ac91f13e8b78908121eb779cf76146426fccc5
|
|
7
|
+
data.tar.gz: 0a005443a0997e10642cf718970efc1b1b30f0b4148261d96de45acc2287e9d927b18ea147f7139f3c91a6c139683377cdc6a7d0c72e8e40ac5693584701a108
|
data/.copier-answers.ci.yml
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
|
|
2
|
-
_commit:
|
|
2
|
+
_commit: v0.7.0-3-g7e5e928
|
|
3
3
|
_src_path: gh:athackst/ci
|
|
4
|
-
automerge_mode:
|
|
5
|
-
bump_script_path: ''
|
|
4
|
+
automerge_mode: native
|
|
6
5
|
do_releases: true
|
|
7
6
|
release_template: '## What''s changed
|
|
8
7
|
|
|
9
8
|
|
|
10
|
-
$CHANGES
|
|
9
|
+
$CHANGES
|
|
10
|
+
|
|
11
|
+
'
|
|
11
12
|
site_generator: none
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
6
6
|
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
|
|
7
7
|
"features": {
|
|
8
|
-
"ghcr.io/devcontainers/features/ruby:
|
|
8
|
+
"ghcr.io/devcontainers/features/ruby:2": {
|
|
9
9
|
"version": "3.3.4"
|
|
10
10
|
}
|
|
11
11
|
},
|
data/README.md
CHANGED
|
@@ -65,10 +65,10 @@ awesome_nav:
|
|
|
65
65
|
|
|
66
66
|
Each page under the configured root receives:
|
|
67
67
|
|
|
68
|
-
- `page.awesome_nav`: the full navigation tree rooted at `awesome_nav.root`
|
|
68
|
+
- `page.awesome_nav`: the full navigation tree rooted at `awesome_nav.root`, annotated with `current` and `contains_current`
|
|
69
69
|
- `page.awesome_nav_local`: the local subtree for the page's directory
|
|
70
70
|
- `page.awesome_nav_dir`: the directory supplying the active nav context
|
|
71
|
-
- `page.breadcrumbs`: breadcrumb items
|
|
71
|
+
- `page.breadcrumbs`: lightweight breadcrumb items with `title` and `url`
|
|
72
72
|
- `page.awesome_nav_previous`: the previous linked nav item, when one exists
|
|
73
73
|
- `page.awesome_nav_next`: the next linked nav item, when one exists
|
|
74
74
|
|
|
@@ -46,7 +46,7 @@ module Jekyll
|
|
|
46
46
|
page_url = Utils.normalize_url(page.url)
|
|
47
47
|
page_entry = result.nav_entry_for(page_url)
|
|
48
48
|
|
|
49
|
-
page.data["awesome_nav"] = deep_copy(result.
|
|
49
|
+
page.data["awesome_nav"] = deep_copy(result.annotated_tree_for(page_url))
|
|
50
50
|
page.data["awesome_nav_local"] = deep_copy(result.local_nav_for(nav_dir))
|
|
51
51
|
page.data["awesome_nav_dir"] = nav_dir
|
|
52
52
|
page.data["breadcrumbs"] = result.breadcrumbs_for(page)
|
|
@@ -14,6 +14,10 @@ module Jekyll
|
|
|
14
14
|
@serialized_tree ||= Serializer.serialize_tree(@tree)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
+
def annotated_tree_for(page_url)
|
|
18
|
+
annotate_current(serialized_tree, Utils.normalize_url(page_url)).first
|
|
19
|
+
end
|
|
20
|
+
|
|
17
21
|
def serialized_local_nav_map
|
|
18
22
|
@serialized_local_nav_map ||= Serializer.serialize_map(local_nav_nodes)
|
|
19
23
|
end
|
|
@@ -46,14 +50,7 @@ module Jekyll
|
|
|
46
50
|
return root_breadcrumb(page) if trail.nil? && Utils.source_dir_for(page) == @root_dir && Utils.index_page?(page)
|
|
47
51
|
return [] unless trail
|
|
48
52
|
|
|
49
|
-
breadcrumbs = trail.filter_map
|
|
50
|
-
next if item["title"].to_s.empty?
|
|
51
|
-
|
|
52
|
-
crumb = { "title" => item["title"] }
|
|
53
|
-
crumb["url"] = item["url"] if item["url"]
|
|
54
|
-
crumb["dir"] = item["__dir"] if item.key?("__dir")
|
|
55
|
-
crumb
|
|
56
|
-
end
|
|
53
|
+
breadcrumbs = trail.filter_map { |item| breadcrumb_item_for(item) }
|
|
57
54
|
|
|
58
55
|
prepend_root_breadcrumb(breadcrumbs)
|
|
59
56
|
end
|
|
@@ -89,14 +86,13 @@ module Jekyll
|
|
|
89
86
|
end
|
|
90
87
|
|
|
91
88
|
def root_breadcrumb(page)
|
|
92
|
-
[{ "title" => root_breadcrumb_title, "url" => Utils.normalize_url(page.url)
|
|
89
|
+
[{ "title" => root_breadcrumb_title, "url" => Utils.normalize_url(page.url) }]
|
|
93
90
|
end
|
|
94
91
|
|
|
95
92
|
def prepend_root_breadcrumb(breadcrumbs)
|
|
96
93
|
root_crumb = {
|
|
97
94
|
"title" => root_breadcrumb_title,
|
|
98
|
-
"url" => Utils.normalize_url(@root_page&.url || "/#{@root_dir}/")
|
|
99
|
-
"dir" => @root_dir
|
|
95
|
+
"url" => Utils.normalize_url(@root_page&.url || "/#{@root_dir}/")
|
|
100
96
|
}
|
|
101
97
|
|
|
102
98
|
return [root_crumb] + breadcrumbs[1..] if same_breadcrumb_url?(breadcrumbs.first, root_crumb)
|
|
@@ -146,6 +142,36 @@ module Jekyll
|
|
|
146
142
|
nil
|
|
147
143
|
end
|
|
148
144
|
|
|
145
|
+
def annotate_current(items, target_url)
|
|
146
|
+
annotated_items = Array(items).map do |item|
|
|
147
|
+
annotated_children, child_contains_current = annotate_current(item["children"], target_url)
|
|
148
|
+
current = current_item?(item, target_url)
|
|
149
|
+
contains_current = child_contains_current || current
|
|
150
|
+
|
|
151
|
+
annotated_item = deep_copy(item)
|
|
152
|
+
annotated_item["current"] = current
|
|
153
|
+
annotated_item["contains_current"] = contains_current
|
|
154
|
+
annotated_item["children"] = annotated_children if annotated_item["children"].is_a?(Array)
|
|
155
|
+
annotated_item
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
[annotated_items, annotated_items.any? { |item| item["contains_current"] }]
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
def breadcrumb_item_for(item)
|
|
162
|
+
return if item["title"].to_s.empty?
|
|
163
|
+
|
|
164
|
+
crumb = { "title" => item["title"] }
|
|
165
|
+
crumb["url"] = item["url"] if item["url"]
|
|
166
|
+
crumb
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
def current_item?(item, target_url)
|
|
170
|
+
return false unless item["url"]
|
|
171
|
+
|
|
172
|
+
Utils.normalize_url(item["url"]) == target_url
|
|
173
|
+
end
|
|
174
|
+
|
|
149
175
|
def deep_copy(value)
|
|
150
176
|
Marshal.load(Marshal.dump(value))
|
|
151
177
|
end
|
data/site/_config.yml
CHANGED
|
@@ -239,6 +239,63 @@ layout: default
|
|
|
239
239
|
margin-top: 1.25rem;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
+
.awesome-nav-demo__debug {
|
|
243
|
+
margin-top: 1.5rem;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.awesome-nav-demo__debug details {
|
|
247
|
+
border-radius: 1.25rem;
|
|
248
|
+
overflow: hidden;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.awesome-nav-demo__debug summary {
|
|
252
|
+
align-items: center;
|
|
253
|
+
cursor: pointer;
|
|
254
|
+
display: flex;
|
|
255
|
+
font-weight: 800;
|
|
256
|
+
gap: 0.75rem;
|
|
257
|
+
justify-content: space-between;
|
|
258
|
+
list-style: none;
|
|
259
|
+
padding: 1rem 1.15rem;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.awesome-nav-demo__debug summary::-webkit-details-marker {
|
|
263
|
+
display: none;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.awesome-nav-demo__debug-summary-copy {
|
|
267
|
+
font-size: 0.82rem;
|
|
268
|
+
font-weight: 600;
|
|
269
|
+
opacity: 0.82;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.awesome-nav-demo__debug-grid {
|
|
273
|
+
display: grid;
|
|
274
|
+
gap: 1rem;
|
|
275
|
+
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
|
|
276
|
+
padding: 0 1rem 1rem;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.awesome-nav-demo__debug-card {
|
|
280
|
+
border-radius: 1rem;
|
|
281
|
+
min-width: 0;
|
|
282
|
+
padding: 0.9rem;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.awesome-nav-demo__debug-card h2 {
|
|
286
|
+
font-size: 0.95rem;
|
|
287
|
+
margin: 0 0 0.65rem;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.awesome-nav-demo__debug-card pre {
|
|
291
|
+
font-size: 0.78rem;
|
|
292
|
+
line-height: 1.5;
|
|
293
|
+
margin: 0;
|
|
294
|
+
overflow: auto;
|
|
295
|
+
white-space: pre-wrap;
|
|
296
|
+
word-break: break-word;
|
|
297
|
+
}
|
|
298
|
+
|
|
242
299
|
.awesome-nav-demo__pager a {
|
|
243
300
|
border-radius: 1.25rem;
|
|
244
301
|
display: flex;
|
|
@@ -342,7 +399,11 @@ layout: default
|
|
|
342
399
|
<ol>
|
|
343
400
|
{% for item in page.breadcrumbs %}
|
|
344
401
|
<li>
|
|
345
|
-
|
|
402
|
+
{% if item.url %}
|
|
403
|
+
<a href="{{ item.url | relative_url }}">{{ item.title }}</a>
|
|
404
|
+
{% else %}
|
|
405
|
+
<span>{{ item.title }}</span>
|
|
406
|
+
{% endif %}
|
|
346
407
|
</li>
|
|
347
408
|
{% endfor %}
|
|
348
409
|
</ol>
|
|
@@ -365,6 +426,47 @@ layout: default
|
|
|
365
426
|
{{ content | inject_anchors }}
|
|
366
427
|
</article>
|
|
367
428
|
|
|
429
|
+
<section class="awesome-nav-demo__debug" aria-label="Plugin debug data">
|
|
430
|
+
<details>
|
|
431
|
+
<summary>
|
|
432
|
+
<span>Plugin data</span>
|
|
433
|
+
<span class="awesome-nav-demo__debug-summary-copy">Resolved page variables for this page</span>
|
|
434
|
+
</summary>
|
|
435
|
+
|
|
436
|
+
<div class="awesome-nav-demo__debug-grid">
|
|
437
|
+
<section class="awesome-nav-demo__debug-card">
|
|
438
|
+
<h2><code>page.breadcrumbs</code></h2>
|
|
439
|
+
<pre>{{ page.breadcrumbs | jsonify }}</pre>
|
|
440
|
+
</section>
|
|
441
|
+
|
|
442
|
+
<section class="awesome-nav-demo__debug-card">
|
|
443
|
+
<h2><code>page.awesome_nav</code></h2>
|
|
444
|
+
<pre>{{ page.awesome_nav | jsonify }}</pre>
|
|
445
|
+
</section>
|
|
446
|
+
|
|
447
|
+
<section class="awesome-nav-demo__debug-card">
|
|
448
|
+
<h2><code>page.awesome_nav_local</code></h2>
|
|
449
|
+
<pre>{{ page.awesome_nav_local | jsonify }}</pre>
|
|
450
|
+
</section>
|
|
451
|
+
|
|
452
|
+
<section class="awesome-nav-demo__debug-card">
|
|
453
|
+
<h2><code>page.awesome_nav_dir</code></h2>
|
|
454
|
+
<pre>{{ page.awesome_nav_dir | jsonify }}</pre>
|
|
455
|
+
</section>
|
|
456
|
+
|
|
457
|
+
<section class="awesome-nav-demo__debug-card">
|
|
458
|
+
<h2><code>page.awesome_nav_previous</code></h2>
|
|
459
|
+
<pre>{{ page.awesome_nav_previous | jsonify }}</pre>
|
|
460
|
+
</section>
|
|
461
|
+
|
|
462
|
+
<section class="awesome-nav-demo__debug-card">
|
|
463
|
+
<h2><code>page.awesome_nav_next</code></h2>
|
|
464
|
+
<pre>{{ page.awesome_nav_next | jsonify }}</pre>
|
|
465
|
+
</section>
|
|
466
|
+
</div>
|
|
467
|
+
</details>
|
|
468
|
+
</section>
|
|
469
|
+
|
|
368
470
|
{% if previous_item or next_item %}
|
|
369
471
|
<nav class="awesome-nav-demo__pager" aria-label="Pagination">
|
|
370
472
|
{% if previous_item %}
|
data/site/docs/.nav.yml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Basic Folder Navigation
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Use plain folders and pages when you want navigation to come directly from the docs tree.
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
docs/
|
|
9
|
+
├── index.md
|
|
10
|
+
├── getting-started.md
|
|
11
|
+
└── guides/
|
|
12
|
+
├── index.md
|
|
13
|
+
├── install.md
|
|
14
|
+
└── config.md
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
With no `.nav.yml` files, the plugin turns that structure into sections and pages automatically.
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
awesome_nav:
|
|
21
|
+
enabled: true
|
|
22
|
+
root: docs
|
|
23
|
+
nav_filename: .nav.yml
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
This is a good default when the filesystem already reflects the order and grouping you want.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Examples
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
These examples show common ways to use `jekyll-awesome-nav` in a docs folder.
|
|
6
|
+
|
|
7
|
+
## Examples
|
|
8
|
+
|
|
9
|
+
- [Basic Folder Navigation]({{ "/docs/examples/basic-folder-navigation/" | relative_url }}) shows navigation generated from folders and pages.
|
|
10
|
+
- [Local Override]({{ "/docs/examples/local-override/" | relative_url }}) shows a folder-level `.nav.yml` file with curated labels and order.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Local Override Example
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Add a `.nav.yml` file when one folder needs a curated order or friendlier labels.
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
docs/
|
|
9
|
+
└── guides/
|
|
10
|
+
├── .nav.yml
|
|
11
|
+
├── index.md
|
|
12
|
+
├── install.md
|
|
13
|
+
└── config.md
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Example override:
|
|
17
|
+
|
|
18
|
+
```yaml
|
|
19
|
+
nav:
|
|
20
|
+
- Guides Home: index.md
|
|
21
|
+
- Install Guide: install.md
|
|
22
|
+
- Configuration: config.md
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
That file replaces the generated navigation for `docs/guides/` only. The rest of the docs tree still uses normal folder-based generation.
|
data/site/docs/guides/data.md
CHANGED
|
@@ -8,10 +8,10 @@ The plugin writes navigation data onto each page under the configured docs root.
|
|
|
8
8
|
|
|
9
9
|
| Variable | Description |
|
|
10
10
|
| --- | --- |
|
|
11
|
-
| `page.awesome_nav` | Full resolved docs tree. |
|
|
11
|
+
| `page.awesome_nav` | Full resolved docs tree with `current` and `contains_current` state for rendering. |
|
|
12
12
|
| `page.awesome_nav_local` | Navigation items for the current directory context. |
|
|
13
13
|
| `page.awesome_nav_dir` | Directory that supplied the current local nav context. |
|
|
14
|
-
| `page.breadcrumbs` |
|
|
14
|
+
| `page.breadcrumbs` | Lightweight breadcrumb entries for the current page. |
|
|
15
15
|
| `page.awesome_nav_previous` | Previous page in the resolved navigation order. |
|
|
16
16
|
| `page.awesome_nav_next` | Next page in the resolved navigation order. |
|
|
17
17
|
|
|
@@ -19,16 +19,25 @@ For README-indexed directories, these values are computed using the directory in
|
|
|
19
19
|
|
|
20
20
|
## Tree item shape
|
|
21
21
|
|
|
22
|
-
Navigation entries are hashes with a title, URL, and
|
|
22
|
+
Navigation entries are hashes with a title, URL, optional children, and current-state flags:
|
|
23
23
|
|
|
24
24
|
```yaml
|
|
25
25
|
title: Install Guide
|
|
26
26
|
url: /docs/guides/install/
|
|
27
|
+
current: true
|
|
28
|
+
contains_current: true
|
|
27
29
|
children: []
|
|
28
30
|
```
|
|
29
31
|
|
|
30
32
|
Layouts should treat `children` as optional because leaf pages do not need nested items.
|
|
31
33
|
|
|
34
|
+
Breadcrumb items stay lightweight. Linked entries include `url`; grouping entries may only include `title`:
|
|
35
|
+
|
|
36
|
+
```yaml
|
|
37
|
+
title: Install Guide
|
|
38
|
+
url: /docs/guides/install/
|
|
39
|
+
```
|
|
40
|
+
|
|
32
41
|
## Site variables
|
|
33
42
|
|
|
34
43
|
The plugin also writes resolved data into `site.config` for advanced theme use:
|
data/site/docs/guides/layouts.md
CHANGED
|
@@ -37,7 +37,13 @@ The plugin writes breadcrumbs to `page.breadcrumbs`.
|
|
|
37
37
|
<nav aria-label="Breadcrumbs">
|
|
38
38
|
<ol>
|
|
39
39
|
{% for item in page.breadcrumbs %}
|
|
40
|
-
<li
|
|
40
|
+
<li>
|
|
41
|
+
{% if item.url %}
|
|
42
|
+
<a href="{{ item.url | relative_url }}">{{ item.title }}</a>
|
|
43
|
+
{% else %}
|
|
44
|
+
<span>{{ item.title }}</span>
|
|
45
|
+
{% endif %}
|
|
46
|
+
</li>
|
|
41
47
|
{% endfor %}
|
|
42
48
|
</ol>
|
|
43
49
|
</nav>
|
|
@@ -46,14 +52,17 @@ The plugin writes breadcrumbs to `page.breadcrumbs`.
|
|
|
46
52
|
|
|
47
53
|
## Render a sidebar
|
|
48
54
|
|
|
49
|
-
Use `page.awesome_nav` for the full docs tree:
|
|
55
|
+
Use `page.awesome_nav` for the full docs tree. Each item includes `current` for the exact page match and `contains_current` for the active branch:
|
|
50
56
|
|
|
51
57
|
```liquid
|
|
52
58
|
{% raw %}<nav aria-label="Documentation">
|
|
53
59
|
<ul>
|
|
54
60
|
{% for item in page.awesome_nav %}
|
|
55
61
|
<li>
|
|
56
|
-
<a href="{{ item.url | relative_url }}">{{ item.title }}</a>
|
|
62
|
+
<a href="{{ item.url | relative_url }}"{% if item.current %} aria-current="page"{% endif %}>{{ item.title }}</a>
|
|
63
|
+
{% if item.contains_current %}
|
|
64
|
+
<span class="visually-hidden">(current section)</span>
|
|
65
|
+
{% endif %}
|
|
57
66
|
{% if item.children %}
|
|
58
67
|
<ul>
|
|
59
68
|
{% for child in item.children %}
|
data/site/docs/index.md
CHANGED
|
@@ -9,6 +9,7 @@ The plugin does not require collections. It reads pages under the configured `aw
|
|
|
9
9
|
## Start here
|
|
10
10
|
|
|
11
11
|
- [Getting Started]({{ "/docs/getting-started/" | relative_url }}) shows the minimum install and config.
|
|
12
|
+
- [Examples]({{ "/docs/examples/" | relative_url }}) shows a few concrete folder and `.nav.yml` setups.
|
|
12
13
|
- [Layout Integration]({{ "/docs/guides/layouts/" | relative_url }}) shows how to render sidebars, breadcrumbs, and previous/next links.
|
|
13
14
|
- [Configuration]({{ "/docs/guides/config/" | relative_url }}) explains the available plugin settings.
|
|
14
15
|
- [.nav.yml Reference]({{ "/docs/guides/nav-file/" | relative_url }}) documents override syntax, options, and common patterns.
|
|
@@ -22,6 +23,10 @@ This documentation site uses a plain `docs/` folder:
|
|
|
22
23
|
```text
|
|
23
24
|
docs/
|
|
24
25
|
├── index.md
|
|
26
|
+
├── examples/
|
|
27
|
+
│ ├── index.md
|
|
28
|
+
│ ├── basic-folder-navigation.md
|
|
29
|
+
│ └── local-override.md
|
|
25
30
|
├── getting-started.md
|
|
26
31
|
└── guides/
|
|
27
32
|
├── index.md
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-awesome-nav
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allison Thackston
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -69,6 +69,10 @@ files:
|
|
|
69
69
|
- site/_config.yml
|
|
70
70
|
- site/_includes/awesome-nav-tree.html
|
|
71
71
|
- site/_layouts/awesome_nav_demo.html
|
|
72
|
+
- site/docs/.nav.yml
|
|
73
|
+
- site/docs/examples/basic-folder-navigation.md
|
|
74
|
+
- site/docs/examples/index.md
|
|
75
|
+
- site/docs/examples/local-override.md
|
|
72
76
|
- site/docs/getting-started.md
|
|
73
77
|
- site/docs/guides/.nav.yml
|
|
74
78
|
- site/docs/guides/config.md
|