@@ -249,8 +249,12 @@ void DirDefImpl::writeDetailedDescription(OutputList &ol,const QCString &title)
249249 // repeat brief description
250250 if (!briefDescription ().isEmpty () && Config_getBool (REPEAT_BRIEF))
251251 {
252- ol.generateDoc (briefFile (),briefLine (),this ,nullptr ,briefDescription (),FALSE ,FALSE ,
253- QCString (),FALSE ,FALSE );
252+ ol.generateDoc (briefFile (),
253+ briefLine (),
254+ this ,
255+ nullptr ,
256+ briefDescription (),
257+ DocOptions ());
254258 }
255259 // separator between brief and details
256260 if (!briefDescription ().isEmpty () && Config_getBool (REPEAT_BRIEF) &&
@@ -269,8 +273,13 @@ void DirDefImpl::writeDetailedDescription(OutputList &ol,const QCString &title)
269273 // write documentation
270274 if (!documentation ().isEmpty ())
271275 {
272- ol.generateDoc (docFile (),docLine (),this ,nullptr ,documentation ()+" \n " ,TRUE ,FALSE ,
273- QCString (),FALSE ,FALSE );
276+ ol.generateDoc (docFile (),
277+ docLine (),
278+ this ,
279+ nullptr ,
280+ documentation ()+" \n " ,
281+ DocOptions ().
282+ setIndexWords (true ));
274283 }
275284 }
276285}
@@ -281,9 +290,15 @@ void DirDefImpl::writeBriefDescription(OutputList &ol)
281290 if (hasBriefDescription ())
282291 {
283292 auto parser { createDocParser () };
284- auto ast { validatingParseDoc (
285- *parser.get (), briefFile (),briefLine (),this ,nullptr ,briefDescription (),TRUE ,FALSE ,
286- QCString (),FALSE ,FALSE ) };
293+ auto ast { validatingParseDoc (*parser.get (),
294+ briefFile (),
295+ briefLine (),
296+ this ,
297+ nullptr ,
298+ briefDescription (),
299+ DocOptions ().
300+ setIndexWords (true ))
301+ };
287302 if (!ast->isEmpty ())
288303 {
289304 ol.startParagraph ();
@@ -382,13 +397,14 @@ void DirDefImpl::writeSubDirList(OutputList &ol)
382397 if (!dd->briefDescription ().isEmpty () && Config_getBool (BRIEF_MEMBER_DESC))
383398 {
384399 ol.startMemberDescription (dd->getOutputFileBase ());
385- ol.generateDoc (briefFile (),briefLine (),dd,nullptr ,dd->briefDescription (),
386- FALSE , // indexWords
387- FALSE , // isExample
388- QCString (), // exampleName
389- TRUE , // single line
390- TRUE // link from index
391- );
400+ ol.generateDoc (briefFile (),
401+ briefLine (),
402+ dd,
403+ nullptr ,
404+ dd->briefDescription (),
405+ DocOptions ().
406+ setSingleLine (true ).
407+ setLinkFromIndex (true ));
392408 ol.endMemberDescription ();
393409 }
394410 ol.endMemberDeclaration (dd->anchor (),QCString ());
@@ -467,13 +483,14 @@ void DirDefImpl::writeFileList(OutputList &ol)
467483 if (!fd->briefDescription ().isEmpty () && Config_getBool (BRIEF_MEMBER_DESC))
468484 {
469485 ol.startMemberDescription (fd->getOutputFileBase ());
470- ol.generateDoc (briefFile (),briefLine (),fd,nullptr ,fd->briefDescription (),
471- FALSE , // indexWords
472- FALSE , // isExample
473- QCString (), // exampleName
474- TRUE , // single line
475- TRUE // link from index
476- );
486+ ol.generateDoc (briefFile (),
487+ briefLine (),
488+ fd,
489+ nullptr ,
490+ fd->briefDescription (),
491+ DocOptions ().
492+ setSingleLine (true ).
493+ setLinkFromIndex (true ));
477494 ol.endMemberDescription ();
478495 }
479496 ol.endMemberDeclaration (fd->anchor (),QCString ());
0 commit comments