【CentOS-7.4】Sphinx + ReadTheDocs
【目标】
在不使用自己的服务器的情况下,将文章通过 Github 等代码托管平台,发布到 ReadTheDocs 文档托管平台上。
ReadTheDocs
文档托管的平台,能够和常用的 GIT 阵营的 github,HG 阵营的 Bitbucket。
Github
代码托管
Sphinx
文档书写利器,使用的是 reStructuredText 格式
方法一:sphinx,github/gitlab,readthedocs
方法二:sphinx,gitee,readthedocs
方法三:sphinx,自搭建 gitlab,自建 readthedocs
【方法一】sphinx,github/gitlab,readthedocs
【方法二】sphinx,gitee,自建 readthedocs
步骤一:注册账号
码云官网地址:https://gitee.com/
步骤二:
在码云创建一个 repo 存放 Sphinx,【New repository】Sphinx_ReadTheDocs
步骤三:
安装 Sphinx
# 安装 python3
yum install python3