Skip to content

[WIP] Fix URL path issue in learning hub#895

Merged
aaronpowell merged 2 commits intostagedfrom
copilot/fix-url-path-issue
Mar 5, 2026
Merged

[WIP] Fix URL path issue in learning hub#895
aaronpowell merged 2 commits intostagedfrom
copilot/fix-url-path-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 5, 2026

  • Identify the URL routing issue in Learning Hub index.md
  • Fix absolute links in content/docs/learning-hub/index.md to use relative paths
  • Run line endings normalization
  • Create PR against staged branch

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
@aaronpowell aaronpowell marked this pull request as ready for review March 5, 2026 23:21
Copilot AI review requested due to automatic review settings March 5, 2026 23:21
@aaronpowell aaronpowell merged commit 78e3ea2 into staged Mar 5, 2026
2 checks passed
@aaronpowell aaronpowell deleted the copilot/fix-url-path-issue branch March 5, 2026 23:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Learning Hub index content links to avoid absolute /learning-hub/... paths that can break when the site is hosted under a non-root base path.

Changes:

  • Converted in-body Learning Hub links from absolute to relative paths.
  • Kept trailing slashes on updated links for consistency with existing routing.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines 18 to 20
Essential concepts to tailor GitHub Copilot beyond its default experience. Start with
[What are Agents, Skills, and Instructions](/learning-hub/what-are-agents-skills-instructions/)
[What are Agents, Skills, and Instructions](what-are-agents-skills-instructions/)
and work through the full track to master every customization primitive.
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Learning Hub hero action link in the frontmatter still uses an absolute /learning-hub/... path. If this PR is meant to fix base-path/routing issues by avoiding absolute links, this button will likely still break when the site is served under a non-root base URL. Update the hero.actions[0].link value to match the new relative linking approach used below.

Copilot uses AI. Check for mistakes.
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.

3 participants