Repository navigation
Replies: 3 comments 1 reply
|
希望有的指令是: 1. 生成$ lobe-docs gen src/core -o docs/api从 由于不同类型的文档,结构可能不一样,因此生成的配置可能也需要指定:
2. 翻译$ lobe-docs i18n docs/api自动识别 |
0 replies
|
就是增量难做 |
1 reply
|
https://nn.labml.ai/diffusion/stable_diffusion/model/unet.html 这种比较好做 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
这个 idea 会来讨论我们是否有可能直接基于源码,生成一份生产可用的文档。
内容生成
一个 npm 包完整的文档一般会包括以下部分:
完全还原 API 的文档,生成可以使用 typedoc ,不过它的使用感官体验往往欠佳,这个可能不好解决。
一般的 API 参考,在 dumi 中是使用文档解决的。因此我们需要研究下是否可能可以通过 ai + 源码,自动相应的介绍文档。
然后关于简介、快速上手、详细介绍,可能需要看看是否有可能通过 ai 生成。
国际化
基于一篇中文/英文,产出目标语种的 md。这个基于 lobe-i18n 应该就可以实现。
All reactions