summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.py b/build.py
index 4386aca..1cc8fa4 100755
--- a/build.py
+++ b/build.py
@@ -110,11 +110,11 @@ with open('target/index.html', 'w') as f:
f.write(h.read())
# TODO: sort by T-lang and T-lib
- f.write('<h2>Unstable features</h2>')
+ f.write('<h2 id=unstable>Unstable features</h2>')
write_features(f, unstable_features)
for version, data in reversed(list(versions.items())):
- f.write('<h2>{}</h2>'.format(version))
+ f.write('<h2 id={0}>{0}</h2>'.format(version))
if 'features' in data:
write_features(f, data['features'])