Amended the documentation tasks in the Makefile to use the DOCC_CATALOG_PATH variable.

This commit is contained in:
2025-09-09 18:56:48 +02:00
parent 64033aff11
commit 1b40ea5244
+3
View File
@@ -42,6 +42,7 @@ doc-generate-github: ## Generates the library documentation for Github
@swift package \
--allow-writing-to-directory $(DOCC_GITHUB_OUTPUT) \
generate-documentation \
$(DOCC_CATALOG_PATH) \
--target $(SPM_LIBRARY_TARGET) \
--disable-indexing \
--transform-for-static-hosting \
@@ -52,6 +53,7 @@ doc-generate-xcode: ## Generates the library documentation for Xcode
@swift package \
--allow-writing-to-directory $(DOCC_XCODE_OUTPUT) \
generate-documentation \
$(DOCC_CATALOG_PATH) \
--target $(SPM_LIBRARY_TARGET) \
--output-path $(DOCC_XCODE_OUTPUT)
@@ -60,6 +62,7 @@ doc-preview: ## Previews the library documentation in Safari
@swift package \
--disable-sandbox \
preview-documentation \
$(DOCC_CATALOG_PATH) \
--target $(SPM_LIBRARY_TARGET)
# IDE