jekyll-theme-open-project 2.1.4 → 2.1.5
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 +44 -22
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6366b5adfa5e11bcc91ad0e1931ad6fb7e9f35545610a2f9d37b354b7105afa
|
4
|
+
data.tar.gz: 0632dc0a5fb7d6c21a6c101e4f61163e4def8c42c859b4d1100b6b8ae0fcc432
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fac11c90495ad46f9dd266652e64239444151d368acc0aef3a89cb99ed6d78480d9de7c3968868350eb588c190f6c03bc6794bb0ca247a5e015a4c2fc7b010ea
|
7
|
+
data.tar.gz: cee45f97d0b8d02f19040d2ad2916af5231c8e57bdb09578ad51b81e4d703ee08b9879e09d098557c5c663dd4c451b2c16cb9400370a45b56934abc8bb5bc28e
|
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
|
-
|
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
|
-
##
|
43
|
+
## Getting started
|
42
44
|
|
43
|
-
###
|
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
|
-
|
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
|
-
###
|
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,26 +93,31 @@ Execute the following to install dependencies:
|
|
91
93
|
|
92
94
|
$ bundle
|
93
95
|
|
94
|
-
###
|
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
|
|
103
|
-
|
104
|
-
|
105
|
-
|
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
|
106
113
|
this theme’s `_config.yaml` to your site’s: `collections`, `includes_dir`.
|
107
114
|
|
108
|
-
This
|
115
|
+
This is likely caused by changed behavior of jekyll-data gem in recent versions,
|
109
116
|
which is responsible for “inheritance” of `_config.yaml` between theme and site.
|
110
117
|
|
111
118
|
You can add any custom collections for your site
|
112
119
|
after collections copied from theme’s config.
|
113
|
-
|
120
|
+
|
114
121
|
|
115
122
|
### Building site
|
116
123
|
|
@@ -122,17 +129,30 @@ This assumes you have mysite.local mapped in your hosts file,
|
|
122
129
|
otherwise omit --host and it’ll use “localhost” as domain name.
|
123
130
|
|
124
131
|
|
125
|
-
##
|
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)
|
126
146
|
|
127
147
|
These settings apply to both site types (hub and project).
|
128
148
|
|
129
|
-
- 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,
|
130
150
|
as this theme does not account for its existence.
|
131
151
|
|
132
152
|
- Add `hero_include: home-hero.html` to YAML frontmatter
|
133
153
|
in your main `index.md`.
|
134
154
|
|
135
|
-
- Add following items to site’s _config.yml
|
155
|
+
- Add following items to site’s `_config.yml`
|
136
156
|
(and don’t forget to remove default theme requirement there):
|
137
157
|
|
138
158
|
```yaml
|
@@ -177,6 +197,8 @@ These settings apply to both site types (hub and project).
|
|
177
197
|
|
178
198
|
### Logo
|
179
199
|
|
200
|
+
(mandatory)
|
201
|
+
|
180
202
|
By “logo” is meant the combination of site symbol as a graphic
|
181
203
|
and name as word(s).
|
182
204
|
|
@@ -184,10 +206,10 @@ and name as word(s).
|
|
184
206
|
Should look OK in dimensions of 30x30px, and fit inside a square.
|
185
207
|
Should be in SVG format (see also the SVG guidelines section).
|
186
208
|
|
187
|
-
-
|
209
|
+
- Provide your site-wide symbol in <site root>/assets/symbol.svg.
|
188
210
|
|
189
|
-
-
|
190
|
-
under
|
211
|
+
- Provide the symbol as PNG renders as `favicon.png` and `favicon-192x192.png`
|
212
|
+
under `<site root>/assets/`; use transparent background.
|
191
213
|
|
192
214
|
- **Site name** displayed to the right of the symbol.
|
193
215
|
Limit the name to 1-3 words.
|
@@ -234,7 +256,7 @@ hero_include: index-page-hero.html
|
|
234
256
|
In general, posts are authored as per usual Jekyll setup.
|
235
257
|
|
236
258
|
It is recommended that you provide explicit hand-crafted post excerpts,
|
237
|
-
as automatically-generated excerpts may break post card
|
259
|
+
as automatically-generated excerpts may break the post card layout.
|
238
260
|
|
239
261
|
Theme also anticipates author information within frontmatter.
|
240
262
|
Together with excerpts, here’s how post frontmatter (in addition to anything
|
@@ -532,7 +554,7 @@ description: A sentence.
|
|
532
554
|
# but used for HTML metadata if jekyll-seo-tag is enabled
|
533
555
|
|
534
556
|
tags: [Ruby, Python, RFC, "<some_namespace_id>:<appropriate_tag>"]
|
535
|
-
#
|
557
|
+
# NOTE: Avoid whitespaces and other characters that may make Jekyll
|
536
558
|
# percent-encode the tag in URLs. Replace " " (a regular space)
|
537
559
|
# with "_" (underline); underlines will be rewritten as spaces when tags
|
538
560
|
# are presented to site users.
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-10 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:
|
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:
|
26
|
+
version: 4.1.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-seo-tag
|
29
29
|
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.
|
243
|
+
rubygems_version: 3.0.3
|
244
244
|
signing_key:
|
245
245
|
specification_version: 4
|
246
246
|
summary: Open Project Jekyll theme
|