diff --git a/INSTALL.asciidoc b/INSTALL.asciidoc index 651082bee..aaff04162 100644 --- a/INSTALL.asciidoc +++ b/INSTALL.asciidoc @@ -1,6 +1,8 @@ Installing qutebrowser ====================== +toc::[] + On Debian / Ubuntu ------------------ diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py index cfdc1b8d5..39695bd23 100755 --- a/scripts/asciidoc2html.py +++ b/scripts/asciidoc2html.py @@ -184,7 +184,8 @@ class AsciiDoc: with open(modified_src, 'w+', encoding='utf-8') as final_version: final_version.write(title + "\n\n" + header + current_lines) - self.call(modified_src, dst, '--theme=qute') + asciidoc_args = ['--theme=qute', '-a toc', '-a toc-placement=manual'] + self.call(modified_src, dst, *asciidoc_args) def _build_website(self): """Prepare and build the website.""" diff --git a/www/header.asciidoc b/www/header.asciidoc index dc80a5d00..b463de7d2 100644 --- a/www/header.asciidoc +++ b/www/header.asciidoc @@ -2,7 +2,7 @@