Amended the documentation tasks in the Makefile to use the DOCC_CATALOG_PATH variable.
This commit is contained in:
@@ -42,6 +42,7 @@ doc-generate-github: ## Generates the library documentation for Github
|
|||||||
@swift package \
|
@swift package \
|
||||||
--allow-writing-to-directory $(DOCC_GITHUB_OUTPUT) \
|
--allow-writing-to-directory $(DOCC_GITHUB_OUTPUT) \
|
||||||
generate-documentation \
|
generate-documentation \
|
||||||
|
$(DOCC_CATALOG_PATH) \
|
||||||
--target $(SPM_LIBRARY_TARGET) \
|
--target $(SPM_LIBRARY_TARGET) \
|
||||||
--disable-indexing \
|
--disable-indexing \
|
||||||
--transform-for-static-hosting \
|
--transform-for-static-hosting \
|
||||||
@@ -52,6 +53,7 @@ doc-generate-xcode: ## Generates the library documentation for Xcode
|
|||||||
@swift package \
|
@swift package \
|
||||||
--allow-writing-to-directory $(DOCC_XCODE_OUTPUT) \
|
--allow-writing-to-directory $(DOCC_XCODE_OUTPUT) \
|
||||||
generate-documentation \
|
generate-documentation \
|
||||||
|
$(DOCC_CATALOG_PATH) \
|
||||||
--target $(SPM_LIBRARY_TARGET) \
|
--target $(SPM_LIBRARY_TARGET) \
|
||||||
--output-path $(DOCC_XCODE_OUTPUT)
|
--output-path $(DOCC_XCODE_OUTPUT)
|
||||||
|
|
||||||
@@ -60,6 +62,7 @@ doc-preview: ## Previews the library documentation in Safari
|
|||||||
@swift package \
|
@swift package \
|
||||||
--disable-sandbox \
|
--disable-sandbox \
|
||||||
preview-documentation \
|
preview-documentation \
|
||||||
|
$(DOCC_CATALOG_PATH) \
|
||||||
--target $(SPM_LIBRARY_TARGET)
|
--target $(SPM_LIBRARY_TARGET)
|
||||||
|
|
||||||
# IDE
|
# IDE
|
||||||
|
|||||||
Reference in New Issue
Block a user