We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a8b6d commit 3530c61Copy full SHA for 3530c61
Makefile
@@ -804,7 +804,13 @@ check-format: format
804
# Documentation related commands
805
806
doc: ## Generates the config file documentation
807
+ifeq ($(BUILD_IN_CONTAINER),true)
808
+ $(SUDO) docker run $(RM) $(TTY) -i \
809
+ -v $(shell pwd):/src/loki$(MOUNT_FLAGS) \
810
+ $(IMAGE_PREFIX)/loki-build-image:$(BUILD_IMAGE_VERSION) $@;
811
+else
812
go run ./tools/doc-generator $(DOC_FLAGS_TEMPLATE) > $(DOC_FLAGS)
813
+endif
814
815
docs: doc
816
0 commit comments