summaryrefslogtreecommitdiff
path: root/scripts/asciidoc2html.py
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-12-15 19:08:15 +0100
committerFlorian Bruhin <git@the-compiler.org>2017-12-15 19:16:55 +0100
commite65c0dd8a7ed5c1955361ff8336036422b954d3f (patch)
tree7de209641292e43d36bb40aba7fde814392af815 /scripts/asciidoc2html.py
parent93cd200bb71f53d4dbbba14a239bf01776bf850e (diff)
downloadqutebrowser-e65c0dd8a7ed5c1955361ff8336036422b954d3f.tar.gz
qutebrowser-e65c0dd8a7ed5c1955361ff8336036422b954d3f.zip
pylint: Re-enable bad-continuation
And lots and lots of whitespace changes.
Diffstat (limited to 'scripts/asciidoc2html.py')
-rwxr-xr-xscripts/asciidoc2html.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py
index dbd4b7679..dce1f27bd 100755
--- a/scripts/asciidoc2html.py
+++ b/scripts/asciidoc2html.py
@@ -86,9 +86,9 @@ class AsciiDoc:
# patch image links to use local copy
replacements = [
("https://qutebrowser.org/img/cheatsheet-big.png",
- "qute://help/img/cheatsheet-big.png"),
+ "qute://help/img/cheatsheet-big.png"),
("https://qutebrowser.org/img/cheatsheet-small.png",
- "qute://help/img/cheatsheet-small.png")
+ "qute://help/img/cheatsheet-small.png")
]
asciidoc_args = ['-a', 'source-highlighter=pygments']
@@ -211,9 +211,8 @@ class AsciiDoc:
shutil.copytree(src, full_dest)
for dst, link_name in [
- ('README.html', 'index.html'),
- (os.path.join('doc', 'quickstart.html'), 'quickstart.html'),
- ]:
+ ('README.html', 'index.html'),
+ (os.path.join('doc', 'quickstart.html'), 'quickstart.html')]:
try:
os.symlink(dst, os.path.join(outdir, link_name))
except FileExistsError: