Skip to content

Guides sidebar fails to load in repo setup due to missing v4-0-0-snapshot.json file path #2647

Description

@zainforbjs

Describe the bug
In the Guides page, the sidebar sections do not appear when running Wheels from the cloned repository. This is caused by a hardcoded file path in:
vendor/wheels/public/docs/guides.cfm: line 25
local.sidebarPath = ExpandPath("/wheels/../../web/sites/guides/src/sidebars/v4-0-0-snapshot.json");

The file v4-0-0-snapshot.json does not exist in the repository, causing the sidebar to fail to load.

This issue only affects contributors running the repository locally.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the Wheels repository.
  2. Run the application locally.
  3. Navigate to the Guides page.
  4. Observe that sidebar sections do not appear.

Expected behavior
The Guides sidebar should load correctly when running the repository locally, or fallback gracefully if versioned sidebar data is not present.

Screenshots
Image

Desktop:

  • OS: Any

Additional context

  • The issue is caused by a hardcoded version-specific path: v4-0-0-snapshot.json
  • This file appears to be missing in the local repo structure.
  • The issue only affects:
  • Contributors running Wheels from source
  • Not production/documented builds (if they use a hosted guides site)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions