Sphinx使用md文档构建失败

​使用 sphinx 构建文档,有时候已经放置好了文档却无法读入生成。

解决方案

在环境中下载安装好相应的库:

python 复制代码
pip install sphinx_markdown_tables
python 复制代码
pip install m2r

打开生成的 source目录下的 conf.py,文件,在文件中加入:

python 复制代码
extensions = ['sphinx_markdown_tables', 'm2r']

source_suffix = [".rst", ".md"]

之后使用指令 make cleanmake html 生成文档

相关推荐
2601_961875241 天前
法考资料电子版|pdf|资料已整理
elasticsearch·搜索引擎·pdf·全文检索·solr·lucene·sphinx
2601_961845421 天前
考研公共课资料推荐|英语数学政治|电子版|资料已整理
搜索引擎·中文分词·solr·lucene·sphinx·高考
2601_961845424 天前
高考真题下载|2025高考全科真题网盘分类整理
搜索引擎·中文分词·solr·lucene·sphinx·高考
本地化文档5 天前
black-docs-l10n
python·github·gitcode·sphinx
本地化文档9 天前
psycopg3-docs-l10n
数据库·python·postgresql·github·gitcode·sphinx
本地化文档12 天前
sphinxcontrib-rust-docs-l10n
python·rust·github·gitcode·sphinx
CoderIsArt3 个月前
Sphinx
搜索引擎·全文检索·sphinx
UhMITKJvJkro4 个月前
LLC谐振变换器变频移相(PFM + PSM)混合控制仿真探秘
sphinx
MC皮蛋侠客5 个月前
部署 Sphinx 文档到 GitHub Pages 详细指南
github·全文检索·sphinx
MC皮蛋侠客5 个月前
使用 Sphinx 构建高质量 Python 文档
python·全文检索·sphinx