-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow running builds against a custom local guidelines folder (#4182)
This adds logic to `getPrinciples` and `getTermsMap` code flows to allow explicitly specifying a local `guidelines/index.html` path when building for a specific version, to be used in place of requesting the latest published recommendation for the specified `WCAG_VERSION`. This allows us to directly reuse the build process from the `main` branch for generating preview builds against `WCAG-2.1`, rather than needing to copy the entire Eleventy build process to that branch and keep it in sync.
- Loading branch information
1 parent
a206c7f
commit 3b34ff2
Showing
3 changed files
with
54 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters