Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Added --checkout-path and the CHECKOUT_PATH
environment variable to let DocC generate the
documentation links to the path.
  • Loading branch information
MasterJ93 authored Jun 9, 2024
1 parent 45f03a0 commit 89bdb77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
DOCC_TARGET = ATProtoKit
DOCC_DIR = ./docs
CHECKOUT_PATH ?= $(shell pwd)

.PHONY: docc
docc:
Expand All @@ -8,6 +9,7 @@ docc:
--disable-indexing \
--source-service github \
--source-service-base-url https://github.com/MasterJ93/ATProtoKit/tree/main \
--checkout-path $(CHECKOUT_PATH) \
--include-extended-types \
--transform-for-static-hosting \
--output-path $(DOCC_DIR)
Expand Down

0 comments on commit 89bdb77

Please sign in to comment.