Prepare the VitePress docs site for sub-path deployment at https://www.olares.com/docs (migrating from docs.olares.com at the domain root).
base is already driven by BASE_URL at build time; this PR fixes the few places that bypass VitePress base handling and updates the canonical sitemap host for the new URL.
docs/.vitepress/config.mts: sitemaphostname→https://www.olares.com/docs/docs/use-cases/stable-diffusion.md&docs/zh/use-cases/stable-diffusion.md: replace raw<img src="/images/...">in HTML tables with:src="withBase('/images/...')"so images work whenBASE_URL=/docs/(VitePress does not rewrite bare HTML absolute paths)
Built by release-docs with:
BASE_URL=/docs/ npm run buildPaired with release-docs path_prefix=/docs and outer nginx preserving /docs (no trailing slash on proxy_pass).
-
BASE_URL=/docs/ npm run buildindocs/succeeds - Built HTML references assets as
/docs/assets/*(not/assets/*) - Stable Diffusion gallery images load at
/docs/use-cases/stable-diffusion -
sitemap.xmlURLs usehttps://www.olares.com/docs/...
beclab/release-docsPR:feat/docs-subpath(build script + docker image layout)