-
Notifications
You must be signed in to change notification settings - Fork 257
Creating a PR: Building and previewing documents
Kenneth G. Franqueiro edited this page Aug 7, 2024
·
3 revisions
You can build the understanding and technique documents locally.
The main spec is done separately (with Respec), this is only for the informative docs.
See https://github.com/w3c/wcag/tree/main/11ty#usage for full instructions on installation and previewing locally.
The short version:
- Install Node.js (preferably v20, the current LTS)
- Run
npm i
in the root of the repository - Run
npm start
for a local development server, ornpm run build
to generate all files under_site
As of August 2024, the Ant/XSLT process for building informative documentation has been removed, as there are now features taking advantage of Eleventy that are no longer backwards-compatible.
Pull requests now include automatic Netlify previews. As there is no top-level index page, you will need to append /techniques/
or /understanding/
to the deploy preview URL.