feat: Add example pages and stacked-tables partial - #26
Merged
Merged
Conversation
- Introduce example pages and a reusable stacked-tables partial for component demos. - Adds docs/examples and docs/pages/examples HTML, new Nunjucks include/partial (src/_includes/examples.njk, src/_partials/stacked-tables.njk) and example page sources (src/pages/examples/examples.json, src/pages/examples/index.md). - Update project cost views to wrap several to-date totals with links to /casWOW/costs/to-date-costs/ (docs/costs/project-costs/index.html and src/_includes/project-costs.njk) and update pages index (src/pages/pages.json). - These changes provide developer-facing example content and a shared table partial for reuse.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
src/_includes/examples.njk,src/_partials/stacked-tables.njk) and example page sources (src/pages/examples/examples.json,src/pages/examples/index.md).src/_includes/project-costs.njk) and update pages index (src/pages/pages.json).PR checklist
Please check the boxes that apply before requesting review.
pnpm show) and verified the changed pagespnpm css && pnpm build) and checkeddocs/outputpnpm copy-css|copy-js|copy-fa|copy-cas)caswow.library, I documented whether it was linked withnpm linkor included in CIbase.njk)Optional guidance for reviewers:
docs/after a prod build.dependencies/anddocs/contain the expected updated files.