diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c302dc17..3f5b1fefa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: run: npm ci - name: Build docs - run: mkdocs build --strict + run: npm run build - name: Test run: npm test diff --git a/package.json b/package.json index c6a0511d8..0ba2dd00c 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,12 @@ }, "homepage": "https://docs.pi-hole.net/", "scripts": { - "build": "mkdocs build --clean", + "build": "mkdocs build --clean --strict", "markdownlint": "markdownlint-cli2 \"**/*.md\" \"!**/node_modules/**\"", - "linkinator": "npm run build && linkinator site --recurse --silent --skip \"^(?!http://localhost)\"", + "linkinator": "linkinator site --recurse --silent --skip \"^(?!http://localhost)\"", "test": "npm run markdownlint && npm run linkinator", - "serve": "mkdocs serve --dev-addr 0.0.0.0:8000" + "serve": "mkdocs serve --dev-addr 0.0.0.0:8000", + "start": "npm run serve" }, "devDependencies": { "linkinator": "^6.1.2",