Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
docs: modify README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoz committed Sep 17, 2020
1 parent 5fbe4a5 commit ae523ab
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
27 changes: 27 additions & 0 deletions README.md
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']
```
7 changes: 0 additions & 7 deletions README.rst

This file was deleted.

0 comments on commit ae523ab

Please sign in to comment.