[Docs] Fix readthedocs config lint (#384)

pull/390/head
Ma Zerun 2021-07-31 16:20:42 +08:00 committed by GitHub
parent e8822ebaec
commit df5cec3e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -75,9 +75,10 @@ html_theme = 'sphinx_rtd_theme'
master_doc = 'index'
latex_elements = {
# Additional stuff for the LaTeX preamble.
#'preamble': '',
'preamble': r'''
# Additional stuff for the LaTeX preamble.
# 'preamble': '',
'preamble':
r'''
\hypersetup{unicode=true}
\usepackage{CJKutf8}
\DeclareUnicodeCharacter{00A0}{\nobreakspace}
@ -95,6 +96,7 @@ latex_elements = {
''',
}
def builder_inited_handler(app):
subprocess.run(['./stat.py'])