Skip to content

fix: resolve duplicated slugs build failure#114

Merged
vilenarios merged 1 commit into
mainfrom
fix/duplicated-slugs-build-error
Jun 6, 2026
Merged

fix: resolve duplicated slugs build failure#114
vilenarios merged 1 commit into
mainfrom
fix/duplicated-slugs-build-error

Conversation

@vilenarios

Copy link
Copy Markdown
Contributor

Summary

  • The deploy workflow was failing with Error: Duplicated slugs during the Next.js production build
  • Two files — (advanced)/networks.mdx and (ario-contract)/networks.mdx — both resolved to the slug sdks/ar-io-sdk/networks because parenthesized route group folders are stripped from URLs
  • Renamed (advanced)/networks.mdxsolana-networks.mdx (with updated title and meta.json) to eliminate the collision
  • Introduced in commit 49a3d30 ("chore: fix and use sdk docs generation")

Test plan

  • Verified next build completes successfully with all 279 static pages generated
  • Confirm deploy workflow passes on this PR

🤖 Generated with Claude Code

Two files — (advanced)/networks.mdx and (ario-contract)/networks.mdx —
resolved to the same slug sdks/ar-io-sdk/networks because parenthesized
route groups are stripped from URLs. Renamed the advanced variant to
solana-networks.mdx to fix the "Duplicated slugs" build error.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vilenarios vilenarios requested a review from a team as a code owner June 6, 2026 02:06
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Permaweb Preview Deployed

Your preview is available at: https://docs-pr-114_docs.ar.io

Property Value
Transaction ID 32m7-p3114e9Kt-dAbKqJA_3GCzL36b-za0BraWH1Dd
ArNS Name docs
Undername docs-pr-114

This preview will be available permanently on Arweave via the AR.IO Network.

@vilenarios vilenarios merged commit 253c419 into main Jun 6, 2026
2 checks passed
@vilenarios vilenarios deleted the fix/duplicated-slugs-build-error branch June 6, 2026 02:29
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.

1 participant