From 4beeeab7d8bfa4c31d4781c663c83f7deacde688 Mon Sep 17 00:00:00 2001 From: Chad von Nau Date: Mon, 12 Feb 2018 09:29:25 -0800 Subject: [PATCH] Add title and table of contents to index page - https://kapeli.com/docsets#tableofcontents --- generator.py | 4 ++-- static/Info.plist | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/generator.py b/generator.py index 67d8a46..c565210 100755 --- a/generator.py +++ b/generator.py @@ -73,10 +73,10 @@ # Generate tldr pages index.html with open(os.path.join(doc_path, "index.html"), "w+") as html: - html.write('

TLDR pages Docset


powered by tldr-pages.github.io/') + html.write('TLDR pages

TLDR pages


powered by tldr-pages.github.io/') for dir in sorted(os.listdir(doc_path)): if os.path.isdir(os.path.join(doc_path, dir)): - html.write("

%s