Skip to main content

homepage

DEFAULT_HOMEPAGE_TEMPLATE

const DEFAULT_HOMEPAGE_TEMPLATE: "---\nid: schema\nslug: ##baseURL##\ntitle: Schema Documentation\nsidebar_position: 1\nhide_table_of_contents: true\npagination_next: null\npagination_prev: null\nsidebar_class_name: navbar__toggle\n---\n\nThis documentation has been automatically generated from the GraphQL schema with GraphQL-Markdown.\n";

Defined in: core/src/const/homepage.ts:15

Internal

The built-in homepage template, inlined.

The same content ships as assets/generated.md so anyone can point homepage at it, copy it, or diff against it. Inlining it here means the default path never touches the filesystem: rendering the homepage was the last filesystem read on the render path, and a write-only output adapter has no way to satisfy one.

assets/generated.md remains the canonical artifact. A unit test asserts the two are identical, so they cannot drift.