Override xanadoc titles.

This commit is contained in:
Edward Betts 2018-12-08 17:17:20 +00:00
parent ba9adc4b26
commit 20edacc985
2 changed files with 9 additions and 6 deletions

View file

@ -52,11 +52,14 @@ var docs = {{ docs | tojson }};
var link_count = {{ link_count | tojson }};
$(function() {
size_svg();
$(window).resize(size_svg);
reset(); // clear all documents and bridges
size_svg();
$(window).resize(size_svg);
reset(); // clear all documents and bridges
headings = ["FORENOTE TO KINBOTE'S COMMENTARY",
'Canto One',
"CHARLES KINBOTE'S NOTES"];
docs.forEach((doc, index) => {
fulfil(doc, index, docs.length);
fulfil(doc, index, docs.length, headings[index]);
});
create_bridges(link_count);
add_handlers();