% arara: pdflatex
% arara: bib2gls
% arara: pdflatex
\documentclass{article}

\usepackage{lipsum}
\usepackage[record,nostyles,stylemods={tree,topic},style=topic]{glossaries-extra}

\begin{filecontents}{\jobname.bib}
@entry{sampleparent,
   name={Sample Topic},
   description={Sample description.}
}
@entry{samplechild,
   name={Example},
   parent={sampleparent},
   description={\lipsum}
}
\end{filecontents}

\GlsXtrLoadResources[selection=all,set-widest]

\begin{document}
\printunsrtglossaries
\end{document}
