Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

wanyaoqi/docs

 
 

Repository files navigation

Yunion OneCloud 文档

本仓库包含 Yunion OneCloud 相关的文档

安装 hugo

文档使用 hugo 生成,安装 hugo 参考链接: https://gohugo.io/getting-started/installing/

查看文档

$ git clone https://github.com/yunionio/docs --recursive
$ cd docs
# 安装 npm 相关的包
$ npm install
# 使用 hugo 生成文档的 web 界面
$ hugo serve -D
# 访问 http://localhost:1313 查看文档

编辑文档

文档都在 content 目录下,选择需要的部分进行编辑,内容组织参考:https://gohugo.io/content-management/organization/

# 添加新文档
$ hugo new chapter0/section0.md

# 生成的文档会在 content/chapter0/section0.md
$ ls content/chapter0/section0.md

# 用编辑器编辑 content/chapter0/section0.md 文档即可

更新 submodule

$ git submodule update --recursive
$ git pull --recurse-submodules

About

Documentations for Yunion OneCloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 75.7%
  • CSS 14.8%
  • Shell 7.9%
  • JavaScript 1.6%