SiteManifest
Defined in: src/site/manifest.ts:106
A resolved site manifest.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
branch |
string |
- | src/site/manifest.ts:114 |
home |
SitePage |
- | src/site/manifest.ts:119 |
ignoreDocs |
(path) => boolean |
- | src/site/manifest.ts:123 |
npmUrl |
string |
- | src/site/manifest.ts:111 |
packageName |
string |
- | src/site/manifest.ts:112 |
publicAssets |
string[] |
- | src/site/manifest.ts:122 |
repoRoot |
string |
- | src/site/manifest.ts:107 |
repoSlug |
string |
- | src/site/manifest.ts:109 |
repoUrl |
string |
- | src/site/manifest.ts:110 |
rootModule |
string |
- | src/site/manifest.ts:113 |
sidebar |
SiteItem[] |
The sidebar tree without the pending guides that have not landed yet. | src/site/manifest.ts:121 |
siteBase |
string |
No trailing slash. | src/site/manifest.ts:118 |
siteDir |
string |
- | src/site/manifest.ts:108 |
siteOrigin |
string |
Always https:// (configure-pages reports a custom domain as http://). |
src/site/manifest.ts:116 |
Methods
Section titled “Methods”apiEntries()
Section titled “apiEntries()”apiEntries(): ApiEntry[];Defined in: src/site/manifest.ts:129
Every public entry point, in package.json exports order.
Returns
Section titled “Returns”ApiEntry[]
pages()
Section titled “pages()”pages(): SitePage[];Defined in: src/site/manifest.ts:125
Every page, the home page first (pending guides only once they exist).
Returns
Section titled “Returns”SitePage[]
pendingPages()
Section titled “pendingPages()”pendingPages(): SitePage[];Defined in: src/site/manifest.ts:127
Pending guides whose source does not exist yet.
Returns
Section titled “Returns”SitePage[]