【发布时间】:2014-03-31 12:25:02
【问题描述】:
我开始为我的 lil' python/django 项目编写文档。
发生这种情况:
Running Sphinx v1.2
loading translations [en]... done
building [readthedocs]: targets for 18 source files that are out of date
updating environment: 18 added, 0 changed, 0 removed
reading sources... [ 5%] administrator-guide/customizing
reading sources... [ 11%] administrator-guide/index
reading sources... [ 16%] developer-guide/index
reading sources... [ 22%] index
reading sources... [ 27%] modules/booking
Sphinx Standard Error
Sphinx error:
'ascii' codec can't decode byte 0xef in position 475: ordinal not in range(128)
我明白,这是一个编码问题。
但是:我所有的文件都是用 UTF-8 编码的。并且它可以在本地(Windows)工作。
这是我的modules/booking.rst。还有in this directory are my booking-module-files。
非常感谢任何帮助!
【问题讨论】:
标签: python python-sphinx