---
title: indexContent
description: 'core:index — single canonical index artifact producer.'
updated_at: '2026-11-25T23:57:17+01:00'
created_at: '2026-03-07T03:07:51+01:00'
symbol:
  kind: function
  name: indexContent
  signatures:
    - >-
      indexContent(options?: object & { disabled?: boolean }):
      [[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]]
  parameters:
    - name: options
      type: 'object & { disabled?: boolean }'
      optional: true
  returns:
    type: '[[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]]'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugins/src/index-content.ts#L134
---

# indexContent

Builds the Index from ctx.files (with slugs, frontmatter, and resolved links).
Produces: entries (search), graph (forward links), backlinks (reverse links).

Precondition: all transforms complete; files have slug, frontmatter, and links.
Postcondition: ctx.index is populated with the canonical Index artifact.
