Skip to content
This page is also available as markdown at /docs/public-docs/falconer-json-reference.md. For the complete documentation index, see llms.txt.
Get started

falconer.json reference

The site configuration file Falconer writes to a synced repository, field by field.

falconer.json lives at the root of the space’s Files tab, which is the root of the synced path in a repository. Falconer generates it from the site settings and the Docs navigation. When the space is synced with GitHub, edits made in the repository are merged back into Falconer on the next pull.

The file can’t be edited directly in the Files tab. Change settings in Site configuration, or edit the file in the repository.

{
"version": 1,
"site": {
"name": "Acme Docs",
"favicon": "assets/favicon.svg",
"logo": { "light": "assets/logo-light.svg", "dark": "assets/logo-dark.svg" },
"colors": { "primary": "#006c8a", "primaryDark": "#2bb5ca" },
"navbar": {
"links": [{ "label": "Pricing", "href": "https://acme.com/pricing" }],
"primary": { "label": "Get started", "href": "https://app.acme.com/signup" }
},
"contextual": { "options": ["copy", "assistant", "chatgpt", "claude"] },
"seo": { "indexable": true, "description": "Guides and API reference" },
"social": [{ "icon": "github", "href": "https://github.com/acme" }],
"footer": {
"links": [{ "header": "Company", "items": [{ "label": "About", "href": "https://acme.com/about" }] }]
}
},
"navigation": {
"tabs": [
{
"tab": "Documentation",
"pages": [
"index.mdx",
{ "group": "Get started", "pages": ["quickstart.mdx", "install.mdx"] },
{ "anchor": "Reference", "pages": ["api/overview.mdx"] }
]
}
],
"redirects": [{ "from": "/getting-started", "to": "/quickstart", "permanent": true }]
}
}

Paths are relative to the root of the synced path, without a leading slash. Empty strings count as unset.

FieldTypeWhat it does
namestring, up to 200 charactersSite name in the header and browser tab. Defaults to the space name.
faviconpathBrowser tab icon
logo.light, logo.darkpathLogo for each theme
logo.hrefhttps:// URLWhere the logo links to. Defaults to the site home.
colors.primaryhex colorAccent color in the light theme, and the fallback for dark
colors.primaryDarkhex colorAccent color in the dark theme
navbar.linksup to 10 of { label, href }Header links. Labels up to 40 characters, https:// URLs.
navbar.primary{ label, href }The header button
contextual.optionsordered listPage actions: copy, view, assistant, chatgpt, claude. The first is the button, the rest go in its menu.
seo.descriptionstring, up to 500 charactersDefault meta description
seo.indexablebooleanWhether search engines may index the site. Defaults to true.
seo.metatagsup to 30 of { name, content }Extra meta tags on every page
socialup to 20 of { icon, href }Footer social icons
analyticsup to 10 of { name, snippet }HTML added to the head of every page
footer.linksup to 6 columnsEach column is { header, items } with up to 10 { label, href } items. href is an https:// URL or a path on the site.

Supported social icons: github, gitlab, bitbucket, codeberg, stackoverflow, discord, slack, matrix, telegram, whatsapp, signal, mastodon, bluesky, threads, twitter, x.com, linkedin, facebook, instagram, tiktok, pinterest, reddit, youtube, twitch, patreon, discourse, zulip, rss, email, phone.

Keys Falconer manages itself, such as the subdomain, custom domain, published build, and password, are never read from the file.

The navigation is a tree of page paths and containers. A page is its file path as a string. A container is an object with one key naming its kind and label, plus pages.

KindKeyOn the site
Group"group": "Label"A labeled list of pages
Tab"tab": "Label"A header tab. Only at the root.
Anchor"anchor": "Label"A section header in the sidebar
Link"link": "Label" with hrefAn external link. A container with href can’t hold pages.

Containers also accept:

FieldWhat it does
iconAn icon name
hiddentrue leaves the container out of the site menu and search
accesspublic or private. Private content isn’t built. Inherited from the parent when absent.
hrefAn external URL, allowed on tabs, anchors, and links

navigation.redirects is a list of { from, to, permanent }. See Redirects.

Per-page settings live in each page’s frontmatter, not in falconer.json. See Page settings.