Skip to content

[FEATURE] Support index generation (genindex) - #1358

Open
linawolf wants to merge 1 commit into
mainfrom
feature/index-generation
Open

[FEATURE] Support index generation (genindex)#1358
linawolf wants to merge 1 commit into
mainfrom
feature/index-generation

Conversation

@linawolf

@linawolf linawolf commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Sphinx-authored documentation -- including TYPO3 Core's own Changelog
files -- relies on .. index:: entries so readers can jump straight to
every page a term is discussed on, the way a printed book's index does.
This library parsed those entries but threw them away, so porting such
docs here meant silently losing that navigation aid.

Entries are now collected project-wide and made available as a genindex
page, so documentation migrated from Sphinx keeps working the way its
authors intended.

Each term is also stamped onto the section it belongs to as a data
attribute, independent of any genindex page. That's for tooling that
crawls the rendered HTML rather than the reST source -- a custom search
engine such as TYPO3's Elasticsearch integration can pick up the same
terms an author already tagged with index, instead of reimplementing
that logic itself.

Closes #921

Assisted-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Y48g2S9Q2uUVLcsTEAeyGX
Signed-off-by: linawolf

@linawolf
linawolf force-pushed the feature/index-generation branch 2 times, most recently from 1b020f9 to a66855a Compare August 23, 2026 12:03
@linawolf linawolf changed the title Support index generation (genindex) [FEATURE] Support index generation (genindex) Aug 23, 2026
@linawolf
linawolf force-pushed the feature/index-generation branch from a66855a to e6b625d Compare August 23, 2026 12:06
Sphinx-authored documentation -- including TYPO3 Core's own Changelog
files -- relies on `.. index::` entries so readers can jump straight to
every page a term is discussed on, the way a printed book's index does.
This library parsed those entries but threw them away, so porting such
docs here meant silently losing that navigation aid.

Entries are now collected project-wide and made available as a genindex
page, so documentation migrated from Sphinx keeps working the way its
authors intended.

Each term is also stamped onto the section it belongs to as a data
attribute, independent of any genindex page. That's for tooling that
crawls the rendered HTML rather than the reST source -- a custom search
engine such as TYPO3's Elasticsearch integration can pick up the same
terms an author already tagged with `index`, instead of reimplementing
that logic itself.

Closes #921

Assisted-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y48g2S9Q2uUVLcsTEAeyGX
Signed-off-by: linawolf
@linawolf
linawolf force-pushed the feature/index-generation branch from e6b625d to 0b33897 Compare August 23, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Index generation (Glossary)

1 participant