Files
Xen-Orchestra-xen-orchestra…/docs/docusaurus.embed.config.ts
Florent BEAUCHAMP ada3cf745c feat(xo-server): serve doc from xo + add backup calculator (#10154)
* feat(xo-server): serve doc locally
* the doc is already distributed from the mono repo
* add a build phase to the global yanr build that build a doc with the
right prefix
* add a http mount doc => embed build

* doc(backups): add a space calculator
* estimate the space needed for backups
* compute the duration protected by immutability
2026-07-29 09:48:41 +02:00

17 lines
499 B
TypeScript

// Build variant for serving the docs *inside* xo-server under the `/docs` route.
//
// It only overrides baseUrl so every asset/link is resolved under `/docs/`
// (the public site keeps baseUrl `/`). trailingSlash stays false to match how
// the docs' relative links are authored.
//
// Rebuild with:
// yarn build:xo-server
//
// Then it is mounted in packages/xo-server/config.toml under [http.mounts].
import base from './docusaurus.config'
export default {
...base,
baseUrl: '/docs/',
}