jekyll-theme-open-project 2.1.0 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +1 -1
  3. data/README.md +51 -17
  4. data/_includes/legal.html +1 -1
  5. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c764226a279b3264ca00a5053359d946233874e7794c05911ccc0ed09077c7e3
4
- data.tar.gz: 2ebf77fba338697c4fcab8e326b31a92456e51d4cd5dc5c6edfd72a5bd7f5b12
3
+ metadata.gz: 807e0858636b8cbc04054d4ef89f2dc8c00464e193afaacbb82e8ff6ff484239
4
+ data.tar.gz: 3e5793f0956cf55c0d268db57f4a8df626fde73730ac3180b21edbf202534c04
5
5
  SHA512:
6
- metadata.gz: 6238114e8630c606b2473f70f885060bcafc42a47789d4d95293fc81f0255c4d18a1902408fac85a294611be9199b6a1e625f8b651f87f8f7cca719fe15bfbe3
7
- data.tar.gz: 2d3cddc1c10e4db1fd79f4eab70924b90e2bc77d8a921af57c005da2b47974d92d8c39ba74df6e90c7ba224b25250d1778404fb0df54c88baf9f368282a127a9
6
+ metadata.gz: 62a5a94d617c6e31b6c4a8727cc7f4d6705b5d42cbc182bcc65f0920bd01c43f63caa4e95ed0ac16719a1871e45e6a861be879e0f4569f1d85d13a7bc6f86ac1
7
+ data.tar.gz: e5caa2ca4cf959951e7fd678e488236456016c5b68b9c976c13c0ed1fb6cf90156f7a88b2ce7c4c48ecca19386bd8dd25475e02c0b145d86868195a8cb7b2f6f
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018 Ribose
3
+ Copyright (c) 2020 Ribose
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -5,9 +5,11 @@ aiming to help organizations and individuals present
5
5
  open-source software and specifications in a navigable and elegant way.
6
6
 
7
7
  Open Project fits two types of sites:
8
- that describe one individual project, and that combine projects into sort of an open hub.
9
8
 
10
- **Demo**: See [Ribose Open](https://open.ribose.com/) project sites—for example,
9
+ * a site that describes one individual project
10
+ * a site that combine projects into sort of an open hub.
11
+
12
+ **Demo**: See [Ribose Open](https://open.ribose.com/) project sites -- for example,
11
13
  [Metanorma](https://www.metanorma.com),
12
14
  [RNP](https://www.rnpgp.com),
13
15
  [Cryptode](https://www.cryptode.com),
@@ -38,9 +40,9 @@ to AWS S3.
38
40
  * [Includes](#theme-includes)
39
41
 
40
42
 
41
- ## Starting a site with this theme
43
+ ## Getting started
42
44
 
43
- ### Getting started with Ruby and Jekyll
45
+ ### Set up Ruby and Jekyll
44
46
 
45
47
  The currently recommended Ruby version is 2.6.
46
48
  (In case you aren’t using Ruby often, the easiest way to install one may be with RVM.)
@@ -48,10 +50,10 @@ The currently recommended Ruby version is 2.6.
48
50
  The currently recommended Jekyll version is 3 or newer
49
51
  (read about [Jekyll installation](https://jekyllrb.com/docs/#instructions)).
50
52
 
51
- Note: this theme is known to not work with Ruby older than 2.3,
53
+ NOTE: this theme is known to not work with Ruby older than 2.3,
52
54
  and hasn’t been tested on newer versions.
53
55
 
54
- ### Start new Jekyll site
56
+ ### Start a new Jekyll site
55
57
 
56
58
  jekyll new my-open-site
57
59
 
@@ -59,7 +61,7 @@ If you use Git for site source version management,
59
61
  see the “Extra .gitignore rules” section below
60
62
  for additional lines you should add to your `.gitignore`.
61
63
 
62
- ### Installing theme
64
+ ### Install Open Site theme into the Jekyll site
63
65
 
64
66
  Add this line to your Jekyll site's `Gemfile`,
65
67
  replacing default theme requirement:
@@ -91,15 +93,32 @@ Execute the following to install dependencies:
91
93
 
92
94
  $ bundle
93
95
 
94
- ### Configuring site
96
+ ### Configure your Open Site for the first time
95
97
 
96
- Edit _config.yml to add necessary site-wide configuration options,
98
+ Edit `_config.yml` to add necessary site-wide configuration options,
97
99
  and add files and folders to site contents. This step depends
98
100
  on the type of site you’re creating: hub or individual project site.
99
101
 
100
102
  Further sections explain core concepts of open project and hub, and go
101
103
  into detail about how to configure a project or hub site.
102
104
 
105
+ Before building the first time you must do this:
106
+
107
+ 1. Configure [common settings](#common-settings)
108
+ 2. Add your logo(s) according to [logo](#logo)
109
+
110
+ Please see the [configuration section](#configuration) for more details.
111
+
112
+ NOTE: It may be required to copy the following properties from
113
+ this theme’s `_config.yaml` to your site’s: `collections`, `includes_dir`.
114
+
115
+ This is likely caused by changed behavior of jekyll-data gem in recent versions,
116
+ which is responsible for “inheritance” of `_config.yaml` between theme and site.
117
+
118
+ You can add any custom collections for your site
119
+ after collections copied from theme’s config.
120
+
121
+
103
122
  ### Building site
104
123
 
105
124
  Execute to build the site locally and watch for changes:
@@ -110,17 +129,30 @@ This assumes you have mysite.local mapped in your hosts file,
110
129
  otherwise omit --host and it’ll use “localhost” as domain name.
111
130
 
112
131
 
113
- ## General setup
132
+ ## Configuration
133
+
134
+ There are 3 areas to configure when you first create an Open Site, namely:
135
+
136
+ * [Common setup](#common-setup), settings that apply to both Hub and Project sites;
137
+ * [Hub site](#hub-site);
138
+ * [Project site](#project-site)
139
+
140
+
141
+ ## Common setup
142
+
143
+ ### Common settings
144
+
145
+ (mandatory)
114
146
 
115
147
  These settings apply to both site types (hub and project).
116
148
 
117
- - You may want to remove the default about.md page added by Jekyll,
149
+ - You may want to remove the default `about.md` page added by Jekyll,
118
150
  as this theme does not account for its existence.
119
151
 
120
152
  - Add `hero_include: home-hero.html` to YAML frontmatter
121
153
  in your main `index.md`.
122
154
 
123
- - Add following items to site’s _config.yml
155
+ - Add following items to site’s `_config.yml`
124
156
  (and don’t forget to remove default theme requirement there):
125
157
 
126
158
  ```yaml
@@ -165,6 +197,8 @@ These settings apply to both site types (hub and project).
165
197
 
166
198
  ### Logo
167
199
 
200
+ (mandatory)
201
+
168
202
  By “logo” is meant the combination of site symbol as a graphic
169
203
  and name as word(s).
170
204
 
@@ -172,10 +206,10 @@ and name as word(s).
172
206
  Should look OK in dimensions of 30x30px, and fit inside a square.
173
207
  Should be in SVG format (see also the SVG guidelines section).
174
208
 
175
- - Drop your site-wide symbol in <site root>/assets/symbol.svg.
209
+ - Provide your site-wide symbol in <site root>/assets/symbol.svg.
176
210
 
177
- - Drop PNG renders of the symbol as favicon.png and favicon-192x192.png
178
- under <site root>/assets/; use transparent background.
211
+ - Provide the symbol as PNG renders as `favicon.png` and `favicon-192x192.png`
212
+ under `<site root>/assets/`; use transparent background.
179
213
 
180
214
  - **Site name** displayed to the right of the symbol.
181
215
  Limit the name to 1-3 words.
@@ -222,7 +256,7 @@ hero_include: index-page-hero.html
222
256
  In general, posts are authored as per usual Jekyll setup.
223
257
 
224
258
  It is recommended that you provide explicit hand-crafted post excerpts,
225
- as automatically-generated excerpts may break post card markup.
259
+ as automatically-generated excerpts may break the post card layout.
226
260
 
227
261
  Theme also anticipates author information within frontmatter.
228
262
  Together with excerpts, here’s how post frontmatter (in addition to anything
@@ -520,7 +554,7 @@ description: A sentence.
520
554
  # but used for HTML metadata if jekyll-seo-tag is enabled
521
555
 
522
556
  tags: [Ruby, Python, RFC, "<some_namespace_id>:<appropriate_tag>"]
523
- # Note: Avoid whitespaces and other characters that may make Jekyll
557
+ # NOTE: Avoid whitespaces and other characters that may make Jekyll
524
558
  # percent-encode the tag in URLs. Replace " " (a regular space)
525
559
  # with "_" (underline); underlines will be rewritten as spaces when tags
526
560
  # are presented to site users.
data/_includes/legal.html CHANGED
@@ -1,5 +1,5 @@
1
1
  <span class="copyright">
2
- <span class="copyright-head">Copyright © 2018 {{ site.legal.name }} —</span>
2
+ <span class="copyright-head">Copyright © {{ site.time | date: '%Y' }} {{ site.legal.name }} —</span>
3
3
  <span class="copyright-tail">All rights reserved.</span>
4
4
  </span>
5
5
 
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.0
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-14 00:00:00.000000000 Z
11
+ date: 2021-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: 4.1.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.0'
26
+ version: 4.1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-seo-tag
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 2.1.0
75
+ version: 2.1.5
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.0
82
+ version: 2.1.5
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -240,7 +240,7 @@ 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.6
243
+ rubygems_version: 3.0.8
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: Open Project Jekyll theme