diff --git a/Makefile b/Makefile index 2c3d3672ef..c8f71c589b 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ endif # Note, all find statements should be written with `.` or `./path` as # the search path so that these exclusions match. FIND_EXCLUSIONS= \ - -not \( \( -path '*/.git/*' -o -path './build/*' -o -path './vendor/*' -o -path './.coderv2/*' -o -path '*/node_modules/*' -o -path './site/out/*' \) -prune \) + -not \( \( -path '*/.git/*' -o -path './build/*' -o -path './vendor/*' -o -path './.coderv2/*' -o -path '*/node_modules/*' -o -path './site/out/*' -o -path './coderd/apidoc/*' \) -prune \) # Source files used for make targets, evaluated on use. GO_SRC_FILES = $(shell find . $(FIND_EXCLUSIONS) -type f -name '*.go') # All the shell files in the repo, excluding ignored files. @@ -522,7 +522,7 @@ docs/admin/prometheus.md: scripts/metricsdocgen/main.go scripts/metricsdocgen/me cd site yarn run format:write:only ../docs/admin/prometheus.md -docs/cli.md: scripts/clidocgen/main.go $(GO_SRC_FILES) docs/manifest.json +docs/cli.md: scripts/clidocgen/main.go $(GO_SRC_FILES) BASE_PATH="." go run ./scripts/clidocgen cd site yarn run format:write:only ../docs/cli.md ../docs/cli/*.md ../docs/manifest.json diff --git a/site/package.json b/site/package.json index 1f1d3d7f01..09d41cba25 100644 --- a/site/package.json +++ b/site/package.json @@ -3,6 +3,7 @@ "description": "Coder V2 (Workspaces V2)", "repository": "https://github.com/coder/coder", "private": true, + "license": "AGPL-3.0", "scripts": { "postinstall": "yarn typegen", "build": "NODE_ENV=production yarn vite build",