jekyll-theme-open-hub 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +12 -5
  3. data/_layouts/spec.html +3 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 727caf1528610157d086b8a66e77263a0a949a29e520251e4774a6e083da50aa
4
- data.tar.gz: fa5cb19c66214932aab3df38ffbff6935f95b4f7476f2949d9925aa542574231
2
+ SHA1:
3
+ metadata.gz: 3b06a0ac795ee150c1a21f53051b4e3b178a38ae
4
+ data.tar.gz: d369f6dd0dd8efa8bb14078fd2eb2f7ab726fa8c
5
5
  SHA512:
6
- metadata.gz: 2c7824c01f27f450af0a508ee9727978e21500ed0f3aa0ec274121d3def41cbc8a9ea5269807fdb74fb6f2d5c203b4dcde4f3fa4d0a1ac938ed362168128700b
7
- data.tar.gz: b717df76e95e9d3d41ef6b883a87a9b00c8683f2d3d510402f62f325dd929caae30f673811a738971014b8749e4dc6cb2c4a68706d85c8213248b7cc1e98c278
6
+ metadata.gz: f9980718c7081e4ea93b7c1803dbe594289ab357001d332977e65b5342b0ab5b6fce2907769dac6568c31fa3b6e8942eb66a3209e6835bbe11b14456940daf03
7
+ data.tar.gz: cdbf91355b106deaa1271668134a3d9412bcccfa051b80fe58bc8ee72680e31e9bb77a7939830f67c6a08ffbb250600bfe884b96b2f37bc1749bdbb54a4953e7
data/README.md CHANGED
@@ -96,7 +96,7 @@ These are applicable to both site types (hub and project).
96
96
  description: Site description
97
97
  # The above two are used by jekyll-seo-tag for things such as
98
98
  # `<title>` and `<meta>` tags, as well as elsewhere by the theme.
99
-
99
+
100
100
  collections:
101
101
  posts:
102
102
  output: true
@@ -104,7 +104,7 @@ These are applicable to both site types (hub and project).
104
104
  pages:
105
105
  output: true
106
106
  permalink: /:name/
107
-
107
+
108
108
  defaults:
109
109
  - scope:
110
110
  path: ""
@@ -206,7 +206,7 @@ collections:
206
206
 
207
207
  See the section about project data structure.
208
208
 
209
- In addition to that, _when used within hub site_ each project subdirectory
209
+ _When used within hub site_ (only), each project subdirectory
210
210
  must contain a file "index.md" with frontmatter like this:
211
211
 
212
212
  ```yaml
@@ -271,15 +271,16 @@ authors:
271
271
  author: "Company or Individual Name Goes Here"
272
272
 
273
273
  collections:
274
+ # ... (other collections)
274
275
  software:
275
276
  output: true
276
277
  permalink: /:name/
277
278
  specs:
278
279
  output: true
279
280
  permalink: /:name/
280
- # ... (other collections)
281
281
 
282
282
  defaults:
283
+ # ... (other defaults)
283
284
  - scope:
284
285
  path: _software
285
286
  type: software
@@ -290,7 +291,6 @@ defaults:
290
291
  type: specs
291
292
  values:
292
293
  layout: spec
293
- # ... (other defaults)
294
294
  ```
295
295
 
296
296
  File layout is the same as described in the section
@@ -356,6 +356,13 @@ YAML frontmatter specific to specs:
356
356
 
357
357
  ```yaml
358
358
  rfc_id: XXXX
359
+ # IETF RFC URL would be in the form
360
+ # http://ietf.org/html/rfc<id>
361
+
362
+ ietf_datatracker_id: some-string-identifier-here
363
+ ietf_datatracker_ver: "01"
364
+ # IETF datatracker URL would be in the form
365
+ # https://datatracker.ietf.org/doc/<id>[-<version>]
359
366
  ```
360
367
 
361
368
  Specs that are not hosted elsewhere (such as ietf.org for RFCs)
@@ -10,7 +10,9 @@ layout: default
10
10
 
11
11
  <div class="meta">
12
12
  {% if page.rfc_id %}
13
- <a href="http://ietf.org/html/rfc{{ page.rfc_id }}">RFC {{ page.rfc_id }}</a> {% endif %}
13
+ <a href="http://ietf.org/html/rfc{{ page.rfc_id }}">IETF RFC {{ page.rfc_id }}</a> {% endif %}
14
+ {% if page.ietf_datatracker_id %}
15
+ <a href="https://datatracker.ietf.org/doc/{{ page.ietf_datatracker_id }}{% if page.ietf_datatracker_ver %}-{{ page.ietf_datatracker_ver }}{% endif %}">IETF document</a> {% endif %}
14
16
  </div>
15
17
  </header>
16
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-04 00:00:00.000000000 Z
11
+ date: 2018-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  version: '0'
170
170
  requirements: []
171
171
  rubyforge_project:
172
- rubygems_version: 2.7.6
172
+ rubygems_version: 2.6.14.1
173
173
  signing_key:
174
174
  specification_version: 4
175
175
  summary: Open Hub Jekyll theme