This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 工作中的技能经验总结 | ||
|
||
> 采用 sphinx 和 Markdown 构建 ReadTheDocs 文档 | ||
## 传统 rst 语法构建 | ||
|
||
[使用 ReadtheDocs 托管技术文档](https://www.jianshu.com/p/8aae1c1453ae) | ||
|
||
## 采用 Markdown 语法 | ||
|
||
[recommonmark](https://github.com/readthedocs/recommonmark) | ||
|
||
注意 `Sphinx` 版本 | ||
|
||
``` | ||
# for Sphinx-1.4 or newer | ||
extensions = ['recommonmark'] | ||
# for Sphinx-1.3 | ||
from recommonmark.parser import CommonMarkParser | ||
source_parsers = { | ||
'.md': CommonMarkParser, | ||
} | ||
source_suffix = ['.rst', '.md'] | ||
``` |
This file was deleted.
Oops, something went wrong.