Latitude 10 docs

The docs folder

What goes in it

FileWhat it becomes
Any .md fileA page.
A .png, .jpg, .jpeg, .gif, .webp or .svg fileAn image pages can show. Its contents must match its extension.
latitude10.docs.jsonThe site's settings, below. Optional.
skill.mdYour own agent skill, in place of the one we write.

Anything else is left out with a warning. macOS's .DS_Store, ._ files and __MACOSX/ are left out silently.

latitude10.docs.json

KeyWhat it sets
titleThe site's name. Without it, the project's name.
descriptionOne line about the site, for llms.txt and skill.md.
logoThe path of an image in the folder. If it isn't there, a warning.
accentA colour for links and highlights. If it's too faint to read on the light or dark theme, that theme keeps the default, with a warning.
navThe sidebar: a list of groups, each { "group": "Name", "pages": ["path/without/md"] }.
reference{ "title": "…" }, the name of the reference's section.

An unknown key gets a warning. A key of the wrong type, or a file that isn't JSON, refuses the push.

With nav, every page that isn't hidden should be in it: one that's left out gets a warning, and so does a name with no page. Without nav, pages are grouped by their top folder, each group with its index first, then by order, then by path.

Front matter

A page may start with front matter between two --- lines:

FieldWhat it does
titleThe page's title. Without it, the page's first # heading, or else its file name.
descriptionThe page's summary, for search engines and llms.txt.
orderA whole number that sorts the page within its group when there's no nav.
hiddentrue serves the page but leaves it out of the sidebar.

Other fields are ignored.

Page addresses

A page's address is its path without .md, in lowercase, with spaces as dashes: Guides/Web Hooks.md is /guides/web-hooks. An index.md is its folder's address, and the root index.md is the home page. Two files that would share an address refuse the push.

The site serves these paths itself, so a page there would never show, and gets a warning: mcp, reference, _search, _theme.css, llms.txt, llms-full.txt, sitemap.xml and robots.txt, and anything under v/, preview/, _assets/, .well-known/ or mcp/.

What refuses a push

RefusalStatusWhy
Not gzip422The body isn't a .tar.gz archive.
Too large413The folder, unpacked, is over your plan's bundle size.
Too many pages413It has more pages than your plan builds.
Bad path422A path leaves the folder, or an entry is a link or a special file.
Collision422Two files would be the same page.
Bad config422latitude10.docs.json isn't valid.

The sizes and page counts per plan are in Plans and limits.

Where this comes from

  • app/docs/_lib/bundle.ts
  • app/docs/_lib/build.ts
  • app/api/registry/v1/docs/route.ts