feat(docs): add sparked admin template documentation - #1435
Open
geromegrignon wants to merge 2 commits into
Open
feat(docs): add sparked admin template documentation#1435geromegrignon wants to merge 2 commits into
geromegrignon wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new “Templates” area to the Optimus UI docs site and landing page to highlight the Sparked admin template, including routing, navigation, and supporting styles/SEO updates.
Changes:
- Introduces a new
/templatesdocs page with Sparked template documentation and links. - Adds a new landing-page “Application Template” section showcasing Sparked (with new layout styles).
- Wires the new page into routing, menu/footer navigation, sitemap, and the LLM docs build script exclusions.
Reviewed changes
Copilot reviewed 14 out of 16 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/docs/utils/constants.ts | Adds Sparked demo/repo URL constants for reuse across docs and landing. |
| apps/docs/scripts/build-llm-docs.mjs | Excludes templates from component-doc generation to avoid misclassification. |
| apps/docs/router/routes.txt | Adds /templates to the route list. |
| apps/docs/router/app.routes.ts | Registers lazy-loaded templates route. |
| apps/docs/public/sitemap.xml | Adds /templates to sitemap for SEO/discoverability. |
| apps/docs/pages/templates/routes.ts | Defines the route to the Templates page component. |
| apps/docs/pages/templates/index.ts | Implements the Templates page wrapper using AppDoc. |
| apps/docs/pages/landing/templatesection.component.ts | New landing section showcasing Sparked and linking to demo/repo. |
| apps/docs/pages/landing/landing.component.ts | Includes the new landing template section component. |
| apps/docs/pages/landing/landing.component.html | Renders <template-section /> on the landing page. |
| apps/docs/pages/landing/footersection.component.ts | Adds Templates navigation and a Sparked Demo footer link. |
| apps/docs/doc/templates/sparked-doc.ts | New Sparked documentation content and CTA buttons. |
| apps/docs/assets/styles/layout/landing/_templates.scss | Reworks landing template section styles for the new layout. |
| apps/docs/assets/data/menu.json | Adds Templates entry to the docs menu/navigation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Related issues
Fixes #
Type of change
Breaking changes
None
Test plan
npm run buildnpm testnpm run lintChecklist
Additional context