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 \
|
||||
--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
|
||||
|
||||
Reference in New Issue
Block a user