[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

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