Skip to content

Commit 3e8e0cc

Browse files
authored
Use pony-doc for doc generation (#28)
pony-doc is a dedicated documentation tool that defaults to public-only output, replacing ponyc's --docs-public --pass=docs.
1 parent b1ad398 commit 3e8e0cc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ PACKAGE := ssl
44
GET_DEPENDENCIES_WITH := corral fetch
55
CLEAN_DEPENDENCIES_WITH := corral clean
66
COMPILE_WITH := corral run -- ponyc
7+
BUILD_DOCS_WITH := corral run -- pony-doc
78

89
BUILD_DIR ?= build/$(config)
910
SRC_DIR ?= $(PACKAGE)
@@ -56,7 +57,7 @@ clean:
5657
$(docs_dir): $(GEN_FILES) $(SOURCE_FILES)
5758
rm -rf $(docs_dir)
5859
${GET_DEPENDENCIES_WITH}
59-
${PONYC} --docs-public --pass=docs --output build $(SRC_DIR)
60+
${BUILD_DOCS_WITH} --output build $(SRC_DIR)
6061

6162
docs: $(docs_dir)
6263

0 commit comments

Comments
 (0)