jekyll-theme-open-project 2.1.5 → 2.1.9

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: c6366b5adfa5e11bcc91ad0e1931ad6fb7e9f35545610a2f9d37b354b7105afa
4
- data.tar.gz: 0632dc0a5fb7d6c21a6c101e4f61163e4def8c42c859b4d1100b6b8ae0fcc432
3
+ metadata.gz: 8a8cf18def4399696786eb6d56b39c332c426b3e98e0e84ddd1e8402c3d1367c
4
+ data.tar.gz: cedfdd85c2a215959303ce73bcc252f2d64773244d4ab02175c5d401473def63
5
5
  SHA512:
6
- metadata.gz: fac11c90495ad46f9dd266652e64239444151d368acc0aef3a89cb99ed6d78480d9de7c3968868350eb588c190f6c03bc6794bb0ca247a5e015a4c2fc7b010ea
7
- data.tar.gz: cee45f97d0b8d02f19040d2ad2916af5231c8e57bdb09578ad51b81e4d703ee08b9879e09d098557c5c663dd4c451b2c16cb9400370a45b56934abc8bb5bc28e
6
+ metadata.gz: fc49609e1ccb76585cdc04723576a38d54e0da084fcf36cb3d120bd46c8f7bc3e53dc3298228c17bf4c41d6741676c04237dd3ba03ccbd9c4182e00021e757ff
7
+ data.tar.gz: 64fe94bffbb33c20c9e181192ab62831f9146e0024158a059671853e27d944f94dac55d0ce72589804f91f59a8e098daa2dfd2330af7fa5601fa7d59f6fbdcae
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.5
4
+ version: 2.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-10 00:00:00.000000000 Z
11
+ date: 2021-08-10 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.4
75
+ version: 2.1.8
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.4
82
+ version: 2.1.8
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement