|
|
il y a 5 ans | |
|---|---|---|
| _images | il y a 5 ans | |
| _media | il y a 5 ans | |
| app | il y a 5 ans | |
| backend | il y a 5 ans | |
| frontend | il y a 5 ans | |
| git | il y a 5 ans | |
| oper | il y a 5 ans | |
| .drone.yml | il y a 5 ans | |
| .gitignore | il y a 5 ans | |
| .nojekyll | il y a 5 ans | |
| Dockerfile | il y a 5 ans | |
| README.md | il y a 5 ans | |
| _coverpage.md | il y a 5 ans | |
| _navbar.md | il y a 5 ans | |
| _sidebar.md | il y a 5 ans | |
| host.md | il y a 5 ans | |
| index.html | il y a 5 ans | |
| nginx.conf | il y a 5 ans |
A magical documentation site generator.
Clone development-manual repo.
git clone --depth=1 https://git.i2erp.cn/i2-tech/development-manual.git && cd development-manual
Install npm if you don't have one, goto https://nodejs.org/zh-cn.
It is recommended to install docsify-cli globally, which helps initializing and previewing the website locally.
npm i docsify-cli -g
Preview your local site
docsify serve
Then, open Brower http://localhost:3000
If you create a file named new-article.md, then it is accessible via /#/new-article, in order to have sidebar, then you can write your new routes in _sidebar.md.
* [Host网址](/host.md)
* Git手册
* [快速入门](/git/README.md)
* [提交规范](/git/README.md)
* App手册
* [快速入门](/app/README.md)
* [提交规范](/app/README.md)
* 前端手册
* [快速入门](/frontend/README.md)
* [提交规范](/frontend/README.md)
* 后端手册
* [协程并发](/backend/goroutine.md)
* 运维手册
* [k3s入门](/oper/k3s.md)
Just commit all you change, all are hotloaded.
git add -A .
git commit -m "feat: add page guide.md"
git push origin master