helpers: add --initial-header-level=2 to rst2html (#3528)
authorFrank Braun <frank@cryptogroup.net>
Tue, 27 Jun 2017 10:26:33 +0000 (10:26 +0000)
committerAnthony Fok <foka@debian.org>
Tue, 27 Jun 2017 10:26:33 +0000 (04:26 -0600)
commitbfce30d85972c27c27e8a2caac9db6315f813298
tree837c8ad257ab396d15566e8bfe3722f473eec09c
parent30e14cc31678ddc204b082ab362f86b6b8063881
helpers: add --initial-header-level=2 to rst2html (#3528)

reStructuredText doesn't have explicit section levels but sets them in
the order of appearance. Since level 1 is already set from the title in
the front matter it makes more sense to start with level 2 when
converting with rst2html.
helpers/content.go