You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a `<DocumentationIndex />` MDX component that renders the stability overview of every module, backed by a new `documentationIndex` export on `#theme/config` (replaces the `<!-- DOCUMENTATION_INDEX -->` comment)
Copy file name to clipboardExpand all lines: packages/react/src/html/README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -358,6 +358,11 @@ title: Welcome
358
358
There are {stats.length} APIs documented.
359
359
```
360
360
361
+
The built-in components are available without registration. Notably,
362
+
`<DocumentationIndex />` renders an index of every documented module with its
363
+
stability badge and description, sourced from the `documentationIndex` export
364
+
of [`#theme/config`](#themeconfig-virtual-module).
365
+
361
366
## `#theme/config` virtual module
362
367
363
368
The `html` generator provides a `#theme/config` virtual module that exposes pre-computed configuration as named exports. Any component (including custom overrides) can import the values it needs, and tree-shaking removes the rest.
0 commit comments