docgeni / docgeni

📖 A modern, powerful and out of the box documentation generator for Angular components lib and markdown docs.(现代化的、强大的、开箱即用的 Angular 组件文档生成工具)

Home Page:https://docgeni.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NgDoc: support Multilingual

why520crazy opened this issue · comments

/**
 * description
 * @description.en-us English description
 * @description.zh-cn 中文描述
 */
class SomeComonent {}

output JSON:

{
  "description": "description",
  "description_en-us": "English description"
  "description_zh-cn": "中文描述"
}

or

{
  "description": "description",
  "locales": {
     "zh-cn": {
        "description": "描述"
      },
      "en-us": {
        "description": "English description"
      }
  }
}
commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.