File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ Clone the repository to your machine:
47
47
git clone https://github.com/grafana/k6-docs.git
48
48
```
49
49
50
- Navigate to the ` docs ` directory and run ` make docs ` :
50
+ Run ` npm start ` :
51
51
52
52
``` bash
53
- cd docs && make docs
53
+ npm start
54
54
```
55
55
56
56
You should see an output similar to this when the site finishes building:
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ To build locally:
66
66
4 . Run the docs locally.
67
67
68
68
``` bash
69
- npm start # or yarn start
69
+ npm run start:gatsby
70
70
```
71
71
72
72
If everything works, a live preview should be serving on http://localhost:8000 .
Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ Clone the repository to your machine:
52
52
git clone https://github.com/grafana/k6-docs.git
53
53
```
54
54
55
- Navigate to the ` docs ` directory and run ` make docs ` :
55
+ Run ` npm start ` :
56
56
57
57
``` bash
58
- cd docs && make docs
58
+ npm start
59
59
```
60
60
61
61
You should see an output similar to this when the site finishes building:
Original file line number Diff line number Diff line change 12
12
"build:incremental" : " GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --prefix-paths --log-pages" ,
13
13
"build" : " npm run build:gatsby" ,
14
14
"clean" : " gatsby clean" ,
15
- "start" : " npm run develop --host=0.0.0.0" ,
15
+ "start" : " cd docs && make docs" ,
16
+ "start:gatsby" : " npm run develop --host=0.0.0.0" ,
16
17
"serve" : " gatsby serve --prefix-paths" ,
17
18
"deploy" : " ./scripts/gatsby-s3-workaround.sh prepare && gatsby-plugin-s3 deploy --yes && ./scripts/cloudfront-invalidate.sh && ./scripts/gatsby-s3-workaround.sh revert" ,
18
19
"predevelop" : " shx test -f ./.env.development || shx cp ./.env.example ./.env.development" ,
You can’t perform that action at this time.
0 commit comments