Skip to content

Commit 0096a34

Browse files
2 parents 09d7182 + 6f184fc commit 0096a34

9 files changed

+1064
-1540
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ tmp_remote_assets
88
fonts
99
src/img
1010
src/_includes/react
11-
src/formation.min.css
11+
src/formation.min.css
12+
src/.jekyll-cache

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source "https://rubygems.org"
88
#
99
# This will help ensure the proper Jekyll version is running.
1010
# Happy Jekylling!
11-
gem "jekyll", "~> 3.8.4"
11+
gem "jekyll", "~> 4.1.1"
1212

1313
# This is the default theme for new Jekyll sites. You may change this to anything you like.
1414
gem "minima", "~> 2.0"

Gemfile.lock

+47-43
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,78 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.5.2)
5-
public_suffix (>= 2.0.2, < 4.0)
4+
addressable (2.7.0)
5+
public_suffix (>= 2.0.2, < 5.0)
66
colorator (1.1.0)
7-
concurrent-ruby (1.0.5)
8-
em-websocket (0.5.1)
7+
concurrent-ruby (1.1.7)
8+
em-websocket (0.5.2)
99
eventmachine (>= 0.12.9)
1010
http_parser.rb (~> 0.6.0)
1111
eventmachine (1.2.7)
12-
ffi (1.9.25)
12+
ffi (1.13.1)
1313
forwardable-extended (2.6.0)
1414
http_parser.rb (0.6.0)
15-
i18n (0.9.5)
15+
i18n (1.8.5)
1616
concurrent-ruby (~> 1.0)
17-
jekyll (3.8.4)
17+
jekyll (4.1.1)
1818
addressable (~> 2.4)
1919
colorator (~> 1.0)
2020
em-websocket (~> 0.5)
21-
i18n (~> 0.7)
22-
jekyll-sass-converter (~> 1.0)
21+
i18n (~> 1.0)
22+
jekyll-sass-converter (~> 2.0)
2323
jekyll-watch (~> 2.0)
24-
kramdown (~> 1.14)
24+
kramdown (~> 2.1)
25+
kramdown-parser-gfm (~> 1.0)
2526
liquid (~> 4.0)
26-
mercenary (~> 0.3.3)
27+
mercenary (~> 0.4.0)
2728
pathutil (~> 0.9)
28-
rouge (>= 1.7, < 4)
29+
rouge (~> 3.0)
2930
safe_yaml (~> 1.0)
30-
jekyll-feed (0.11.0)
31-
jekyll (~> 3.3)
32-
jekyll-sass-converter (1.5.2)
33-
sass (~> 3.4)
34-
jekyll-seo-tag (2.5.0)
35-
jekyll (~> 3.3)
36-
jekyll-watch (2.1.1)
31+
terminal-table (~> 1.8)
32+
jekyll-feed (0.15.1)
33+
jekyll (>= 3.7, < 5.0)
34+
jekyll-sass-converter (2.1.0)
35+
sassc (> 2.0.1, < 3.0)
36+
jekyll-seo-tag (2.7.1)
37+
jekyll (>= 3.8, < 5.0)
38+
jekyll-watch (2.2.1)
3739
listen (~> 3.0)
38-
kramdown (1.17.0)
39-
liquid (4.0.1)
40-
listen (3.1.5)
41-
rb-fsevent (~> 0.9, >= 0.9.4)
42-
rb-inotify (~> 0.9, >= 0.9.7)
43-
ruby_dep (~> 1.2)
44-
mercenary (0.3.6)
45-
minima (2.5.0)
46-
jekyll (~> 3.5)
40+
kramdown (2.3.0)
41+
rexml
42+
kramdown-parser-gfm (1.1.0)
43+
kramdown (~> 2.0)
44+
liquid (4.0.3)
45+
listen (3.2.1)
46+
rb-fsevent (~> 0.10, >= 0.10.3)
47+
rb-inotify (~> 0.9, >= 0.9.10)
48+
mercenary (0.4.0)
49+
minima (2.5.1)
50+
jekyll (>= 3.5, < 5.0)
4751
jekyll-feed (~> 0.9)
4852
jekyll-seo-tag (~> 2.1)
49-
pathutil (0.16.1)
53+
pathutil (0.16.2)
5054
forwardable-extended (~> 2.6)
51-
public_suffix (3.0.3)
52-
rb-fsevent (0.10.3)
53-
rb-inotify (0.9.10)
54-
ffi (>= 0.5.0, < 2)
55-
rouge (3.3.0)
56-
ruby_dep (1.5.0)
57-
safe_yaml (1.0.4)
58-
sass (3.6.0)
59-
sass-listen (~> 4.0.0)
60-
sass-listen (4.0.0)
61-
rb-fsevent (~> 0.9, >= 0.9.4)
62-
rb-inotify (~> 0.9, >= 0.9.7)
55+
public_suffix (4.0.6)
56+
rb-fsevent (0.10.4)
57+
rb-inotify (0.10.1)
58+
ffi (~> 1.0)
59+
rexml (3.2.4)
60+
rouge (3.24.0)
61+
safe_yaml (1.0.5)
62+
sassc (2.4.0)
63+
ffi (~> 1.9)
64+
terminal-table (1.8.0)
65+
unicode-display_width (~> 1.1, >= 1.1.1)
66+
unicode-display_width (1.7.0)
6367

6468
PLATFORMS
6569
ruby
6670

6771
DEPENDENCIES
68-
jekyll (~> 3.8.4)
72+
jekyll (~> 4.1.1)
6973
jekyll-feed (~> 0.6)
7074
minima (~> 2.0)
7175
tzinfo-data
7276

7377
BUNDLED WITH
74-
1.16.6
78+
1.17.2

README.md

+32-28
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
This is repo for the design system documentation, aka [design.va.gov](https://design.va.gov). If you are looking for the repo that contains the CSS and Javascript for the components, see the [formation package](https://github.com/department-of-veterans-affairs/veteran-facing-services-tools/tree/master/packages/formation) inside the [veteran-facing-services-tools repo](https://github.com/department-of-veterans-affairs/veteran-facing-services-tools).
44

55
Min specs:
6+
- Ruby >= 2.4.0
7+
- RubyGems >= 2.7.0
68
- [Jekyll](http://jekyllrb.com)
79
- react
810
- webpack
@@ -12,21 +14,23 @@ Min specs:
1214
Tested using `node` v8.12.0 and `npm` v6.4.1.
1315

1416
1. Clone this repo
15-
```
16-
$ git clone https://github.com/department-of-veterans-affairs/vets-design-system-documentation.git
17-
```
17+
```
18+
$ git clone https://github.com/department-of-veterans-affairs/vets-design-system-documentation.git
19+
```
1820
19-
2. Install dependencies
20-
```
21-
$ npm install
22-
```
21+
1. Install NPM dependencies
22+
```
23+
$ npm install
24+
```
2325
24-
3. Build and start the Jekyll server
25-
```
26-
$ npm run start
27-
````
26+
1. [Install Jekyll](https://jekyllrb.com/docs/installation/)
2827
29-
4. Verify in browser: [localhost:4000](http://localhost:4000/)
28+
1. Build and start the Jekyll server
29+
```
30+
$ npm run start
31+
```
32+
33+
1. Verify in browser: [localhost:4000](http://localhost:4000/)
3034
3135
## Adding content to the documentation site
3236
@@ -51,32 +55,32 @@ In order to test new updates to Formation, you will need to work in two differen
5155
5256
1. Clone the [veteran-facing-services-tools repo](https://github.com/department-of-veterans-affairs/veteran-facing-services-tools) at the same level as the design system documentation site.
5357
54-
```
55-
my-projects-folder
56-
| ├── vets-design-system-documentation
57-
| ├── veteran-facing-services-tools
58-
```
58+
```
59+
my-projects-folder
60+
| ├── vets-design-system-documentation
61+
| ├── veteran-facing-services-tools
62+
```
5963
60-
2. Follow the [setup instructions](https://github.com/department-of-veterans-affairs/veteran-facing-services-tools#setup) to get `veteran-facing-services-tools` running.
64+
1. Follow the [setup instructions](https://github.com/department-of-veterans-affairs/veteran-facing-services-tools#setup) to get `veteran-facing-services-tools` running.
6165
62-
3. Change `package.json` in `vets-design-system-documentation` to use a local version. `"@department-of-veterans-affairs/formation": "file:../veteran-facing-services-tools/packages/formation"`
66+
1. Change `package.json` in `vets-design-system-documentation` to use a local version. `"@department-of-veterans-affairs/formation": "file:../veteran-facing-services-tools/packages/formation"`
6367
64-
4. Make your changes in `veteran-facing-services-tools` and run `$ npm run build`.
68+
1. Make your changes in `veteran-facing-services-tools` and run `$ npm run build`.
6569
66-
5. Now, in `vets-design-system-documentation`, run the following:
70+
1. Now, in `vets-design-system-documentation`, run the following:
6771
68-
```
69-
$ npm install
70-
$ npm run start
71-
```
72+
```
73+
$ npm install
74+
$ npm run start
75+
```
7276
7377
While `vets-design-system-documentation` is running and make further updates to `veteran-facing-services-tools`, you will need to run `$ npm run build` in that repo, then `$ npm run build` in `vets-design-system-documentation`.
7478
75-
6. When you have finished your work in `veteran-facing-services-tools`, follow the [instructions](https://github.com/department-of-veterans-affairs/veteran-facing-services-tools#publishing-module-to-npm) to submit a PR and publish to NPM.
79+
1. When you have finished your work in `veteran-facing-services-tools`, follow the [instructions](https://github.com/department-of-veterans-affairs/veteran-facing-services-tools#publishing-module-to-npm) to submit a PR and publish to NPM.
7680
77-
7. Once your update has been published to NPM, update `package.json` in `vets-design-system-documentation` from the local version to the new version number.
81+
1. Once your update has been published to NPM, update `package.json` in `vets-design-system-documentation` from the local version to the new version number.
7882
79-
8. Commit this along with any updates to the documentation site and submit a PR.
83+
1. Commit this along with any updates to the documentation site and submit a PR.
8084
8185
## Deploying
8286

_config.yml

-2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,4 @@ includes:
6969
- /components/code
7070

7171
exclude:
72-
- node_modules
7372
- tmp_remote_assets
74-
- .sass-cache

deploy_site.sh

-11
This file was deleted.

0 commit comments

Comments
 (0)