HolyDocs splits site chrome across three config blocks:

  • navbar controls header links and the primary CTA.
  • banner controls the dismissible site-wide announcement bar.
  • footer controls social icons, link columns, attribution, footer text, and optional raw HTML for trusted badges.
json
{ "navbar": { "links": [ { "label": "Pricing", "href": "https://example.com/pricing" }, { "label": "GitHub", "href": "https://github.com/example/docs", "icon": "github" } ], "primary": { "type": "button", "label": "Start Free", "href": "https://app.example.com/signup" } }}
FieldTypeNotes
links[].labelstringLink text shown in the header
links[].hrefstringInternal path or external URL
links[].iconstringOptional icon for scan-heavy links like GitHub or Status
primary.typebutton | githubCTA style
primary.labelstringCTA text
primary.hrefstringCTA destination

Site banner

json
{ "banner": { "content": "Version 3 is live. Review your upgrade plan before switching readers to the new docs IA.", "dismissible": true }}

Use the banner for time-bound information: launches, deprecations, maintenance windows, or migrations. Do not use it for evergreen product marketing.

json
{ "footer": { "text": "Copyright 2026 Example Inc.", "html": "<a href=\"https://status.example.com\" target=\"_blank\" rel=\"noopener\">System status</a>", "poweredBy": true, "socials": { "github": "https://github.com/example/docs", "discord": "https://discord.gg/example" }, "links": [ { "header": "Docs", "items": [ { "label": "Quickstart", "href": "/quickstart" }, { "label": "API Reference", "href": "/api" } ] }, { "header": "Company", "items": [ { "label": "Status", "href": "https://status.example.com" }, { "label": "Support", "href": "mailto:support@example.com" } ] } ] }}
FieldTypeNotes
textstringShort footer copy such as copyright or legal text
htmlstringRaw trusted HTML for badges, status links, or compliance snippets
poweredBybooleanSet false to hide the HolyDocs attribution
socialsRecord<string, string>Platform name to URL mapping
linksFooterLinkGroup[]Grouped footer columns

footer.html renders raw HTML from your docs.json. Use it only for markup you control, such as status badges or verified third-party snippets.

Chrome design guidance

Header

Keep 2-4 links max. The CTA should answer the reader's next step after the docs.

Banner

Reserve for temporary or high-priority messages. If it stays forever, it belongs on a page instead.

Footer

Use footer columns for utility destinations, not duplicates of your full sidebar tree.

Ask a question... ⌘I