From 1677d93ae91f880b437bc65cfac85326488a4c67 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 19 Jan 2023 18:00:56 +0000 Subject: [PATCH] chore: Fix make gen for docs/manifest.json --- Makefile | 5 ++--- docs/manifest.json | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index de060356328f8..4abf12be4b12d 100644 --- a/Makefile +++ b/Makefile @@ -490,10 +490,9 @@ docs/admin/prometheus.md: scripts/metricsdocgen/main.go scripts/metricsdocgen/me cd site yarn run format:write:only ../docs/admin/prometheus.md -coderd/apidoc/swagger.json: $(shell find ./scripts/apidocgen -not \( -path './scripts/apidocgen/node_modules' -prune \) -type f) $(wildcard coderd/*.go) $(wildcard enterprise/coderd/*.go) $(wildcard codersdk/*.go) .swaggo +coderd/apidoc/swagger.json: $(shell find ./scripts/apidocgen $(FIND_EXCLUSIONS) -type f) $(wildcard coderd/*.go) $(wildcard enterprise/coderd/*.go) $(wildcard codersdk/*.go) .swaggo docs/manifest.json ./scripts/apidocgen/generate.sh - cd site - yarn run format:write:only ../docs/api ../docs/manifest.json ../coderd/apidoc/swagger.json + yarn run --cwd=site format:write:only ../docs/api ../docs/manifest.json ../coderd/apidoc/swagger.json update-golden-files: cli/testdata/.gen-golden .PHONY: update-golden-files diff --git a/docs/manifest.json b/docs/manifest.json index 0a50bde3903d8..af5010f89a2c5 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -251,8 +251,8 @@ { "title": "Scaling Coder", "description": "Reference architecture and load testing tools", - "icon_path": "./images/icons/scale.svg", - "path": "./admin/scale.md" + "path": "./admin/scale.md", + "icon_path": "./images/icons/scale.svg" }, { "title": "Audit Logs",