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