dendron-jekyll 0.3.2 → 0.3.3
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/README.md +13 -11
- data/_includes/nav.html +5 -3
- data/_layouts/default.html +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 342d46e23d92bb1c09e8683ffcd878b8ec19394863d4e38b50311e857055bf19
|
4
|
+
data.tar.gz: f8a88c027e8a2cc30094f8cdae7e6ff4e404043e2d8e7e484ec039c1e912f2c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c481e3508debd400be26a64ce4fbbce535935b5640fff5779423c2fbb1ee101d88eed8ecde49a5d89af67a40f6b7fcabd82349c896a0aa3ed79f8eb3fdb2302b
|
7
|
+
data.tar.gz: 136ea3d615c2ccb463cf2cf2f5e53a4448d2e57a2daa4171d19c4715cf9141509c4135b2ca4f64266d2719af87be8e935ffbf792bb6c19f4505fbcd8fe203e18
|
data/README.md
CHANGED
@@ -1,28 +1,30 @@
|
|
1
|
-
<p align="right">
|
2
|
-
<a href="https://badge.fury.io/rb/just-the-docs"><img src="https://badge.fury.io/rb/just-the-docs.svg" alt="Gem version"></a> <a href="https://github.com/pmarsceill/just-the-docs/actions?query=workflow%3A%22Master+branch+CI%22"><img src="https://github.com/pmarsceill/just-the-docs/workflows/Master%20branch%20CI/badge.svg" alt="Build status"></a>
|
3
|
-
</p>
|
4
|
-
<br><br>
|
5
1
|
<p align="center">
|
6
|
-
<h1 align="center">
|
7
|
-
|
2
|
+
<h1 align="center">Dendron Jekyll</h1>
|
3
|
+
</p>
|
4
|
+
|
5
|
+
This is the Jekyll theme used by Dendron. It is a fork of [just-the-docs](https://pmarsceill.github.io/just-the-docs/) theme with custom changes to allow for deep hierarchies, lookups and unique ids. It also borrows many elements from the [minimal mistakes](https://mmistakes.github.io/minimal-mistakes/).
|
6
|
+
|
7
|
+
<!--
|
8
|
+
<!-- <p align="center">A modern, highly customizable, and responsive Jekyll theme for documentation with built-in search.<br>Easily hosted on GitHub Pages with few dependencies.</p>
|
8
9
|
<p align="center"><strong><a href="https://pmarsceill.github.io/just-the-docs/">See it in action!</a></strong></p>
|
9
10
|
<br><br><br>
|
10
|
-
</p>
|
11
|
+
</p> -->
|
12
|
+
|
13
|
+

|
11
14
|
|
12
|
-

|
13
15
|
|
14
16
|
## Installation
|
15
17
|
|
16
18
|
Add this line to your Jekyll site's Gemfile:
|
17
19
|
|
18
20
|
```ruby
|
19
|
-
gem "
|
21
|
+
gem "dendron-jekyll"
|
20
22
|
```
|
21
23
|
|
22
24
|
And add this line to your Jekyll site's `_config.yml`:
|
23
25
|
|
24
26
|
```yaml
|
25
|
-
theme:
|
27
|
+
theme: dendron-jekyll
|
26
28
|
```
|
27
29
|
|
28
30
|
And then execute:
|
@@ -31,7 +33,7 @@ And then execute:
|
|
31
33
|
|
32
34
|
Or install it yourself as:
|
33
35
|
|
34
|
-
$ gem install
|
36
|
+
$ gem install dendron-jekyll
|
35
37
|
|
36
38
|
## Usage
|
37
39
|
|
data/_includes/nav.html
CHANGED
@@ -17,9 +17,12 @@
|
|
17
17
|
{%- for node in pages_list -%}
|
18
18
|
{%- include active.html node=node -%}
|
19
19
|
<li class="nav-list-item{% if active %} active{% endif %}">
|
20
|
+
{%- if node.children.size > 0 and node.permalink != '/' -%}
|
21
|
+
{%- unless node.expand_exclude -%}
|
22
|
+
<a href="" class="nav-list-expander"><svg viewBox="0 0 24 24"><use xlink:href="#svg-arrow-right"></use></svg></a>
|
23
|
+
{%- endunless -%}
|
24
|
+
{%- endif -%}
|
20
25
|
<a href="{{ node.url | absolute_url }}" class="nav-list-link{% if active %} active{% endif %}">{{ node.title }}</a>
|
21
|
-
|
22
|
-
{%- if active -%}
|
23
26
|
{%- assign active = false -%}
|
24
27
|
{%- assign children = hierarchy | where_exp:"item", "item.name == node.id" | map: "items" | first -%}
|
25
28
|
{%- if children -%}
|
@@ -28,7 +31,6 @@
|
|
28
31
|
{%- include nav.html nodes=children -%}
|
29
32
|
{%- endif -%}
|
30
33
|
{%- endif -%}
|
31
|
-
{%- endif -%}
|
32
34
|
</li>
|
33
35
|
{%- endfor -%}
|
34
36
|
|
data/_layouts/default.html
CHANGED
@@ -135,7 +135,7 @@ layout: table_wrappers
|
|
135
135
|
site.gh_edit_view_mode
|
136
136
|
%}
|
137
137
|
<p class="text-small text-grey-dk-000 mb-0">
|
138
|
-
<a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}/{{ page.
|
138
|
+
<a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}/{{ site.dendron_vault_path }}/{{ page.fname }}.md" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
|
139
139
|
</p>
|
140
140
|
{% endif %}
|
141
141
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dendron-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Lin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,7 +72,7 @@ dependencies:
|
|
72
72
|
- - "<"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 13.1.0
|
75
|
-
description:
|
75
|
+
description:
|
76
76
|
email:
|
77
77
|
- kevin@thence.io
|
78
78
|
executables:
|
@@ -223,7 +223,7 @@ homepage: https://github.com/dendronhq/dendron-jekyll
|
|
223
223
|
licenses:
|
224
224
|
- MIT
|
225
225
|
metadata: {}
|
226
|
-
post_install_message:
|
226
|
+
post_install_message:
|
227
227
|
rdoc_options: []
|
228
228
|
require_paths:
|
229
229
|
- lib
|
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
version: '0'
|
240
240
|
requirements: []
|
241
241
|
rubygems_version: 3.0.3
|
242
|
-
signing_key:
|
242
|
+
signing_key:
|
243
243
|
specification_version: 4
|
244
244
|
summary: Dendron Jekyll Theme
|
245
245
|
test_files: []
|