Commit 1797e4a
Use UrlPathPrefix for agent-skill learn-more link (#2908)
* Fix agent-skill learn-more link to respect UrlPathPrefix
The hardcoded /explore-analyze/ai-features/agent-skills link didn't
resolve in preview environments where the URL path has a prefix.
Now computed from block.Build.UrlPathPrefix like other internal links.
Co-authored-by: Claude <noreply@anthropic.com>
Made-with: Cursor
* Use absolute URL for agent-skill learn-more link
Simpler than UrlPathPrefix computation and works correctly in all
environments (production, preview, local).
Co-authored-by: Claude <noreply@anthropic.com>
Made-with: Cursor
* Use UrlPathPrefix for agent-skill learn-more link
Compute the learn-more URL from block.Build.UrlPathPrefix so it
resolves correctly in all environments (production, preview, local).
Co-authored-by: Claude <noreply@anthropic.com>
Made-with: Cursor
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 29cf50a commit 1797e4a
3 files changed
Lines changed: 5 additions & 2 deletions
File tree
- src/Elastic.Markdown/Myst/Directives
- AgentSkill
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
236 | | - | |
| 237 | + | |
| 238 | + | |
237 | 239 | | |
238 | 240 | | |
239 | 241 | | |
| |||
0 commit comments