jekyll-theme-open-project 2.0.13 → 2.0.14
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 +3 -2
- data/_includes/item-doc-page.html +3 -1
- data/_layouts/docs-base.html +12 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79ea8a8a088c799b53b693af44ff15fe09ae2b8e
|
|
4
|
+
data.tar.gz: 86e8690e0233209490694e5412d9e3d85168cdd8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2d0cff7661698030d97a7f8d04ae2701b9606bbece07ef96fa21b8126bffefbc683c13c83b4e353aca91b0ed831958ab9ebe2d4645d8ce4531012142e9a7627
|
|
7
|
+
data.tar.gz: 4a2d8bc2fa1dce11f8469720b3afe21669159f45dbd770327a483fa2b5f4676a3bc075ec358f53c0fcaaff2519dcdc5930b1be7b9b05b928523fc9db3d59837d
|
data/README.md
CHANGED
|
@@ -111,8 +111,9 @@ These settings apply to both site types (hub and project).
|
|
|
111
111
|
(and don’t forget to remove default theme requirement there):
|
|
112
112
|
|
|
113
113
|
```yaml
|
|
114
|
-
url: https://example.com
|
|
115
|
-
# Site’s URL with protocol
|
|
114
|
+
url: https://example.com
|
|
115
|
+
# Site’s URL with protocol, without optional www. prefix
|
|
116
|
+
# and without trailing slash.
|
|
116
117
|
# Used e.g. for marking external links in docs and blog posts.
|
|
117
118
|
|
|
118
119
|
title: Example
|
|
@@ -100,7 +100,9 @@ supporting expandable navigation widget.
|
|
|
100
100
|
{% if is_docs_landing == false %}
|
|
101
101
|
<nav role="toolbar">
|
|
102
102
|
<button class="docs-nav-toggle">Toggle table of contents</button>
|
|
103
|
-
|
|
103
|
+
|
|
104
|
+
{% assign suggest_edits_base_url = item_data.docs.git_repo_url | default: item_data.repo_url %}
|
|
105
|
+
<a href="{{ suggest_edits_base_url }}/edit/master/{{ item_data.docs.git_repo_subtree | default: "docs" }}/{{ page.path | split: "/" | last }}" class="docs-suggest-edits">Suggest edits to this page</a>
|
|
104
106
|
</nav>
|
|
105
107
|
{% endif %}
|
|
106
108
|
|
data/_layouts/docs-base.html
CHANGED
|
@@ -47,6 +47,18 @@ layout: default
|
|
|
47
47
|
<h1 class="text">{{ prominent_title | default: title }}</h1>
|
|
48
48
|
</div>
|
|
49
49
|
|
|
50
|
+
{% if site.github_repo_url or num_top_nav_items > 0 %}
|
|
51
|
+
<nav role="toolbar">
|
|
52
|
+
{% if num_top_nav_items > 0 %}
|
|
53
|
+
<button class="docs-nav-toggle">Toggle table of contents</button>
|
|
54
|
+
{% endif %}
|
|
55
|
+
|
|
56
|
+
{% if site.github_repo_url %}
|
|
57
|
+
<a href="{{ site.github_repo_url }}/edit/master/{{ page.path }}" class="docs-suggest-edits">Suggest edits to this page</a>
|
|
58
|
+
{% endif %}
|
|
59
|
+
</nav>
|
|
60
|
+
{% endif %}
|
|
61
|
+
|
|
50
62
|
<div>
|
|
51
63
|
<div class="lead">{{ page.description }}</div>
|
|
52
64
|
</div>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-open-project
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - '='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 2.0.
|
|
75
|
+
version: 2.0.14
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - '='
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 2.0.
|
|
82
|
+
version: 2.0.14
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: bundler
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|