Skip to content

Docs: fix 'Duplicate id warning-data-bs-title-vs-title found'#42038

Merged
julien-deramond merged 1 commit into
v6-devfrom
v6-dev-jd-fix-docs-build-warning-duplicate-id
Jan 26, 2026
Merged

Docs: fix 'Duplicate id warning-data-bs-title-vs-title found'#42038
julien-deramond merged 1 commit into
v6-devfrom
v6-dev-jd-fix-docs-build-warning-duplicate-id

Conversation

@julien-deramond

@julien-deramond julien-deramond commented Jan 25, 2026

Copy link
Copy Markdown
Member

Description

This PR fixes the following warning happening when running npm run docs:

09:59:44 [WARN] [glob-loader] Duplicate id "warning-data-bs-title-vs-title" found in /Users/ju/twbs/bootstrap/site/src/content/callouts/warning-data-bs-title-vs-title.md. Later items with the same id will overwrite earlier ones.

The warning message is not really explicit about the real problem that is located in site/src/libs/content.ts where getEntryBySlug is deprecated and can be replaced by getEntry.

Live previews

The callouts are still well rendered; for instance:

@julien-deramond julien-deramond merged commit 1ecb4f2 into v6-dev Jan 26, 2026
12 checks passed
@julien-deramond julien-deramond deleted the v6-dev-jd-fix-docs-build-warning-duplicate-id branch January 26, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants