Skip to content

Commit fd0b568

Browse files
shiboken6/Documentation: Fix search context of class pages
Write out a (dummy) headline to fix the contexts. Fixes: PYSIDE-2689 Change-Id: Ia58c682b2cdd2c1d6c25708b3567e2d6632f6e1b Reviewed-by: Cristian Maureira-Fredes <[email protected]>
1 parent 3aef633 commit fd0b568

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ void QtDocGenerator::generateClass(TextStream &s, const QString &targetDir,
450450
const GeneratorContext &classContext,
451451
QList<GeneratorContext> *contexts)
452452
{
453+
// PYSIDE-2689: Write a (dummy) headline to fix the search contexts.
454+
s << headline(classContext.metaClass()->fullName(), '#');
453455
generateClassRecursion(s, targetDir, classContext, contexts);
454456
}
455457

0 commit comments

Comments
 (0)