docs: fix build, restore devframe sidebar import, unify Devframe casing#322
Merged
docs: fix build, restore devframe sidebar import, unify Devframe casing#322
Conversation
The post-#317 merge conflict reverted the cleanup from #316 — the docs/.vitepress/config.ts import pointed at a deleted sidebar.ts and the error-reference sidebar held a hardcoded list of DTK codes that no longer matched the actual files. Restored the named import from devframe/docs/ .vitepress/config, the tinyglobby-based listErrorCodes helper, and the devframeNav top-nav entry. Also widened srcExclude from skills/** to **/skills/** so devframe/skills/devframe/SKILL.md (an AI agent skill, not a docs page) is not picked up as a 404-laden source. Finally, normalized 52 occurrences of DevFrame to Devframe across docs, READMEs, AGENTS.md, and package metadata for brand consistency. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for devfra ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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
Restores the docs build, which has been broken on
mainsince #317 (a merge conflict resolution reverted the cleanup from #316). Concretely:docs/.vitepress/config.tswas importingdevframeSidebarfrom'../../devframe/docs/.vitepress/sidebar', a file deleted in docs: glob error code pages and rehost devframe nav #316 — bothpnpm docs:buildand the Netlify deploy fail at config load. Restored the named import (devframeNav,devframeSidebar) from'../../devframe/docs/.vitepress/config', thetinyglobby-basedlistErrorCodeshelper, and thedevframeNav('/devframe')top-nav entry. The hardcoded DTK error-code array was also stale (claimed DTK0001–DTK0032 but most files don't exist) — back to globbing.srcExcludefrom'skills/**'to'**/skills/**'sodevframe/skills/devframe/SKILL.md(an AI agent skill, not a docs page) is no longer pulled into the docs srcDir, where its relative links resolved to dead targets.DevFrame→Devframeacross docs prose, READMEs, AGENTS.md, sidebar/title strings, and the@devframes/nuxtpackage description, for brand consistency.Linked Issues
Additional context
Verified locally:
pnpm -C docs run docs:buildandpnpm -C devframe/docs run docs:buildboth build cleanly. The Netlify build runspnpm run build && pnpm run docs:build, which mirrors the local verification.