dendron-jekyll 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95bc4ff3c20422b2d1447d13603aa10db06551aa9bd7a7a4f089636c745536a0
4
- data.tar.gz: acad865bfc5b3a2b76601cecc7b85c725f0db97b90ebfdaf4f3fb3814363c9db
3
+ metadata.gz: 342d46e23d92bb1c09e8683ffcd878b8ec19394863d4e38b50311e857055bf19
4
+ data.tar.gz: f8a88c027e8a2cc30094f8cdae7e6ff4e404043e2d8e7e484ec039c1e912f2c0
5
5
  SHA512:
6
- metadata.gz: 15d5c378447f9d9b6f77f1e2d0ee71a67e28aee414e9f458ccbc57f8f4cd598a79b955fc584fa11515d53cb484515ac5db8bcf37fc0c0db20b15681dbe3df3de
7
- data.tar.gz: 8162d57b4c2f2d683507e6a5189c0b4dd7ef5d6f5772c95f7590b520a0dbd89522c262d03ee35824f625d8aac825622a46b86eb2a128556d804b96ab57a60810
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">Just the Docs</h1>
7
- <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>
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
+ ![dendron-jekyll](https://foundation-prod-assetspublic53c57cce-8cpvgjldwysl.s3-us-west-2.amazonaws.com/assets/images/site-lookup.gif)
11
14
 
12
- ![jtd](https://user-images.githubusercontent.com/896475/47384541-89053c80-d6d5-11e8-98dc-dba16e192de9.gif)
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 "just-the-docs"
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: just-the-docs
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 just-the-docs
36
+ $ gem install dendron-jekyll
35
37
 
36
38
  ## Usage
37
39
 
@@ -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
 
@@ -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.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
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.2
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-06 00:00:00.000000000 Z
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: []