jekyll-theme-open-project 2.1.6 → 2.1.7
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 +15 -0
- data/_includes/item-doc-page.html +1 -1
- data/_layouts/docs-base.html +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2bffbb3817e8009e2863eae303aa8430a46e9e75cf98553220eaa7789c2fd4de
|
|
4
|
+
data.tar.gz: db7bd76912fe826732d2a9d0312126e02818f6fe46d314bae228cc0998a79d1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3589a0fa9f0827d510d373ffc5678c4a667e3cc109140d098e4d6380cbf3c219b9086145e4e4a5c6d214ec4162a044f3558a608970c2543f24d08c966230cca5
|
|
7
|
+
data.tar.gz: 281fc34190e88d364e9b377b837a9fe8f88729094433dcbb5a8082a68ec9763a05aa6f1957c51788cadffb82ea2ef838f8e80baac6d6d32d7e497120bd2ea6e7
|
data/README.md
CHANGED
|
@@ -165,12 +165,21 @@ These settings apply to both site types (hub and project).
|
|
|
165
165
|
# URL to GitHub repo for the site.
|
|
166
166
|
# Using GitHub & specifying this setting is currently required
|
|
167
167
|
# for “suggest edits” buttons to show on documentation pages.
|
|
168
|
+
github_repo_branch: main
|
|
169
|
+
# Optional, default is `main`.
|
|
168
170
|
|
|
169
171
|
title: Example
|
|
170
172
|
description: The example of examples
|
|
171
173
|
# The above two are used by jekyll-seo-tag for things such as
|
|
172
174
|
# `<title>` and `<meta>` tags, as well as elsewhere by the theme.
|
|
173
175
|
|
|
176
|
+
default_repo_branch: main
|
|
177
|
+
# Optional, default is `main`.
|
|
178
|
+
# Whenever a branch name isn’t specified for some repository
|
|
179
|
+
# (such as project docs or specs), this name will be used.
|
|
180
|
+
# For configuration options that contain repository settings,
|
|
181
|
+
# search `git_repo_branch`, `repo_branch`, `github_repo_branch`.
|
|
182
|
+
|
|
174
183
|
tagline: Because examples are very important
|
|
175
184
|
# Used in hero unit on main page.
|
|
176
185
|
|
|
@@ -333,6 +342,7 @@ featured: true | false
|
|
|
333
342
|
|
|
334
343
|
site:
|
|
335
344
|
git_repo_url: <Git URL to standalone project site source repo>
|
|
345
|
+
git_repo_branch: <branch name in the above repo>
|
|
336
346
|
|
|
337
347
|
home_url: <URL to standalone project site>
|
|
338
348
|
|
|
@@ -410,6 +420,7 @@ author: "Company or Individual Name Goes Here"
|
|
|
410
420
|
# reference the hub.
|
|
411
421
|
parent_hub:
|
|
412
422
|
git_repo_url: git@example.com:path/to-repo.git
|
|
423
|
+
git_repo_branch: somebranchname
|
|
413
424
|
home_url: https://www.example.com/
|
|
414
425
|
|
|
415
426
|
algolia_search:
|
|
@@ -600,9 +611,12 @@ repo_url: https://github.com/riboseinc/asciidoctor-rfc
|
|
|
600
611
|
# Used for things like showing how long ago
|
|
601
612
|
# the was project updated last.
|
|
602
613
|
|
|
614
|
+
repo_branch: main
|
|
615
|
+
|
|
603
616
|
docs_source:
|
|
604
617
|
git_repo_url: git@example.com:path/to-repo.git
|
|
605
618
|
git_repo_subtree: docs
|
|
619
|
+
git_repo_branch: main
|
|
606
620
|
# Documentation, the contents of which will be made part of the project site.
|
|
607
621
|
# See the nearby section about documentation.
|
|
608
622
|
```
|
|
@@ -644,6 +658,7 @@ YAML frontmatter specific to specs:
|
|
|
644
658
|
spec_source:
|
|
645
659
|
git_repo_url: https://github.com/<user>/<repo>
|
|
646
660
|
git_repo_subtree: images
|
|
661
|
+
git_repo_branch: main
|
|
647
662
|
build:
|
|
648
663
|
engine: png_diagrams
|
|
649
664
|
# See below about building the spec from its source
|
|
@@ -103,7 +103,7 @@ supporting expandable navigation widget.
|
|
|
103
103
|
|
|
104
104
|
{% assign suggest_edits_base_url = item_data.docs.git_repo_url | default: item_data.repo_url %}
|
|
105
105
|
{% if suggest_edits_base_url %}
|
|
106
|
-
<a href="{{ suggest_edits_base_url }}/edit/
|
|
106
|
+
<a href="{{ suggest_edits_base_url }}/edit/{{ item_data.docs.git_repo_branch | default: site.default_repo_branch | default: 'main' }} /{{ item_data.docs.git_repo_subtree | default: "docs" }}/{{ page.path | split: "/" | last }}" class="docs-suggest-edits">Suggest edits to this page</a>
|
|
107
107
|
{% endif %}
|
|
108
108
|
</nav>
|
|
109
109
|
{% endif %}
|
data/_layouts/docs-base.html
CHANGED
|
@@ -54,7 +54,7 @@ layout: default
|
|
|
54
54
|
{% endif %}
|
|
55
55
|
|
|
56
56
|
{% if site.github_repo_url %}
|
|
57
|
-
<a href="{{ site.github_repo_url }}/edit/
|
|
57
|
+
<a href="{{ site.github_repo_url }}/edit/{{ item_data.docs.github_repo_branch | default: site.default_repo_branch | default: 'main' }}/{{ page.path }}" class="docs-suggest-edits">Suggest edits to this page</a>
|
|
58
58
|
{% endif %}
|
|
59
59
|
</nav>
|
|
60
60
|
{% endif %}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-open-project
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-06-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - '='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 2.1.
|
|
75
|
+
version: 2.1.6
|
|
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.1.
|
|
82
|
+
version: 2.1.6
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: bundler
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -150,7 +150,7 @@ dependencies:
|
|
|
150
150
|
- - "~>"
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
152
|
version: '1.3'
|
|
153
|
-
description:
|
|
153
|
+
description:
|
|
154
154
|
email:
|
|
155
155
|
- open.source@ribose.com
|
|
156
156
|
executables: []
|
|
@@ -225,7 +225,7 @@ homepage: https://github.com/riboseinc/jekyll-theme-open-project/
|
|
|
225
225
|
licenses:
|
|
226
226
|
- MIT
|
|
227
227
|
metadata: {}
|
|
228
|
-
post_install_message:
|
|
228
|
+
post_install_message:
|
|
229
229
|
rdoc_options: []
|
|
230
230
|
require_paths:
|
|
231
231
|
- lib
|
|
@@ -240,8 +240,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
240
240
|
- !ruby/object:Gem::Version
|
|
241
241
|
version: '0'
|
|
242
242
|
requirements: []
|
|
243
|
-
rubygems_version: 3.0.
|
|
244
|
-
signing_key:
|
|
243
|
+
rubygems_version: 3.0.6
|
|
244
|
+
signing_key:
|
|
245
245
|
specification_version: 4
|
|
246
246
|
summary: Open Project Jekyll theme
|
|
247
247
|
test_files: []
|