Skip to content

Commit 1449bc8

Browse files
committed
chore: document partial resolver contract
1 parent 538f58d commit 1449bc8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

astro.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ const integrations = [
213213
features: { smartPunctuation: false },
214214
hastPlugins,
215215
}),
216+
// Match Render.astro: `file` is relative to `src/content/partials/<product>/`.
217+
// The revision invalidates prepared Markdown assets; bump it if this mapping changes.
216218
partialResolver: {
217219
revision: "partial-resolver-v1",
218220
resolve: ({ file, product }) => (product ? `${product}/${file}` : file),

0 commit comments

Comments
 (0)