diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-02 14:42:22 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-02 17:02:34 -0800 |
| commit | 4f1029f8f4c582d1f04632b0c50f4c374284fa16 (patch) | |
| tree | 99a37b1e70b9933ba6fa514f83fd74459d45136b | |
| parent | fc0abbdf71700b2414ba012f9863f7dfaf514b91 (diff) | |
| download | nng-4f1029f8f4c582d1f04632b0c50f4c374284fa16.tar.gz nng-4f1029f8f4c582d1f04632b0c50f4c374284fa16.tar.bz2 nng-4f1029f8f4c582d1f04632b0c50f4c374284fa16.zip | |
Add ToC for HTML output (left side).
| -rwxr-xr-x | docs/preview.sh | 2 | ||||
| -rwxr-xr-x | docs/publish.sh | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/preview.sh b/docs/preview.sh index db0dec77..7f52833e 100755 --- a/docs/preview.sh +++ b/docs/preview.sh @@ -76,7 +76,7 @@ generate_pdf() { generate_html() { typeset input=$1 typeset output=$2 - asciidoctor -aversion-label=${name} -arevnumber=${version} \ + asciidoctor -atoc=left -aversion-label=${name} -arevnumber=${version} \ -aicons=font -asource-highlighter=pygments \ -b html5 -o ${output} $input } diff --git a/docs/publish.sh b/docs/publish.sh index 5a3fea95..61c13248 100755 --- a/docs/publish.sh +++ b/docs/publish.sh @@ -78,6 +78,7 @@ EOF -aversion-label=${name} \ -arevnumber=${vers} \ -askip-front-matter \ + -atoc=left \ -asource-highlighter=pygments \ -aicons=font \ -bhtml5 \ |
