fix: correct broken dev note links in recipe pages#407
Merged
dhruvnathawani merged 1 commit intomainfrom Mar 13, 2026
Merged
Conversation
Recipe pages are 3 levels deep (recipes/category/recipe/), so links to dev notes need ../../../devnotes/ not ../../devnotes/. The extra level was missing, causing links to resolve to recipes/devnotes/ instead of devnotes/.
Contributor
Greptile SummaryThis PR fixes broken relative links to dev note pages in two recipe documentation files by correcting the path depth from
|
| Filename | Overview |
|---|---|
| docs/recipes/code_generation/enterprise_text_to_sql.md | Corrects the relative path depth for the dev note link from ../../devnotes/ to ../../../devnotes/, matching the 3-level-deep directory structure; consistent with the existing ../../../assets/ link already in the file. |
| docs/recipes/mcp_and_tooluse/search_agent.md | Applies the same relative path correction for the dev note link from ../../devnotes/ to ../../../devnotes/, consistent with the file's depth and the existing ../../../assets/ link on line 9. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["docs/recipes/code_generation/enterprise_text_to_sql.md\ndocs/recipes/mcp_and_tooluse/search_agent.md"] -->|"../ (up 1)"| B["docs/recipes/<category>/"]
B -->|"../../ (up 2)"| C["docs/recipes/"]
C -->|"../../../ (up 3)"| D["docs/"]
D -->|"devnotes/"| E["docs/devnotes/ ✅ CORRECT"]
A -.->|"❌ OLD: ../../devnotes/"| F["docs/recipes/devnotes/ ❌ BROKEN"]
style E fill:#22c55e,color:#fff
style F fill:#ef4444,color:#fff
Last reviewed commit: 87f9039
johnnygreco
approved these changes
Mar 13, 2026
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.
Summary