aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-04-21 10:33:06 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-04-21 15:13:53 +0200
commitadee6ff261780ad549f1e9d0f84f19c435259ae8 (patch)
tree14016caa74931e06f46673d3977e267a92b8e654 /sources/pyside6/doc/tutorials
parent14299e5f5c204227f1ddfccd37ff730ba3b50be3 (diff)
shiboken6: Refactor code snippet extraction
The support for doc snippets with '#' as used in CMakeLists and .pro files was only partially working; the search string did not match. Refactor the code to use only one regex that can match both and extracts the id. Add an error message for empty snippets as are produced by snippets_translate by occasionally repeating snippet ID lines. Add a test. Task-number: PYSIDE-1106 Pick-to: 6.5 Change-Id: I77d465ff52f78d6ad6286e83b5c05015e6ea0e46 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials')
0 files changed, 0 insertions, 0 deletions