We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9adc3 commit 3af834cCopy full SHA for 3af834c
Makefile
@@ -1,9 +1,12 @@
1
GIT_BRANCH=`git rev-parse --abbrev-ref HEAD`
2
3
-.PHONY: all serve
+.PHONY: all serve help
4
5
-all:
+help: ## Show this help message
6
+ @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
7
+
8
+all: ## Build the documentation under build/<git branch>
9
hugo -d build/$(GIT_BRANCH)
10
-serve:
11
+serve: ## Host the documentation on port 1313
12
hugo serve
README.md
@@ -8,3 +8,7 @@ Style Guide](https://docs.mongodb.com/manual/meta/style-guide/).
## Installation Instructions
brew install hugo mmark
+## Building Instructions
13
14
+ make
0 commit comments