This commit is contained in:
Florian Bruhin 2014-09-22 20:11:28 +02:00
parent 688b9a57cb
commit 660b05899c
2 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,7 @@ def call_asciidoc(src, dst):
def main(colors=False):
"""Generate html files for the online documentation."""
utils.use_color = colors
asciidoc_files = [
('doc/FAQ.asciidoc', 'qutebrowser/html/doc/FAQ.html'),

View File

@ -1,4 +1,5 @@
#!/usr/bin/python3 # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
#!/usr/bin/python3
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2014 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
@ -48,6 +49,7 @@ term_attributes = {
def _esc(code):
"""Get an ANSII color code based on a color number."""
return '\033[{}m'.format(code)