Skip to content

1Panel-dev/docs

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 23, 2023 23:11
February 14, 2023 15:57
February 14, 2023 15:57
February 16, 2023 18:40
November 30, 2022 11:56
March 23, 2023 23:22
February 14, 2023 15:57

本仓库保存了 1Panel 项目官方文档,该文档使用 MkDocs 文档框架下的 Material for MkDocs 主题进行构建。

本地开发

克隆本仓库

git clone https://github.com/1Panel-dev/docs.git

安装依赖

cd docs
pip install -r requirements/requirements.txt

修改文档内容

本文档的文档结构定义在 mkdocs.yml 文件中,文档的具体内容均在 docs 目录中。

文档内容使用 markdown 语法编写,若要添加新的文档,需要先在 mkdocs.yml 文件中的 nav 部分增加对应章节导航。

本地调试文档

mkdocs serve

执行上述命令后,可通过 http://127.0.0.1:8000 地址查看生成的文档内容,当修改文档后,页面内容会自动更新。

构建文档

mkdocs build

执行上述命令后,会在 site 目录下生成文档站点的静态文件,将目录中的内容复制到任意 HTTP 服务器上即可完成文档的部署。

问题反馈

如果您发现文档中存在错误,或对文档内容存在疑问,请提交 GitHub Issue 到 1Panel 项目的主仓库

About

1Panel 在线文档

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •