From a19ea34ce0926fb8ccd65cd4e8ad6a9b2dee9e83 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 19 Nov 2009 21:39:04 +0000 Subject: [PATCH] site: table of contents for user guide --- Makefile | 1 + website/hledger.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e9b403f85..09b68905d 100644 --- a/Makefile +++ b/Makefile @@ -206,6 +206,7 @@ docs: web pdf api-docs # build the main hledger.org website web: for d in $(DOCFILES); do pandoc -s -H website/header.html -A website/footer.html -r rst $$d >website/$$d.html; done + for d in README; do pandoc --toc -s -H website/header.html -A website/footer.html -r rst $$d >website/$$d.html; done cd website; rm -f index.html; ln -s HOME.html index.html; rm -f profs; ln -s ../profs # ..from anywhere diff --git a/website/hledger.css b/website/hledger.css index a214024aa..537eddd3b 100644 --- a/website/hledger.css +++ b/website/hledger.css @@ -90,4 +90,5 @@ img { } .screenshot { border: 10px solid #F8F8F8; /* Soft grey border */ -} \ No newline at end of file +} +#toc { float:right; } \ No newline at end of file