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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 807e0858636b8cbc04054d4ef89f2dc8c00464e193afaacbb82e8ff6ff484239
4
- data.tar.gz: 3e5793f0956cf55c0d268db57f4a8df626fde73730ac3180b21edbf202534c04
3
+ metadata.gz: 2bffbb3817e8009e2863eae303aa8430a46e9e75cf98553220eaa7789c2fd4de
4
+ data.tar.gz: db7bd76912fe826732d2a9d0312126e02818f6fe46d314bae228cc0998a79d1d
5
5
  SHA512:
6
- metadata.gz: 62a5a94d617c6e31b6c4a8727cc7f4d6705b5d42cbc182bcc65f0920bd01c43f63caa4e95ed0ac16719a1871e45e6a861be879e0f4569f1d85d13a7bc6f86ac1
7
- data.tar.gz: e5caa2ca4cf959951e7fd678e488236456016c5b68b9c976c13c0ed1fb6cf90156f7a88b2ce7c4c48ecca19386bd8dd25475e02c0b145d86868195a8cb7b2f6f
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/master/{{ item_data.docs.git_repo_subtree | default: "docs" }}/{{ page.path | split: "/" | last }}" class="docs-suggest-edits">Suggest edits to this page</a>
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 %}
@@ -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/master/{{ page.path }}" class="docs-suggest-edits">Suggest edits to this page</a>
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.6
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-03-27 00:00:00.000000000 Z
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.5
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.5
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.8
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: []