Site metadata
Configure the title, description, logo, favicon, repository, and CSS entrypoint.
titleis used in the navbar and browser titles.descriptionis the fallback description for pages without frontmatter.siteUrlenables canonical URLs in generated HTML.- A page can set
updatedAtin frontmatter to include an ISO date in the sitemap. - A page can set
noindex: truein frontmatter to emit anoindexrobots meta tag and exclude the page from the sitemap. seo.imageandseo.imageAltconfigure social preview metadata.seo.siteNameoptionally overrides the sitetitleused in social and structured metadata.seo.localeandseo.twitterCardconfigure social metadata defaults.faviconsets the favicon path or URL.contentDirselects the MDX directory. The default isdocs.csspoints to a consumer-owned CSS entrypoint.logo.imageis served from the consumer project's public assets.
Site UI translations
The default theme can load its static interface text from JSON files. Configure
the directory relative to the project root and the fallback locale through the
i18n plugin in your project's docs.config.ts:
The directory contains one JSON file per locale, such as locales/en.json and
locales/ka.json. Translation keys are validated against Folio's typed catalog;
unknown keys fail configuration loading instead of being silently ignored.
Missing keys fall back to the default locale. Translation files belong to the
consumer project; Folio does not ship a site-specific language catalog. The
default theme exposes the global locale selector in the navbar when multiple
locale catalogs are available and disables locales without a matching page
variant for the current page.
Repository source links
When repository is configured, the default theme adds a View source link
to each documentation page:
branch defaults to main. Set rootDir when the documentation project is
nested inside the repository, for example "apps/docs". The configured
contentDir is appended automatically. GitHub, GitLab, and Bitbucket URLs are
supported.
Pages in a different repository
repository.url also drives the GitHub button in the navbar, so it usually
points at the main project. When the documentation pages live in another
repository, add repository.source. The View source link is then built from
it, and the navbar button still uses repository.url:
source takes the same url, branch, and rootDir as repository. It does
not inherit branch or rootDir from repository: branch defaults to
main and rootDir to the repository root. Without source, the link is built
from repository as before. Folio checks source when it loads the
configuration and stops with an error when url is not an http(s) URL, branch
is empty, or rootDir leaves the repository.