diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-06-24 14:14:43 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-06-25 10:13:57 +0000 |
commit | 179a026e13baa056641b06a44cb29f165f938cd2 (patch) | |
tree | ecd8d7f54733358ceecfaba9aeb6a4b52f9ec570 /sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp | |
parent | ecff7d18b62d8168082dbf59498e4bf01233eb95 (diff) |
shiboken6/doc generator: Extract method to resolve links to QtXmlToSphinxDocGeneratorInterface
Extract the private struct LinkContext to a public struct
QtXmlToSphinxLink with debug operator and add a resolve method to
QtXmlToSphinxDocGeneratorInterface.
Task-number: PYSIDE-1112
Change-Id: I91b3bc45ebc530394a3e77c56b05dd5b740e8985
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 991cfb9376275e1ab259f0a9b95302bc56ba7127)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp')
-rw-r--r-- | sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp index d1de31cef..fd4716e0a 100644 --- a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp +++ b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp @@ -1140,3 +1140,8 @@ const QLoggingCategory &QtDocGenerator::loggingCategory() const { return lcShibokenDoc(); } + +QtXmlToSphinxLink QtDocGenerator::resolveLink(const QtXmlToSphinxLink &link) const +{ + return link; +} |