jekyll-theme-gitbook 0.0.4 → 0.0.6
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 +1 -1
- data/_includes/internal/header.html +1 -1
- data/_includes/internal/navbar.html +1 -1
- data/_sass/_content.scss +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dc044c4d49f4c5561b795a811d44329c9e69079d386dd642c120558cc630842
|
4
|
+
data.tar.gz: 4c26d454d6418a1115e964e143678cdec9374679caa9f5cc0d67ef032de8bc99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8803a669b0e3deaa8f179a467ed52d8fa615c7646d837cb9025726d2799407bdf4bcf3d9685049f98ccf04a3e7c882d3a8d4db96b68f4eaeb6036259678d05ab
|
7
|
+
data.tar.gz: 146bcf575a0648a53ad49edcaefa351215214ce34dd3a8557c7b7bb68ea2b24a453a0e4fbe8e97bacda2755df7ebb875f6c5414335cbc69605e5b67eb7956364
|
data/README.md
CHANGED
@@ -34,7 +34,7 @@ This theme is designed to be highly configurable, whilst providing sensible defa
|
|
34
34
|
If you are hosting your site on GitHub Pages then add the following line to your site's `_config.yml` file (as per [the documentation](https://docs.github.com/en/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-using-jekyll)):
|
35
35
|
|
36
36
|
```yaml
|
37
|
-
remote_theme: "adamrehn/jekyll-theme-gitbook@v0.0.
|
37
|
+
remote_theme: "adamrehn/jekyll-theme-gitbook@v0.0.6"
|
38
38
|
```
|
39
39
|
|
40
40
|
### Other hosts (e.g. GitLab Pages)
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
{% for index in indices %}
|
18
18
|
|
19
|
-
{% if site.theme-settings.navigation.collapsible == true %}<details{%
|
19
|
+
{% if site.theme-settings.navigation.collapsible == true %}<details{% if site.theme-settings.navigation.collapsed != true or page.chapter == index.chapter %} open="true"{% endif %}>{% endif %}
|
20
20
|
|
21
21
|
<{{ chapter_element }} class="chapter">{% if index.icon %}{% assign components = index.url | split: "/" %}<span class="icon icon-{{ components[-2] | escape }} {{ index.icon | escape }}"></span> {% endif %}{{ index.chapter | escape }}</{{ chapter_element }}>
|
22
22
|
|
data/_sass/_content.scss
CHANGED
@@ -100,7 +100,7 @@ nav .chapter, nav ul li {
|
|
100
100
|
max-width: 100%;
|
101
101
|
}
|
102
102
|
|
103
|
-
nav ul + .chapter {
|
103
|
+
nav ul + .chapter, nav details + details {
|
104
104
|
margin-top: 2rem;
|
105
105
|
}
|
106
106
|
|
@@ -128,7 +128,7 @@ footer a, footer a:hover,
|
|
128
128
|
text-decoration: none;
|
129
129
|
}
|
130
130
|
|
131
|
-
nav ul:last-child {
|
131
|
+
nav .inner > ul:last-child, nav .inner > details:last-child {
|
132
132
|
padding-bottom: $header-height / 2;
|
133
133
|
}
|
134
134
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-gitbook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Rehn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|