Invalid (X)HTMLsequence

In packages.html we get:
`Element style is not declared in p list of possible children`
as the `style` tag is only allowed in the `head` part of a file.

The specific changes are only needed for this one file, so it has been implemented using the post processing facility of te CGAL documentation generation.
This commit is contained in:
albert-github 2019-02-28 18:18:01 +01:00
parent 5fae279ca0
commit b90115d3f2
2 changed files with 5 additions and 9 deletions

View File

@ -2,15 +2,6 @@
\page packages Package Overview \page packages Package Overview
\htmlonly
<style type="text/css">
h1 {
font-size: 150%;
background-color: #EEEDF2;
}
</style>
\endhtmlonly
\section PartAlgebraicFoundations Arithmetic and Algebra \section PartAlgebraicFoundations Arithmetic and Algebra
\package_listing{Algebraic_foundations} \package_listing{Algebraic_foundations}

View File

@ -328,6 +328,11 @@ removes some unneeded files, and performs minor repair on some glitches.''')
re_replace_in_file('\[external\]', '', os.path.join('Manual','annotated.html')) re_replace_in_file('\[external\]', '', os.path.join('Manual','annotated.html'))
# replace h1 tag with some special style properties
re_replace_in_file("<h1>", "<h1 style=\"font-size: 150%; background-color: #EEEDF2;\">",
os.path.join('Manual','packages.html') )
# fix class/concept mismatch in generated pages # fix class/concept mismatch in generated pages
relationship_pages=list(package_glob('./*/hasModels.html')) relationship_pages=list(package_glob('./*/hasModels.html'))
relationship_pages.extend(package_glob('./*/generalizes.html')) relationship_pages.extend(package_glob('./*/generalizes.html'))