jekyll-theme-open-project 1.1.7 → 1.1.8
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 +33 -16
- data/_config.yml +1 -0
- data/_includes/home-project.html +1 -1
- data/_includes/nav-links.html +3 -3
- data/_pages/software.html +2 -2
- data/_pages/specs.html +1 -1
- data/_sass/open-project-header-footer.scss +8 -9
- data/_sass/open-project-mixins.scss +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02cc4a622a4fd914fc625497feb31d707e1c9e7e819586fa134012422603ecbf
|
4
|
+
data.tar.gz: 5fac284ece99acc5ac8dfac306f99d6e8bee29dfc7767fafa879458d2cefa42e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae41e0f993e045441bb2d4f108507b828b40430a87f0c92ff909a2b4419d78efd3cef5940e27b38ae87cd1e29dff486ceac54eca7e77e8f5283b64bfd6757d67
|
7
|
+
data.tar.gz: 374372877312deae3331a8e57a0f11e09ee3beb5118795205a4b6fc81d5b9961df82ce955ec060ac6a56d9b03c114abb3e8ab1c3b74ea59cfeb53e47e84f3d47
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ to AWS S3.
|
|
14
14
|
|
15
15
|
* Creating a site: [how to](#starting-a-site-with-this-theme)
|
16
16
|
|
17
|
-
* [
|
17
|
+
* [General site setup](#general-setup)
|
18
18
|
* [Hub site setup](#hub-site)
|
19
19
|
* [Project site setup](#project-site)
|
20
20
|
|
@@ -91,7 +91,7 @@ This assumes you have mysite.local mapped in your hosts file,
|
|
91
91
|
otherwise omit --host and it’ll use “localhost” as domain name.
|
92
92
|
|
93
93
|
|
94
|
-
##
|
94
|
+
## General setup
|
95
95
|
|
96
96
|
These settings apply to both site types (hub and project).
|
97
97
|
|
@@ -358,7 +358,7 @@ whether on hub home site or each individual project site:
|
|
358
358
|
|
359
359
|
### Blog
|
360
360
|
|
361
|
-
Author project site blog posts as described in the
|
361
|
+
Author project site blog posts as described in the general site setup section.
|
362
362
|
|
363
363
|
### Software and specs
|
364
364
|
|
@@ -647,32 +647,49 @@ need to be included in the gem, edit regexp in the gemspec.
|
|
647
647
|
|
648
648
|
#### Manual test during development
|
649
649
|
|
650
|
-
|
651
|
-
|
650
|
+
When you’re working on visual aspects of the theme, it’s useful
|
651
|
+
to see how it would affect the end result (a site *built with* this theme).
|
652
652
|
|
653
|
-
|
653
|
+
Here’s how to develop the theme while simultaneously previewing the changes
|
654
|
+
on a site. The sequence would be as follows, assuming you have a local copy
|
655
|
+
of this repo and have a Jekyll site using this theme:
|
654
656
|
|
655
|
-
|
656
|
-
|
657
|
+
1. For the Jekyll site, change Gemfile to point to local copy
|
658
|
+
of the theme (the root of this repo) and run `bundle`.
|
657
659
|
|
658
|
-
|
660
|
+
For example, you’d change `gem "jekyll-theme-open-project", "~> 1.0.6"`
|
661
|
+
to `gem "jekyll-theme-open-project", :path => "../jekyll-theme-open-project"`.
|
662
|
+
The relative path assumes your site root and theme root are sibling directories.
|
659
663
|
|
660
|
-
|
664
|
+
2. Run `bundle exec jekyll serve` to start Jekyll’s development server.
|
661
665
|
|
662
|
-
|
666
|
+
3. Make changes to both theme and site directory contents.
|
663
667
|
|
664
|
-
|
665
|
-
|
668
|
+
4. If needed, kill with Ctrl+C then relaunch the serve command
|
669
|
+
to apply the changes you made to the theme
|
670
|
+
(it may not reload automatically if changes only affect the theme and not the site
|
671
|
+
you’re serving).
|
672
|
+
|
673
|
+
4. Once you’re satisfied, release a new version of the theme — see below.
|
674
|
+
|
675
|
+
5. (To later bump the site to this latest version: revert the Gemfile change,
|
676
|
+
update theme dependency version to the one you’ve just released,
|
666
677
|
run `bundle --full-index` to update lockfile properly,
|
667
678
|
and your site is ready to go.)
|
668
679
|
|
669
680
|
#### Releasing
|
670
681
|
|
671
|
-
|
682
|
+
Make sure theme works: build script is under construction,
|
683
|
+
so use good judgement and thorough manual testing.
|
684
|
+
|
685
|
+
1. First, update version number in .gemspec within this repo’s root.
|
672
686
|
|
673
|
-
|
687
|
+
2. Then, execute `./develop/release`. This does the following:
|
674
688
|
|
675
|
-
|
689
|
+
* Builds new gem version
|
690
|
+
* Pushes gem to rubygems.org
|
691
|
+
* Creates new version tag in this repository
|
692
|
+
* Pushes changes to GitHub
|
676
693
|
|
677
694
|
#### Testing with build script (TBD)
|
678
695
|
|
data/_config.yml
CHANGED
data/_includes/home-project.html
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
{% assign num_specs = specs | size %}
|
12
12
|
{% assign num_featured_specs = featured_specs | size %}
|
13
13
|
{% if num_featured_specs > 0 %}
|
14
|
-
|
14
|
+
{% assign specs = featured_specs %}
|
15
15
|
{% endif %}
|
16
16
|
|
17
17
|
{% assign posts = site.posts %}
|
data/_includes/nav-links.html
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
{% include nav-page-link.html url="/projects/" title="Open Projects" %}
|
6
6
|
|
7
7
|
{% if site.num_all_software > 0 %}
|
8
|
-
{% include nav-page-link.html url="/software/" title="
|
8
|
+
{% include nav-page-link.html url="/software/" title="All software" active_for_nested=true %}
|
9
9
|
{% endif %}
|
10
10
|
{% if site.num_all_specs > 0 %}
|
11
|
-
{% include nav-page-link.html url="/specs/" title="
|
11
|
+
{% include nav-page-link.html url="/specs/" title="All specifications" active_for_nested=true %}
|
12
12
|
{% endif %}
|
13
13
|
{% if site.num_posts_combined > 0 %}
|
14
14
|
{% include nav-page-link.html url="/blog/" title="Blog" active_for_nested=true %}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
{% else %}
|
18
18
|
{% if site.num_all_software > 0 %}
|
19
|
-
{% include nav-page-link.html url="/software/" title="Software" active_for_nested=true %}
|
19
|
+
{% include nav-page-link.html url="/software/" title="Software ecosystem" active_for_nested=true %}
|
20
20
|
{% endif %}
|
21
21
|
{% if site.num_all_specs > 0 %}
|
22
22
|
{% include nav-page-link.html url="/specs/" title="Specifications" active_for_nested=true %}
|
data/_pages/software.html
CHANGED
data/_pages/specs.html
CHANGED
@@ -114,21 +114,20 @@ body > .underlay > footer {
|
|
114
114
|
font-size: 120%;
|
115
115
|
}
|
116
116
|
|
117
|
-
|
118
|
-
margin-right: 10px;
|
117
|
+
margin-right: 10px;
|
119
118
|
|
119
|
+
&, &:link, &:visited {
|
120
|
+
color: white;
|
121
|
+
background-color: rgba(white, 0.32);
|
122
|
+
}
|
123
|
+
&:first-child {
|
120
124
|
&, &:link, &:visited {
|
121
|
-
color:
|
122
|
-
background-color:
|
125
|
+
color: $primary-dark-color !important;
|
126
|
+
background-color: white !important;
|
123
127
|
}
|
124
128
|
}
|
125
129
|
&:last-child {
|
126
130
|
margin-right: 0;
|
127
|
-
|
128
|
-
&, &:link, &:visited {
|
129
|
-
color: $primary-dark-color;
|
130
|
-
background-color: white;
|
131
|
-
}
|
132
131
|
}
|
133
132
|
|
134
133
|
transition: box-shadow .2s ease-out;
|
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: 1.1.
|
4
|
+
version: 1.1.8
|
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-09-
|
11
|
+
date: 2018-09-20 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: 1.0.
|
75
|
+
version: 1.0.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: 1.0.
|
82
|
+
version: 1.0.6
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|