Repository navigation
create-rapidoc@1.0.0
·
1 commit
to master
since this release
Major Changes
- aa3c878: RapiDoc and its family, in sync: RapiDoc Portal and the RapiDoc CLI (with the server, the mock, the prerenderer, the MCP builder and
create-rapidoc), the integration contract (@rapidoc/embed) and RapiDoc for Hono, Express and Fastify were reviewed end to end together withrapidoc15 and are 1.0.0, a new start for the family. The same names for the same things, one sidebar from<rapi-doc>to the portal, and safer defaults everywhere; names that were wrong or unclear were corrected once, with no old spellings kept: the portal site's "Upgrading from 0.2 to 1.0" page lists every change. From here they follow semver: a breaking change to the config, the CLI, the integration contract or an integration's options comes only in a new major version.
Patch Changes
- aa3c878: Clean-up before 1.0, with no old names kept. Markdoc tags:
{% api-operation %}takes the API's id asapi(wasspec),{% workflow %}takes theworkflows:entry's id asdocument(wasfile),{% tab %}takeslabelonly (nameis gone), and{% card-grid columns=N %}now sets the number of columns (1 to 4, default 3; it was ignored and always 2). An old attribute fails the build as an unknown attribute.@rapidoc/portalno longer exports the unused second Markdoc renderer (compileMarkdoc,compileDocFile,createMarkdocConfig,markdocTags,extractHeadings, the./markdocsubpath) orsearchRecords;resolveConfigreplacesnormalizeConfigas the config helper. The header and footer for a page with its own document are imported under their real names,@rapidoc/portal/components/PortalPageHeader.astroandPortalPageFooter.astro(werePortalHeader.astroandPortalFooter.astro), and the paths the build's workspace imports moved under@rapidoc/portal/internal/. Withoutsite.url, pages no longer get a canonical link and a sitemap on the placeholder domaindeveloper.portal: a build has neither and prints one note that both needsite.url.rapidoc migratetakes the project folder (rapidoc migrate [dir]) and--force/-f; whenrapidoc.config.yamlexists and it cannot ask (no terminal, or--yes), it stops unless--forceis given.@rapidoc/clihas anexportsfield: it is a command, and none of its files can be imported. New portals fromcreate-rapidocandrapidoc inituse the new attribute names. - 543ef8d: New portals (
npm create rapidoc,rapidoc init) leavetheme.primaryas a comment, so they take the portal's default accents, those of RapiDoc'sambertheme.rapidoc.themeis a comment too, listing the presets.