Skip to content

Commit 085c078

Browse files
authored
Use pony-doc for doc generation (#134)
pony-doc is a dedicated documentation tool that defaults to public-only output, replacing ponyc's --docs-public --pass=docs flags.
1 parent 78c7ca3 commit 085c078

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ PACKAGE := postgres
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
COVERAGE_DIR ?= build/coverage
@@ -70,7 +71,7 @@ clean:
7071
$(docs_dir): $(SOURCE_FILES)
7172
rm -rf $(docs_dir)
7273
$(GET_DEPENDENCIES_WITH)
73-
$(PONYC) --docs-public --pass=docs --output build $(SRC_DIR)
74+
$(BUILD_DOCS_WITH) --output build $(SRC_DIR)
7475

7576
docs: $(docs_dir)
7677

0 commit comments

Comments
 (0)