From be5594b279e2edbc67776df9700ebc9e11712d8a Mon Sep 17 00:00:00 2001 From: Mateusz Wojczal Date: Tue, 28 Apr 2026 14:49:01 +0200 Subject: [PATCH] Fix Netlify publish dir to parent of base path `base: '/docs/'` makes VuePress emit assets and internal links under `/docs/...`. To serve them at `https:///docs/`, Netlify must publish the parent of the `dest` directory so the on-disk `docs/` subdirectory becomes the URL path. Publishing the dest itself made the files reachable at `/` while their internal `/docs/...` references 404'd. --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 239f5392e..f473180db 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] command = "npm run docs:build" - publish = "docs/.vuepress/dist/docs" + publish = "docs/.vuepress/dist" [build.environment] NODE_VERSION = "18"