Skip to content

SiteManifestOptions

Defined in: src/site/manifest.ts:76

Options for defineSiteManifest.

Property Type Description Defined in
base string Default base path ("/xtandard-flags"); overridden by SITE_BASE. src/site/manifest.ts:92
branch? string Default branch; "main". src/site/manifest.ts:88
env? Record<string, string | undefined> Environment to read SITE_ORIGIN/SITE_BASE from; process.env by default. src/site/manifest.ts:102
home? SitePage The home page; { slug: "", site: "index.mdx" } by default. src/site/manifest.ts:94
ignoreDocs? (path) => boolean docs/ Markdown files that are not guides (skipped by the “every guide is a page” check). src/site/manifest.ts:98
origin? string Default site origin; overridden by SITE_ORIGIN. https://me.xantiagoma.com by default. src/site/manifest.ts:90
packageName string The npm package name (@xtandard/flags). src/site/manifest.ts:84
publicAssets? string[] docs/assets/ files served at the site root; favicons and the social card by default. src/site/manifest.ts:100
repoRoot string Absolute path of the repository root. src/site/manifest.ts:78
repoSlug string owner/repo on GitHub. src/site/manifest.ts:82
rootModule? string The API module name of the package root (its @module tag); the unscoped name by default. src/site/manifest.ts:86
sidebar SiteItem[] The sidebar tree, pending pages included. src/site/manifest.ts:96
siteDir? string Absolute path of the site directory; <repoRoot>/site by default. src/site/manifest.ts:80