Skip to content

Commit 6af85ac

Browse files
evil159github-actions[bot]
authored andcommitted
Fix missing MapboxCoreMaps extension docs in generated documentation (#10901)
GitOrigin-RevId: 550f69f9a52365567d3e735aea340ab8dd447094
1 parent e1f81e9 commit 6af85ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/doc-generation/xcode-rebuild-docc.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ generateSymbolGraphs() {
8181

8282
# Exporting symbol graphs for MapboxMaps
8383
$SYMBOLGRAPH_TOOL -module-name "MapboxMaps" -output-dir "$SWIFTEXTRACT_OUTPUT_DIR" -F "$TARGET_BUILD_DIR"
84+
85+
# Rename MapboxCoreMaps to MapboxMaps in the extension symbol graph so docc
86+
# correctly associates extensions with the renamed module.
87+
mv "$SWIFTEXTRACT_OUTPUT_DIR/[email protected]" "$SWIFTEXTRACT_OUTPUT_DIR/[email protected]"
8488
}
8589

8690
# Generate a dependency file to support incremental builds

0 commit comments

Comments
 (0)