From 89bdb7759cc08c6fc7f55c020effb6ade3dceb5b Mon Sep 17 00:00:00 2001 From: Christopher Jr Riley Date: Sun, 9 Jun 2024 02:42:26 -0400 Subject: [PATCH] Update Makefile Added --checkout-path and the CHECKOUT_PATH environment variable to let DocC generate the documentation links to the path. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 665ea721f0..82a84a8c8c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ DOCC_TARGET = ATProtoKit DOCC_DIR = ./docs +CHECKOUT_PATH ?= $(shell pwd) .PHONY: docc docc: @@ -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)