1.0.6 • Published 11 months ago

@jpitlor/docusaurus-preset-asyncapi v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@jpitlor/docusaurus-preset-asyncapi

AsyncAPI integration for Docusaurus V3.

Installation

npm install @jpitlor/docusaurus-preset-asyncapi

Usage

// docusaurus.config.ts

const config = {
  presets: [
    [
      "@jpitlor/docusaurus-preset-asyncapi",
      {
        specs: [
          {
            spec: "./path/to/asyncapi.yml",
            route: "/route/on/website",
          },
        ],
        // See defaults for ConfigInterface at:
        // https://github.com/asyncapi/asyncapi-react/blob/master/library/src/config/default.ts
        config: {
          show: {
            sidebar: true,
          },
        },
      },
    ],
  ],
}

module.exports = config;
1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago