nimbus-docs 0.0.3 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +31 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -3
- package/dist/client.js.map +1 -1
- package/dist/content.d.ts +36 -1
- package/dist/content.d.ts.map +1 -1
- package/dist/content.js +19 -2
- package/dist/content.js.map +1 -1
- package/dist/index.d.ts +289 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1103 -52
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +24 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +17 -2
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +118 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/components/NimbusHead.astro +81 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BadgeVariant, Breadcrumb, NimbusConfig, PrevNext, PrevNextLink, PrevNextOverrides, SearchProvider, SearchResult, SidebarBadge, SidebarConfig, SidebarConfigItem, SidebarExternalLinkItem, SidebarGroupItem, SidebarItem, SidebarLinkItem, SidebarSection, TOCItem } from "./types.js";
|
|
1
|
+
import { BadgeVariant, Breadcrumb, NimbusConfig, PrevNext, PrevNextLink, PrevNextOverrides, ResolvedVersions, SearchProvider, SearchResult, SidebarBadge, SidebarConfig, SidebarConfigItem, SidebarExternalLinkItem, SidebarGroupItem, SidebarItem, SidebarLinkItem, SidebarSection, TOCItem, VersionAlternateRecord, VersionAlternatesTable, VersionPageRef, VersionStatus, VersionsConfig } from "./types.js";
|
|
2
2
|
import mdx from "@astrojs/mdx";
|
|
3
3
|
import * as astro_content0 from "astro:content";
|
|
4
4
|
import { CollectionEntry } from "astro:content";
|
|
@@ -114,6 +114,79 @@ declare function defaultCodeTransformers(): ShikiTransformer[];
|
|
|
114
114
|
* Define a typed Nimbus config. Returns the config unchanged but inferred.
|
|
115
115
|
*/
|
|
116
116
|
declare function defineConfig<T extends NimbusConfig>(config: T): T;
|
|
117
|
+
interface IndexedEntry {
|
|
118
|
+
/** The Astro CollectionEntry, untyped at the union level. */
|
|
119
|
+
entry: astro_content0.CollectionEntry<string>;
|
|
120
|
+
/** Collection this entry belongs to (e.g. `"docs"`, `"blog"`). */
|
|
121
|
+
collection: string;
|
|
122
|
+
/** Display title — schema field if present, otherwise the entry id. */
|
|
123
|
+
title: string;
|
|
124
|
+
/** Description — undefined when the schema doesn't expose one or it's empty. */
|
|
125
|
+
description: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Page URL path under the site (no origin, no trailing slash unless
|
|
128
|
+
* empty). Computed via the convention that the **primary** docs
|
|
129
|
+
* collection mounts at the site root (e.g. `/getting-started`) while
|
|
130
|
+
* every other collection mounts under its name (`/api/payments/create`,
|
|
131
|
+
* `/blog/my-first-post`). Routes building `.md` alternates append
|
|
132
|
+
* `/index.md`; chrome building HTML links append a trailing slash.
|
|
133
|
+
*/
|
|
134
|
+
url: string;
|
|
135
|
+
}
|
|
136
|
+
interface IndexedTopLevelGroup {
|
|
137
|
+
/** Top-level slug — first URL segment under root. */
|
|
138
|
+
slug: string;
|
|
139
|
+
/** Display label (today: identical to `slug`; reserved for future sidebar-label integration). */
|
|
140
|
+
label: string;
|
|
141
|
+
/** Entries inside this group, sorted alphabetically by url. */
|
|
142
|
+
members: IndexedEntry[];
|
|
143
|
+
/**
|
|
144
|
+
* What kind of group this is:
|
|
145
|
+
* - `"primary"` — a folder inside the primary `docs` collection.
|
|
146
|
+
* - `"secondary"` — a separate non-version, non-primary collection
|
|
147
|
+
* (`blog`, `api`, `changelog`, …).
|
|
148
|
+
* - `"version"` — an older docs version (`docs-v1`, `docs-v2`, …)
|
|
149
|
+
* when versioning is configured. Routes that build the **root**
|
|
150
|
+
* `/llms.txt` should typically filter these out (old versions
|
|
151
|
+
* pollute the entry point); routes that emit per-section files
|
|
152
|
+
* should include them so `/v1/llms.txt` still ships.
|
|
153
|
+
*/
|
|
154
|
+
kind: "primary" | "secondary" | "version";
|
|
155
|
+
/**
|
|
156
|
+
* True when this group is a version collection listed in
|
|
157
|
+
* `versions.hidden`. Hidden versions are URL-reachable but should
|
|
158
|
+
* not surface on any indexing or discovery surface — neither root
|
|
159
|
+
* `/llms.txt` nor a per-section `/<slug>/llms.txt`. Pagefind
|
|
160
|
+
* exclusion happens per-page via `data-pagefind-ignore`. Routes that
|
|
161
|
+
* emit per-section files should skip groups where `hidden === true`.
|
|
162
|
+
*/
|
|
163
|
+
hidden: boolean;
|
|
164
|
+
}
|
|
165
|
+
interface IndexedTopLevel {
|
|
166
|
+
/**
|
|
167
|
+
* Single-entry top-level items — the root `/llms.txt` links directly
|
|
168
|
+
* to each leaf's `.md` alternate. Sorted alphabetically by `url`.
|
|
169
|
+
*/
|
|
170
|
+
leaves: IndexedEntry[];
|
|
171
|
+
/**
|
|
172
|
+
* Multi-entry top-level items — each becomes a section file at
|
|
173
|
+
* `/<slug>/llms.txt`. Sorted alphabetically by `slug`.
|
|
174
|
+
*/
|
|
175
|
+
groups: IndexedTopLevelGroup[];
|
|
176
|
+
}
|
|
177
|
+
declare function getIndexedEntries(): Promise<IndexedEntry[]>;
|
|
178
|
+
/**
|
|
179
|
+
* Partition the indexed entries into the shape the root `/llms.txt`
|
|
180
|
+
* and `/[section]/llms.txt` routes need.
|
|
181
|
+
*
|
|
182
|
+
* Convention:
|
|
183
|
+
* - Primary `"docs"` entries follow the leaf/group rule based on
|
|
184
|
+
* their `entry.id` top segment (matches single-collection behavior).
|
|
185
|
+
* - Every other collection becomes a single top-level group named
|
|
186
|
+
* after the collection, regardless of how many entries it has.
|
|
187
|
+
* This matches the URL convention (`/api/...`, `/blog/...`).
|
|
188
|
+
*/
|
|
189
|
+
declare function getIndexedTopLevel(): Promise<IndexedTopLevel>;
|
|
117
190
|
/**
|
|
118
191
|
* Build the sidebar tree for the given current path, scoped to the
|
|
119
192
|
* top-level section containing that page.
|
|
@@ -122,15 +195,29 @@ declare function defineConfig<T extends NimbusConfig>(config: T): T;
|
|
|
122
195
|
* resolves config-driven sidebar. Otherwise auto-generates from filesystem
|
|
123
196
|
* (i.e. the `docs` collection's entry IDs).
|
|
124
197
|
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
198
|
+
* Returned shape depends on `sidebar.scope` in `nimbus.config.ts`:
|
|
199
|
+
* - `"full"` (default) — every top-level item on every page.
|
|
200
|
+
* - `"section"` — only the current top-level section's children. Use
|
|
201
|
+
* the header section-tab strip (via `getSidebarSections`) for
|
|
202
|
+
* cross-section nav when this mode is on.
|
|
203
|
+
*
|
|
204
|
+
* **Versioning awareness.** When the page is in a version collection
|
|
205
|
+
* (`docs-<v>` where `<v>` is in `versions.others`), pass `collection` as
|
|
206
|
+
* the second argument. The sidebar build will swap any
|
|
207
|
+
* `{ autogenerate: { collection: "docs" } }` items to autogenerate from
|
|
208
|
+
* that version's collection instead, and treat it as the primary for
|
|
209
|
+
* the build. Without this, version pages render the current-version
|
|
210
|
+
* sidebar and prev/next derives from the wrong tree.
|
|
128
211
|
*
|
|
129
212
|
* @param currentSlug - The current page's URL path (e.g. "/getting-started").
|
|
130
213
|
* Used to set `isCurrent` on matching links and to pick
|
|
131
|
-
* which top-level section to surface.
|
|
214
|
+
* which top-level section to surface when scoping.
|
|
215
|
+
* @param options.collection - The current page's Astro collection ID.
|
|
216
|
+
* Pass `entry.collection` from your route.
|
|
132
217
|
*/
|
|
133
|
-
declare function getSidebar(currentSlug: string
|
|
218
|
+
declare function getSidebar(currentSlug: string, options?: {
|
|
219
|
+
collection?: string;
|
|
220
|
+
}): Promise<SidebarItem[]>;
|
|
134
221
|
/**
|
|
135
222
|
* Derive one section per top-level group in the sidebar — used by
|
|
136
223
|
* `Header.astro` to render the section tab strip (and by any other
|
|
@@ -138,8 +225,13 @@ declare function getSidebar(currentSlug: string): Promise<SidebarItem[]>;
|
|
|
138
225
|
*
|
|
139
226
|
* Reads the un-scoped tree so every section is visible, then collapses
|
|
140
227
|
* each top-level group to `{ label, href, isActive }`.
|
|
228
|
+
*
|
|
229
|
+
* Accepts the same `collection` option as `getSidebar` so version pages
|
|
230
|
+
* see version-scoped section tabs.
|
|
141
231
|
*/
|
|
142
|
-
declare function getSidebarSections(currentSlug: string
|
|
232
|
+
declare function getSidebarSections(currentSlug: string, options?: {
|
|
233
|
+
collection?: string;
|
|
234
|
+
}): Promise<SidebarSection[]>;
|
|
143
235
|
/**
|
|
144
236
|
* Resolve prev/next links for the current page.
|
|
145
237
|
*
|
|
@@ -250,6 +342,195 @@ declare function getDocsPageProps(astro: AstroGlobal): Promise<{
|
|
|
250
342
|
slug: string;
|
|
251
343
|
}[];
|
|
252
344
|
}>;
|
|
345
|
+
/**
|
|
346
|
+
* `getStaticPaths` implementation for a catch-all route over a non-primary
|
|
347
|
+
* collection (`api`, `blog`, …). Companion to `getDocsStaticPaths`.
|
|
348
|
+
*
|
|
349
|
+
* Returns one path per visible entry in the named collection. Drafts are
|
|
350
|
+
* filtered in production (same rule as `getDocsStaticPaths`). Each path
|
|
351
|
+
* passes `{ entry }` as props for `getCollectionPageProps()`.
|
|
352
|
+
*
|
|
353
|
+
* Usage:
|
|
354
|
+
*
|
|
355
|
+
* // src/pages/api/[...slug].astro
|
|
356
|
+
* export const prerender = true;
|
|
357
|
+
* export const getStaticPaths = getCollectionStaticPaths("api");
|
|
358
|
+
*
|
|
359
|
+
* Why a sibling helper instead of an option on `getDocsStaticPaths`: the
|
|
360
|
+
* `Docs` name carries the "primary collection mounted at root" semantic.
|
|
361
|
+
* Non-primary collections mount under their own URL namespace
|
|
362
|
+
* (`/<collection>/...`) by convention; the helper name reflects that.
|
|
363
|
+
*/
|
|
364
|
+
declare function getCollectionStaticPaths(collection: string): GetStaticPaths;
|
|
365
|
+
/**
|
|
366
|
+
* Read the current entry from `Astro.props`, render it, and return the
|
|
367
|
+
* pieces a docs-style page needs — typed for an arbitrary collection.
|
|
368
|
+
*
|
|
369
|
+
* Companion to `getCollectionStaticPaths`. Use this in routes mounted at
|
|
370
|
+
* non-primary collections (`api`, `blog`, …) instead of `getDocsPageProps`,
|
|
371
|
+
* which is typed to the `docs` collection.
|
|
372
|
+
*
|
|
373
|
+
* Pass the collection name as a type parameter for the entry's data
|
|
374
|
+
* shape to narrow correctly:
|
|
375
|
+
*
|
|
376
|
+
* const { entry, Content, headings } = await getCollectionPageProps<"api">(Astro);
|
|
377
|
+
*/
|
|
378
|
+
declare function getCollectionPageProps<C extends string>(astro: AstroGlobal): Promise<{
|
|
379
|
+
entry: astro_content0.CollectionEntry<C>;
|
|
380
|
+
Content: unknown;
|
|
381
|
+
headings: {
|
|
382
|
+
depth: number;
|
|
383
|
+
text: string;
|
|
384
|
+
slug: string;
|
|
385
|
+
}[];
|
|
386
|
+
}>;
|
|
387
|
+
/**
|
|
388
|
+
* Return the resolved versioning manifest for the current site, or `null`
|
|
389
|
+
* if the site is unversioned (`nimbus.config.ts` has no `versions` block).
|
|
390
|
+
*
|
|
391
|
+
* Optional fields are normalised to empty arrays (`deprecated`, `hidden`)
|
|
392
|
+
* and `all` is `[current, ...others]` in manifest order — convenient for
|
|
393
|
+
* picker enumeration or anywhere you need every known version slug.
|
|
394
|
+
*
|
|
395
|
+
* Usage:
|
|
396
|
+
*
|
|
397
|
+
* const versions = await getVersions();
|
|
398
|
+
* if (versions) {
|
|
399
|
+
* for (const slug of versions.all) {
|
|
400
|
+
* // …enumerate
|
|
401
|
+
* }
|
|
402
|
+
* }
|
|
403
|
+
*
|
|
404
|
+
* Reads from `virtual:nimbus/config`, so the cost is one cached dynamic
|
|
405
|
+
* import per build.
|
|
406
|
+
*/
|
|
407
|
+
declare function getVersions(): Promise<ResolvedVersions | null>;
|
|
408
|
+
/**
|
|
409
|
+
* Return the version slug a given Astro content collection ID belongs to,
|
|
410
|
+
* or `null` if the collection is not a version of the primary docs.
|
|
411
|
+
*
|
|
412
|
+
* Rules:
|
|
413
|
+
* - `"docs"` → `versions.current` (the current version's label).
|
|
414
|
+
* - `"docs-<slug>"` where `<slug>` appears in `versions.current` or
|
|
415
|
+
* `versions.others` → `<slug>`.
|
|
416
|
+
* - Anything else (e.g. `"blog"`, `"api"`, `"docs-archive"` when
|
|
417
|
+
* `archive` isn't in the manifest) → `null`.
|
|
418
|
+
*
|
|
419
|
+
* Returns `null` whenever the site has no `versions` config at all,
|
|
420
|
+
* regardless of collection ID.
|
|
421
|
+
*
|
|
422
|
+
* Usage in a route:
|
|
423
|
+
*
|
|
424
|
+
* const { entry } = Astro.props;
|
|
425
|
+
* const version = await getCurrentVersion(entry.collection);
|
|
426
|
+
* // version === "v3" for entries in `docs`, "v2" for entries in `docs-v2`, …
|
|
427
|
+
*/
|
|
428
|
+
declare function getCurrentVersion(collectionId: string): Promise<string | null>;
|
|
429
|
+
/**
|
|
430
|
+
* Look up the cross-version alternates for a given Astro entry.
|
|
431
|
+
*
|
|
432
|
+
* Returns `null` when the entry is not part of a versioning manifest
|
|
433
|
+
* (unversioned site, non-`docs` collection like `blog`/`api`, or the
|
|
434
|
+
* lookup misses for any other reason). Otherwise returns a record with:
|
|
435
|
+
*
|
|
436
|
+
* - `self`: the entry being looked up, expressed as a `VersionPageRef`.
|
|
437
|
+
* - `alternates`: every other version's sibling page for the same
|
|
438
|
+
* logical content (same slug or linked via `previousSlug`). Sorted
|
|
439
|
+
* in manifest version order.
|
|
440
|
+
* - `canonical`: the current-version sibling when one exists and
|
|
441
|
+
* isn't `self`. `null` when `self` is already the current version
|
|
442
|
+
* or no current-version sibling exists.
|
|
443
|
+
*
|
|
444
|
+
* Routes inject `<link rel="alternate">` for every entry in
|
|
445
|
+
* `alternates`, and `<link rel="canonical">` pointing at `canonical.url`
|
|
446
|
+
* when canonical is non-null.
|
|
447
|
+
*
|
|
448
|
+
* Usage in a route:
|
|
449
|
+
*
|
|
450
|
+
* const { entry } = Astro.props;
|
|
451
|
+
* const alts = await getVersionAlternates(entry.collection, entry.id);
|
|
452
|
+
*
|
|
453
|
+
* {alts?.alternates.map((a) => (
|
|
454
|
+
* <link rel="alternate" data-version={a.version} href={a.url} />
|
|
455
|
+
* ))}
|
|
456
|
+
* {alts?.canonical && <link rel="canonical" href={alts.canonical.url} />}
|
|
457
|
+
*/
|
|
458
|
+
declare function getVersionAlternates(collectionId: string, entryId: string): Promise<VersionAlternateRecord | null>;
|
|
459
|
+
/**
|
|
460
|
+
* Convenience wrapper: returns just the canonical URL for an entry, or
|
|
461
|
+
* `null` when none applies. Equivalent to
|
|
462
|
+
* `(await getVersionAlternates(c, e))?.canonical?.url ?? null` — handy
|
|
463
|
+
* when a route only needs the canonical and not the full alternates list.
|
|
464
|
+
*/
|
|
465
|
+
declare function getCanonicalUrl(collectionId: string, entryId: string): Promise<string | null>;
|
|
466
|
+
/**
|
|
467
|
+
* Return the agent index URL path (the `/llms.txt` route) that
|
|
468
|
+
* corresponds to a given Astro collection. The path is mount-point
|
|
469
|
+
* aware: pages in version collections point at the per-version index,
|
|
470
|
+
* pages in non-primary collections point at their per-collection index,
|
|
471
|
+
* and the primary `docs` collection points at the root.
|
|
472
|
+
*
|
|
473
|
+
* - `"docs"` → `"/llms.txt"`
|
|
474
|
+
* - `"docs-v1"` → `"/v1/llms.txt"` (when `v1` is in `versions.others`)
|
|
475
|
+
* - `"blog"` → `"/blog/llms.txt"`
|
|
476
|
+
* - `"api"` → `"/api/llms.txt"`
|
|
477
|
+
* - `"docs-archive"` (unrecognised version slug) → `"/docs-archive/llms.txt"`
|
|
478
|
+
*
|
|
479
|
+
* Returns a path with a leading slash and no trailing slash. Routes
|
|
480
|
+
* resolve it against `Astro.site` to produce a full URL.
|
|
481
|
+
*
|
|
482
|
+
* Used by `BaseLayout` and `AgentDirective` to surface the correct
|
|
483
|
+
* agent index hint on every page — readers landing on `/v1/foo` get
|
|
484
|
+
* pointed at `/v1/llms.txt`, not `/llms.txt`, so agents don't crawl
|
|
485
|
+
* the wrong section.
|
|
486
|
+
*/
|
|
487
|
+
declare function getCollectionLlmsUrl(collectionId: string): Promise<string>;
|
|
488
|
+
/**
|
|
489
|
+
* Look up the versioning status for a page's collection — what the
|
|
490
|
+
* layout needs to decide whether to render the deprecation banner,
|
|
491
|
+
* apply the Pagefind facet filters, or exclude the page from search
|
|
492
|
+
* entirely.
|
|
493
|
+
*
|
|
494
|
+
* Returns `null` when the site is unversioned or the page is not part
|
|
495
|
+
* of a version collection (regular `docs`, `blog`, `api`, …). Layouts
|
|
496
|
+
* treat that as "no versioning UI to apply" — render normally.
|
|
497
|
+
*
|
|
498
|
+
* Usage:
|
|
499
|
+
*
|
|
500
|
+
* const status = await getVersionStatus(entry.collection);
|
|
501
|
+
* if (status?.isDeprecated) {
|
|
502
|
+
* // render the deprecation banner
|
|
503
|
+
* }
|
|
504
|
+
*/
|
|
505
|
+
/**
|
|
506
|
+
* Resolve a URL that's guaranteed to exist within a given version's
|
|
507
|
+
* collection. Used by the picker (and any other "jump to that version"
|
|
508
|
+
* surface) to avoid landing readers on a 404 when the current page has
|
|
509
|
+
* no same-logical-page sibling in the target version.
|
|
510
|
+
*
|
|
511
|
+
* Resolution order:
|
|
512
|
+
* 1. If `docs-<v>/index` exists, return its URL (the conventional
|
|
513
|
+
* "version landing page").
|
|
514
|
+
* 2. If `docs-<v>/overview` exists, return its URL (common alternate
|
|
515
|
+
* name for a landing page).
|
|
516
|
+
* 3. Otherwise return the first indexed entry's URL in that version,
|
|
517
|
+
* sorted by URL — matches `getIndexedTopLevel()`'s sort so the
|
|
518
|
+
* choice is deterministic across builds.
|
|
519
|
+
* 4. If the version has no indexed entries at all, return `null`.
|
|
520
|
+
* Callers should treat that as "this version has nothing to link
|
|
521
|
+
* to" and either omit the picker entry or fall back to the
|
|
522
|
+
* version's URL prefix root (which may still 404, but that's the
|
|
523
|
+
* authoring problem to fix, not the picker's).
|
|
524
|
+
*
|
|
525
|
+
* `version` is the manifest slug (e.g. `"v0"`), NOT the collection ID
|
|
526
|
+
* (`"docs-v0"`). For the current version, returns `"/"` when at least
|
|
527
|
+
* one current-version entry exists, else `null`.
|
|
528
|
+
*
|
|
529
|
+
* Reads from `getIndexedEntries()`, so the cost is one cached lookup
|
|
530
|
+
* per build (the indexed list is computed once per page render).
|
|
531
|
+
*/
|
|
532
|
+
declare function getVersionLandingUrl(version: string): Promise<string | null>;
|
|
533
|
+
declare function getVersionStatus(collectionId: string): Promise<VersionStatus | null>;
|
|
253
534
|
//#endregion
|
|
254
|
-
export { type BadgeVariant, type Breadcrumb, type NimbusConfig, type NimbusIntegrationOptions, type PrevNext, type PrevNextLink, type PrevNextOverrides, type SearchProvider, type SearchResult, type SidebarBadge, type SidebarConfig, type SidebarConfigItem, type SidebarExternalLinkItem, type SidebarGroupItem, type SidebarItem, type SidebarLinkItem, type SidebarSection, type TOCItem, nimbus as default, defaultCodeTransformers, defineConfig, getBreadcrumbs, getDocsPageProps, getDocsStaticPaths, getEditUrl, getLastUpdated, getPrevNext, getSidebar, getSidebarSections, getTOC, getVisibleEntries, renderEntryAsMarkdown, sidebarHash };
|
|
535
|
+
export { type BadgeVariant, type Breadcrumb, IndexedEntry, IndexedTopLevel, IndexedTopLevelGroup, type NimbusConfig, type NimbusIntegrationOptions, type PrevNext, type PrevNextLink, type PrevNextOverrides, type ResolvedVersions, type SearchProvider, type SearchResult, type SidebarBadge, type SidebarConfig, type SidebarConfigItem, type SidebarExternalLinkItem, type SidebarGroupItem, type SidebarItem, type SidebarLinkItem, type SidebarSection, type TOCItem, type VersionAlternateRecord, type VersionAlternatesTable, type VersionPageRef, type VersionStatus, type VersionsConfig, nimbus as default, defaultCodeTransformers, defineConfig, getBreadcrumbs, getCanonicalUrl, getCollectionLlmsUrl, getCollectionPageProps, getCollectionStaticPaths, getCurrentVersion, getDocsPageProps, getDocsStaticPaths, getEditUrl, getIndexedEntries, getIndexedTopLevel, getLastUpdated, getPrevNext, getSidebar, getSidebarSections, getTOC, getVersionAlternates, getVersionLandingUrl, getVersionStatus, getVersions, getVisibleEntries, renderEntryAsMarkdown, sidebarHash };
|
|
255
536
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/_internal/content.ts","../src/_internal/sidebar.ts","../src/_internal/transform.ts","../src/integration.ts","../src/_internal/code-transformers.ts","../src/index.ts"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/_internal/content.ts","../src/_internal/sidebar.ts","../src/_internal/transform.ts","../src/integration.ts","../src/_internal/code-transformers.ts","../src/index.ts"],"mappings":";;;;;;;;;;;;;ACupBA;;;;;;;;AC7oBA;iBFwBsB,iBAAA,CACpB,WAAA,cACC,OAAA,CAAQ,eAAA;;;;iBCmnBK,WAAA,CAAY,KAAA,EAAO,WAAA;;;;;;;;;;;ADrnBnC;UExBiB,8BAAA;EACf,IAAA;EACA,KAAA,EAAO,MAAA;EACP,QAAA;AAAA;AAAA,KAGU,yBAAA,IACV,OAAA,EAAS,8BAAA;AAAA,UAGM,4BAAA;EFgBS;;;;EEXxB,YAAA,GAAe,MAAA,SAAe,yBAAA;ED8nBL;EC5nBzB,gBAAA;AAAA;AAAA,UAGQ,aAAA;EACR,IAAA;AAAA;;AArBF;;;;;;iBAiNgB,qBAAA,CACd,KAAA,EAAO,aAAA,EACP,OAAA,GAAS,4BAAA;;;UCnKM,wBAAA;ED9CR;ECgDP,GAAA,GAAM,UAAA,QAAkB,GAAA;ED/ChB;ECiDR,OAAA;ED9CU;;;;;AAIZ;;;;;;;;;;AAQC;;;;ECsDC,WAAA;IAGM,cAAA;IACA,WAAA;IACA,IAAA,IAAQ,QAAA;EAAA;AAAA;AAAA,iBAIA,MAAA,CACd,SAAA,EAAW,YAAA,EACX,OAAA,GAAS,wBAAA,GACR,gBAAA;;;AFyjBH;;;;;;;;AC7oBA;;AD6oBA,iBGnmBgB,uBAAA,CAA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