Break a long line

This commit is contained in:
Victor Zverovich 2016-06-22 06:29:18 -07:00
parent aa1e6b0f75
commit d688072990

View File

@ -128,8 +128,8 @@ def update_site(env):
# Fix a broken link in index.rst.
index = os.path.join(target_doc_dir, 'index.rst')
with rewrite(index) as b:
b.data = b.data.replace('doc/latest/index.html#format-string-syntax',
'syntax.html')
b.data = b.data.replace(
'doc/latest/index.html#format-string-syntax', 'syntax.html')
# Build the docs.
html_dir = os.path.join(env.build_dir, 'html')
if os.path.exists(html_dir):