docs: collapse folder+index.md guides to flat single-file guides#25504
Open
brandonh6k wants to merge 1 commit into
Open
docs: collapse folder+index.md guides to flat single-file guides#25504brandonh6k wants to merge 1 commit into
brandonh6k wants to merge 1 commit into
Conversation
Flattens 50 folder-wrapped guides to content/guides/<slug>.md, matching the single-page convention most guides already use. Also moves the last local per-guide image bundles (genai-leveraging-rag, genai-video-bot, genai-claude-code-mcp, java) into the shared content/guides/images/ folder with slug-prefixed filenames, and promotes frameworks/laravel/index.md to a top-level laravel.md. Adds aliases for the two URLs that actually changed (frameworks/laravel/ and genai-claude-code-mcp/claude-code-mcp-guide/); all other renames produce the same URL Hugo already generated for the index.md bundle.
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow-up to #25338 (the guides revamp). That PR collapsed most multi-page guide series into single pages but left ~50 guides wrapped in a
<name>/index.mddirectory structure alongside guides that are already flat<name>.mdfiles — an inconsistent mix. This PR finishes the flattening:content/guides/<slug>.mdviagit mv(history preserved). These keep the same URL, since Hugo generates the same permalink for a leaf-bundledir/index.mdand a flatdir.md.genai-leveraging-rag,genai-video-bot,genai-claude-code-mcp,java) into the sharedcontent/guides/images/folder with slug-prefixed filenames, matching the convention already used by most other guides (databases-1.webp,kafka-1.webp, etc.), and rewrites the in-body image references.genai-claude-code-mcp's non-standard filename (claude-code-mcp-guide.md) and capitalizedImages/folder to match convention.content/guides/frameworks/laravel/index.mdto a top-levelcontent/guides/laravel.md, since it was the only guide underframeworks/and every other language/framework guide is flat.aliasesentries for the two URLs that actually changed (/guides/frameworks/laravel/and/guides/genai-claude-code-mcp/claude-code-mcp-guide/); every other rename preserves its existing URL.Companion PR establishing this as the documented convention going forward: #25503
Validation
hugo --minifybuild viadocker compose runcompletes with zero warnings/errors (3174 pages, 1524 aliases — unchanged from before this PR).content/guides/images/.Related issues or tickets
Discussed in the team's docs Slack channel following #25338.
Reviews