Skip to content

Commit

Permalink
[Docs] Fix readthedocs config lint (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzr1996 authored Jul 31, 2021
1 parent e8822eb commit df5cec3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ def get_version():
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}
Expand All @@ -95,6 +96,7 @@ def get_version():
''',
}


def builder_inited_handler(app):
subprocess.run(['./stat.py'])

Expand Down

0 comments on commit df5cec3

Please sign in to comment.