Angular documentation site template
A documentation site whose contents, links and versions are derived, built from the Styloviz components
A home page, guides, API reference, search and a changelog for a fictional events API, loaded as one content payload that the sidebar, search index, prev/next and link check all read. Nothing cross-referenced is stored: the table of contents, anchors, breadcrumbs, “current version” and stale-page flags are computed from the content, and prose is parsed into text nodes — never HTML. Dark mode, and a menu that collapses on small screens.
Included with a Styloviz Pro license. The download is a complete Angular project — npm install && npm start.


- demo pages in 4 groups
- 15
- releases in the changelog
- 6
- content payload for the whole site
- 1
- stored anchors, contents or prev/next
- 0
Walkthrough · 1:31
What it does, page by page
1. Home
OpenA search box that opens the results page, Start with Introduction, and the page, section and version count — all counted, not typed. Getting started, Guides, API reference and Migrating each list their pages with “new” and “old” pills. Beside the latest release and the pages it added sits a health panel: whether every link resolves, whether the content is consistent, and the pages past their 180-day review window, with how overdue each is.
2. Guide
OpenBreadcrumbs from the group that names the page, a “Since v…” pill and when it was last reviewed, then paragraphs, code samples with a language label and a Copy button (with a fallback message when the clipboard is refused), callouts, lists and tables. Each heading carries its own link anchor and an optional version pill, and the On this page list uses the same anchors. A page past its review window says so; a deprecated page (Legacy polling) says what replaced it. Previous and next follow the sidebar’s order. “Was this page useful?” — Not really opens a Markdown box, 2,000 characters, Ctrl/⌘+Enter to send.
3. API reference
OpenThe same layout for an endpoint: method and path (POST /v3/events), an idempotent pill, the scopes it needs, then parameter and error tables. A slug under the wrong kind — guide/create-event — is not quietly redirected: it shows “No such page” with near-miss suggestions and a link to search.
4. Search
OpenThe query lives in the URL (?q=…), so a search can be shared and bookmarked. Every heading is indexed on its own, so a result links to the section that holds the words, with the matches highlighted; at most three sections per page are shown and the rest are counted. No query shows the whole shelf to browse; no match echoes the term back and offers pages with a similar name.
5. Changelog
OpenSix releases, newest first, with a version rail, each heading linkable and the current one marked. Versions are compared numerically, so 3.10 would outrank 3.9, and release notes link at the page they changed through the same resolver as article prose.
Built from Styloviz components
The template is a composition of the same packages you install from npm — nothing in it is a one-off copy of a component.
| Component | Package | Used for |
|---|---|---|
| sv-markdown-editor | @styloviz-pro/rich-editor | the “What was missing?” box after a thumbs-down |
| sv-cookie-consent | @styloviz/cookie-consent | the corner cookie notice, versioned from the config |
| sv-skeleton-shell · sv-error-shell | @styloviz/core | loading and load-error with retry on every page |
| sv-icon-pro | @styloviz-pro/icons | every glyph — the template registers the ones it names |
What it would cost to build
Our estimate for building the same thing from scratch is 4–5 weeks for one experienced Angular developer — roughly 160–200 hours for the content model and inline parser, the derived anchors, contents, breadcrumbs and prev/next, the section-level search, the link and consistency checks, the changelog, page feedback and the specs — before writing any of your own documentation. It is an estimate, not a measurement.
Questions
Does it connect to my backend or CMS?
Yes. Set DOCS_SITE_API.baseUrl in docs-site.config.ts and the site loads the whole corpus with one GET /content and posts page feedback to POST /feedback . Leave it empty and it runs on the bundled content in docs-site.content.ts , with feedback kept in the browser — a comment containing “fail” is refused, so the error state can be seen.
Which Angular and Tailwind versions does it need?
Angular 21 or 22 with standalone components and signals, and Tailwind CSS 4. The download is a complete Angular project: npm install && npm start .
How do I replace the demo content?
Keep the shape of DOCS_SITE_CONTENT and replace the prose: groups name their pages by slug, each page is a guide or a reference page with sections of paragraphs, code, callouts, lists, tables, parameters or errors, and releases go in the changelog. Prose uses a small inline dialect — inline code, bold and [text](slug#anchor) links — and every slug, since version and link is checked, with problems shown on the home page.
Does it render HTML from the content?
No. Prose is parsed into typed segments and rendered as text nodes, so nothing in the content is inserted as HTML.
How is a page marked out of date?
Each page carries the date it was last reviewed. Past DOCS_SITE_REVIEW_DAYS (180 by default) it gets a banner and appears in the home page’s “Due for a read” list. Set DOCS_SITE_EDIT_BASE and every page also gets an “Edit this page” link.
What license covers it?
The Documentation Site template is part of Styloviz Pro. A Pro license covers the template and the Pro packages it imports, including use in client projects.
Looking for something else? See every template