You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+32-28
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
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).
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/)
30
34
31
35
## Adding content to the documentation site
32
36
@@ -51,32 +55,32 @@ In order to test new updates to Formation, you will need to work in two differen
51
55
52
56
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.
53
57
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
+
```
59
63
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.
61
65
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"`
63
67
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`.
65
69
66
-
5. Now, in `vets-design-system-documentation`, run the following:
70
+
1. Now, in `vets-design-system-documentation`, run the following:
67
71
68
-
```
69
-
$ npm install
70
-
$ npm run start
71
-
```
72
+
```
73
+
$ npm install
74
+
$ npm run start
75
+
```
72
76
73
77
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`.
74
78
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.
76
80
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.
78
82
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.
0 commit comments