1.0.6 • Published 12 months ago

@jpitlor/docusaurus-preset-asyncapi v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
12 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

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago