Skip to content

Drop the duplicate "(map)" prefix from map type pages - #4518

Merged
akira28 merged 2 commits into
mainfrom
feature/weird-artifact-some-pages
Oct 20, 2026
Merged

akira28 merged 2 commits into
mainfrom
feature/weird-artifact-some-pages

Conversation

@akira28

@akira28 akira28 commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Map type pages in the API reference, such as Aggregation, no longer print "(map)" in front of "map string to Aggregation".

Affects: API reference

Prompt summary: Fix elastic/docs-eng-team#1079, a weird artifact on some API type pages, and open a PR.

Why

The type line on _types-aggregations-aggregationcontainer read "(map) map string to Aggregation". The word "map" appeared twice, and the leading "(map)" looked out of place. The issue screenshot was not readable from the CLI, so this is the artifact I found on that page. Please confirm it matches the screenshot.

What

Map type line

SchemaView.cshtml no longer renders the dict-icon span. The remaining text, map string to <Type>, already says it. The unused .dict-icon rule is gone from api-docs.css.

Check on the preview

Fixes elastic/docs-eng-team#1079

🤖 Generated with Claude Code

Pages such as Aggregation printed "(map)" in front of "map string to Aggregation", so the word appeared twice.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@akira28
akira28 requested a review from a team as a code owner October 19, 2026 15:39
@akira28 akira28 added the bug label Oct 19, 2026
@akira28
akira28 requested a review from reakaleek October 19, 2026 15:39
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview (local build)

Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4518/

@akira28
akira28 merged commit 009fc4c into main Oct 20, 2026
32 checks passed
@akira28
akira28 deleted the feature/weird-artifact-some-pages branch October 20, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant