Skip to content

Commit

Permalink
website: adds content-check command and README update (#16579)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Kalow authored Mar 8, 2023
1 parent 9a5cb20 commit e2c4a78
Show file tree
Hide file tree
Showing 3 changed files with 2,236 additions and 119 deletions.
10 changes: 10 additions & 0 deletions website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ The significant keys in the YAML frontmatter are:

> ⚠️ If there is a need for a `/api/*` url on this website, the url will be changed to `/api-docs/*`, as the `api` folder is reserved by next.js.
### Validating Content

Content changes are automatically validated against a set of rules as part of the pull request process. If you want to run these checks locally to validate your content before comitting your changes, you can run the following command:

```
npm run content-check
```

If the validation fails, actionable error messages will be displayed to help you address detected issues.

### Creating New Pages

There is currently a small bug with new page creation - if you create a new page and link it up via subnav data while the server is running, it will report an error saying the page was not found. This can be resolved by restarting the server.
Expand Down
Loading

0 comments on commit e2c4a78

Please sign in to comment.