Skip to content

[HANDS-ON BUG] Bug: Course UI automatically redirects /learn/ links to broken /docs/ 404 pages #748

Description

@Aum121221

Describe the bug
A clear and concise description of what the bug is.

When navigating through course units (e.g., trying to access smolagents or clicking sidebar/next-page links), the browser router automatically rewrites the URL from the valid /learn/agents-course/... path into an invalid /docs/agents-course/main/... path, resulting in a 404 error.

To Reproduce

Go to the Hugging Face Agents Course learn portal.

Click on a unit link or sidebar item (specifically affecting Unit 2 / smolagents).

Observe the URL change to the /docs/ namespace and display the 404 page.

Expected Behavior
Links should remain within the /learn/agents-course/ routing path without switching to /docs/.

Screenshots

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions