2
필자는 필자의 'linux'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로 인코딩되어 있습니다. 그리고 그것은 로컬에서 작동합니다 (창).
이것은 내 modules/booking.rst입니다. 그리고 in this directory are my booking-module-files.
도움이 정말 감사합니다!
글쎄, 이건 미친 짓이야. 모든 파일에 encoding = utf-8을 추가했는데 이제는 작동합니다. 이 파일들조차도 utf8만의 문자가 없었습니다. 그렇지만. 고맙습니다! – tjati