naver / jsdoc-to-mdx

jsdoc to mdx API document generator
https://naver.github.io/jsdoc-to-mdx/
MIT License
18 stars 4 forks source link

Not generating locales #11

Closed selankon closed 1 year ago

selankon commented 1 year ago

Doing

npx jsdoc-to-mdx -c jsdoc-to-mdx.config.json -l es

With this config:

{
  "locales": [],
  "outDir": "./temp_docs",
  "localesDir": "./temp_docs/i18n/{locale}/docusaurus-plugin-content-docs/current/sdk",
  "sidebar": "./temp_docs",
  "prefix": "sdk/",
  "jsdoc": "./jsdoc.json"
}

Is not generating the ./temp_docs/i18n/ files, and no error message. Is something wrong?

Thanks in advance

WoodNeck commented 1 year ago

You have to add the language you're using at "locales" in config. Check the working repo and its config:

selankon commented 1 year ago

Oh right! I forgot this!