doc postprocessing bug fix: update <title></title> of concept classes

This commit is contained in:
Sébastien Loriot 2014-02-27 08:05:32 +01:00
parent 4300adcfb0
commit 553547c8eb
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ def conceptify(d):
# fix the title
title = d(".title")
title.html(re.sub("((Class)|(Struct))( Template)? Reference", "Concept Reference", title.html()))
title = d("title")
title.html(re.sub("((Class)|(Struct))( Template)? Reference", "Concept Reference", title.html()))
# remove the include
include_statement = d(".contents").children().eq(0)
# should check that this is really the div we think it is