Skip to content

docs: version switcher is leading to "Page Not Found" #559

Closed

Description

@heatherlxd

Describe the bug

When switching between versions in the documentation the version number is being added to the URL resulting in "Page Not Found"

Steps/Code to reproduce bug

When going from an old version to a new version the URL path is updated as: https://docs.nvidia.com/nemo/gym/0.1.0/0.1.1/

When going from a new version to an old version the URL path is updated as:
https://docs.nvidia.com/nemo/gym/0.1.1/0.1.0/

Both cases lead to "Page Not Found"

The home page is an exception to this error and works as expected (https://docs.nvidia.com/nemo/gym/0.1.0/index.html).

Expected behavior

Version switcher takes user to correct version of documentation for that page.

Configs
N/a

Environment details
N/a

Additional context
N/a

Metadata

Metadata

Assignees

Labels

documentation

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions