Skip to content

Commit 0b3437c

Browse files
committed
Sync open source content 🐝 (from d5b16c51d14987fee6670c831417b23580e03401)
1 parent ae7801a commit 0b3437c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/docs-md/getting-started.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,9 @@ To build docs pages, add this to the `scripts` section of your `package.json`:
142142

143143
```json
144144
"build-api-docs": "docs-md",
145-
"prebuild": "npm run build-api-docs"
146145
```
147146

148-
Then, when you run `npm run build-api-docs` or `npm run build`, files in `pageOutDir` and `componentOutDir` will be update. This command supports a few flags:
147+
Whenever your spec changes, run `npm run build-api-docs` to update files in `pageOutDir` and `componentOutDir`. This command supports a few flags:
149148

150149
- `-C` / `--clean`: delete the contents of page and component out directories
151150
- This flag is useful for removing pages that no longer exist, e.g. because you renamed an operation tag

0 commit comments

Comments
 (0)