可以全文扫描文档,也可以指定入口把项目里面的组件发布 https://leookun.github.io/unmono/
1
uiosun 2023-10-30 13:32:27 +08:00
这是干什么的?作者能不能多说两句谢谢……我甚至天真的以为点进去,能看到 more desc...
|
2
leokun OP @uiosun 就是可以把目录中的 markdown 扫描出来生成文档网站,还可以指定项目中的文件,把他们打包成公共资源,给别人用
|
4
bojue 2023-10-30 13:45:12 +08:00
刚好周末写了一个 markdown 生成的在线文档,生成离线文档
|
5
rsyjjsn 2023-10-30 14:03:16 +08:00
报错,建议写写单元测试,可以修复很多问题
``` * 正在执行任务: yarn run unmono yarn run v1.22.19 warning package.json: No license field $ unmono doc --build /Users/my/Desktop/demo/node_modules/.bin/unmono: line 1: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 2: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 3: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 4: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 5: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 6: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 7: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 8: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 9: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 10: import: command not found /Users/my/Desktop/demo/node_modules/.bin/unmono: line 11: syntax error near unexpected token `(' /Users/my/Desktop/demo/node_modules/.bin/unmono: line 11: `const [mode, arg] = process.argv.slice(2);' error Command failed with exit code 2. ``` |
6
leokun OP 今天发现是有这个问题,比较粗糙啦哈哈哈
|
8
beiguo 2023-10-30 14:53:51 +08:00
大佬,官网用的什么模板
|