create-react-doc

Fast static generated site. Just write markdown file.

Usage no npm install needed!

<script type="module">
  import createReactDoc from 'https://cdn.skypack.dev/create-react-doc';
</script>

README

                                                 _.-"\
                                            _.-"      \
                                          ,-"          \
                                          \    create    \
                                          \ \    react    \
                                          \ \      doc     \
                                            \ \         _.-;
                                            \ \    _.-"   :
                                              \ \,-"    _.-"
                                              \(   _.-"
                                                `--"

react-doc

react-doc 是配合 Create React Doc 使用的脚手架,其内置如下命令。

$ react-doc doc         // 在当前文件夹下创建名为 doc 的文档站点
$ react-doc start       // 启动项目
$ react-doc build       // 项目打包
$ react-doc deploy      // 手动发布项目
$ react-doc theme       // 创建新主题包
$ react-doc generate    // 用于自动生成 Front-matter 中相关字段信息

调试

进入该目录, 执行 yarn link, 即可在全局使用 react-doc xxx 命令。