Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: pnpm install

- name: Build
run: pnpm build && pnpm --filter "./site" generate:docs-manifest
run: pnpm build

- name: Lint
run: pnpm lint
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dist
CHANGELOG.md
README.md
.github/ISSUE_TEMPLATE
site/docs-manifest.json
site/.astro
.changeset
.next
pnpm-lock.yaml
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Run `pnpm format` to fix any violations that can be automatically fixed.

## Updating documentation

The Vanilla Extract docs site is authored in [MDX] files located at [/site/docs].
The Vanilla Extract docs site is built with [Astro], and authored in [MDX] files located at [/site/docs].
To start the docs site locally run `pnpm start-site`.

MDX is stricter than markdown: a bare `<` or `{` in text must be escaped (e.g. `&lt;`), and HTML comments aren't supported.
Expand All @@ -100,6 +100,7 @@ If your change requires a new page on the documentation site and you're not sure
If for whatever reason you are unable to write documentation to accompany your change, a maintainer can make the necessary changes for you in a separate PR.

[/site/docs]: ./site/docs
[Astro]: https://astro.build
[MDX]: https://mdxjs.com

## Writing a changeset
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"lint:manypkg": "manypkg check",
"lint:prettier": "prettier --cache --check .",
"lint:tsc": "tsc",
"lint:site": "pnpm --filter=site lint",
"lint:oxlint": "oxlint",
"copy-readme-to-packages": "node scripts/copy-readme-to-packages.ts",
"version": "changeset version && pnpm install --lockfile-only",
Expand Down
Loading
Loading