Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jsdoc-to-mdx

naver2kMIT1.2.1

jsdoc to mdx API document generator

readme

jsdoc-to-mdx

jsdoc to mdx API document generator.

This module is designed for use with docusaurus v2

Options

  • "-c, --config <path>", "path to the config file"
  • "-o, --outDir <path>", "path to the generated mdx files"
  • "-l, --locales [locales...]", "locales to enable"
  • "-d, --localesDir <path>", "path to the locales document"
  • "-s, --sidebar <path>", "path to the generate sidebar-api.js for Docusaurus v2"
  • "-p, --prefix <prefix>", "path prefix of the sidebar items. Should end with '/', default is "api/""
  • "-j, --jsdoc <path>", "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
}