createDocsSource
The main API that builds content loading, navigation, routes, metadata, headings, and search.
createDocsSource(...) is the main entrypoint for the package.
The resulting object exposes helpers such as:
getNavigation()getEntry()getHomeEntry()resolveRoute()getMetadata()getStaticParams()search()Instead of wiring content loading, route generation, TOC extraction, and search as separate utilities, EmcyDocs keeps them together behind one source object.