Repository navigation
Docs: a real landing page, a working sidebar and links; the new Org.AI mark and favicons - #16
Conversation
…mark and favicons
The docs' home showed the "Navigation" components page, its sidebar was
empty and its component tables linked to 404s:
- /docs: the five UI-component groups each had an index.mdx, and folders in
parentheses don't add to the address, so all six claimed /docs. The group
overviews are now <group>-components.mdx (/docs/navigation-components, ...),
so /docs is the documentation's own index.
- Sidebar: the root meta.json named pages ("structured-data", ...) that sit
inside group folders, so Fumadocs dropped them and listed only the index. It
now lists the four group folders, each with a title and its overview first;
the top-level sections start open.
- Links: 88 internal links fixed (root-relative links missing /docs, and
nested paths like /docs/structured-data/mdxld that group folders never
create). 16 links to pages that don't exist (@mdxld/extract, jsonld, jsx,
and the removed buildercss package) are now plain text.
- Linked headings nested one link inside another (React error #418 on /docs);
their links now close each section ("See the ... overview.").
- The Org.AI Foundation's new mark in the header (inline, so it follows the
light and dark themes) and as /org-ai.svg; favicon.ico, icon.svg and a
180 px apple-icon.
Every address that worked before still works. Built and checked locally: all
101 pages load with no console errors, and none scrolls sideways at 390 px.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ReviewI read the PR description, the layout and logo changes, the The diagnosis is clear and the fix matches it: six pages claimed Things worth addressing
Minor
Security and performanceNo concerns. The changes are static content and an inline SVG, which also saves a request compared with TestsThe PR reports a manual check of 101 pages with no console errors and no horizontal scroll at 390px. That is useful but not repeatable, so item 2 is the main gap. Overall this is a solid change. I'd merge after resolving item 1 (or confirming it is intended) and ideally adding the link/slug guard. |
The docs now look like the Foundation's other sites (foundation.org.ai, schema.org.ai, standards.org.ai): - Fumadocs' colour variables take the Foundation's tokens: the warm ground, the ink greys, the amber accent for where you are (the sidebar's current page, the table of contents). Fumadocs 14 takes hue, saturation and lightness, so each token is converted from the Foundation's oklch, exact to the colour its own pages render. - Public Sans, the Foundation's typeface, served from this site with next/font/local (the docs had no web font before). - Dark only, as every Foundation site is: the theme is forced dark and the theme switch is gone. - Headings set light with tight tracking, as on foundation.org.ai. Checked: next build, then all 101 pages at 1280 and 390 px with no console errors and no sideways scrolling. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review Most of this PR is link, sidebar and routing fixes in docs/, and the approach looks right. I read the group-overview renames, the per-group meta.json files, and the theme, font and CSS changes under apps/docs/app. I didn't build the site or run tests. Things to look at
Content and links
Tests Security and performance Overall this looks good to merge once the theme description and the redirect claim are checked. |
docs: format the three files #16 left unformatted
What was wrong on mdx.org.ai
/redirects to/docs, which showed the Navigation components page instead of the documentation's index./Header,/Footer...) were 404s.Why, and the fix
/docs. Folders in parentheses don't add to the address, so the five UI-component groups'index.mdxcollided withdocs/index.mdx. The group overviews are now<group>-components.mdx.meta.jsonnamed pages inside group folders. Fumadocs drops those, and hides anything not listed. It now lists the four group folders, each with its ownmeta.json(title, overview first, open by default at the top level)./docs, and nested paths such as/docs/structured-data/mdxldthat group folders never create. 16 links to pages that don't exist became plain text:@mdxld/extract,@mdxld/jsonld,@mdxld/jsx, and the removedbuildercsspackage./docs. Each section now ends with "See the … overview." instead.favicon.ico,icon.svgand a 180 pxapple-icon.Every address that worked before still works.
Checked
Built locally (
next build):Deploying
Not deployed. The site deploys by hand (
cd apps/docs && pnpm deploy), andmainmay hold other unreleased work, so whoever usually releases it should deploy it.🤖 Generated with Claude Code