aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2012-04-16 11:54:35 +0200
committerElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2012-04-16 11:54:35 +0200
commit81f0b9f657e4a6ee52ace21c59c9115760e84b0a (patch)
treedc7f18150fefa6a74f0229170f4a33cd51c54b90
parenta7c3c201da2eee54c0950c4aa0d347e4af608ade (diff)
build.py: usa H2 per il primo livello di header in html
-rw-r--r--build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.py b/build.py
index 6fed879..ec80be1 100644
--- a/build.py
+++ b/build.py
@@ -16,7 +16,8 @@ def build_html(srcdir,destdir):
if ext == '.rst':
publish_file(source_path=os.path.join(srcdir,fname),
destination_path=os.path.join(destdir,basename+'.html'),
- writer_name="html")
+ writer_name="html",
+ settings_overrides={'initial_header_level':'2'})
else:
shutil.copy(os.path.join(srcdir,fname),os.path.join(destdir,fname))