aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/qdoc_spawner.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/doc/qdoc_spawner.py.in')
-rw-r--r--sources/pyside6/doc/qdoc_spawner.py.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/pyside6/doc/qdoc_spawner.py.in b/sources/pyside6/doc/qdoc_spawner.py.in
index 0223e50ee..d9d434366 100644
--- a/sources/pyside6/doc/qdoc_spawner.py.in
+++ b/sources/pyside6/doc/qdoc_spawner.py.in
@@ -80,6 +80,12 @@ if __name__ == "__main__":
parser.add_argument("--verbose", dest="verbose", action="store_true", default=False)
args = parser.parse_args()
+
+ core_index = Path(args.doc_data_dir) / "webxml" / "qtcore-index.webxml"
+ if core_index.is_file():
+ print(f"qdoc_spawner: {core_index} already exists, bailing out")
+ sys.exit(0)
+
files_prepare, files_single_exec = get_qdocconf_files()
parallel = args.parallel