jsdoc-to-mdx

1.2.1 • Public • Published

jsdoc-to-mdx

jsdoc to mdx API document generator.

This module is designed for use with docusaurus v2

Options

  • "-c, --config ", "path to the config file"
  • "-o, --outDir ", "path to the generated mdx files"
  • "-l, --locales [locales...]", "locales to enable"
  • "-d, --localesDir ", "path to the locales document"
  • "-s, --sidebar ", "path to the generate sidebar-api.js for Docusaurus v2"
  • "-p, --prefix ", "path prefix of the sidebar items. Should end with '/', default is "api/""
  • "-j, --jsdoc ", "path to the jsdoc config"
  • "-b, --bulma", "use Bulma's classes instead of Infima"

Config example

{
  "locales": ["ko"],
  "outDir": "./docs/docs/api",
  "localesDir": "./docs/i18n/{locale}/docusaurus-plugin-content-docs/current/api",
  "sidebar": "./docs",
  "jsdoc": "./jsdoc.json",
  "bulma": false
}

Readme

Keywords

none

Package Sidebar

Install

npm i jsdoc-to-mdx

Weekly Downloads

249

Version

1.2.1

License

MIT

Unpacked Size

72.6 kB

Total Files

41

Last publish

Collaborators

  • anuu0916
  • braixen
  • ajaxpf
  • jongmoon
  • sculove
  • happyhj
  • mixed
  • netil
  • younkue
  • woodneck