Skip to content

Sidebar is misbehaving when docs are deployed on Cloudflare pages #2555

Closed
@DennisWeru

Description

@DennisWeru

Bug Report

Sidebar is misbehaving when docs are deployed on Cloudflare pages

Steps to reproduce

  1. Create documentation that has different folders. The layout should look like this.
  2. Upload the documents on cloudflare pages and deploy.

README.md
index.html
_sidebar.md
_navbar.md
folder1/utils.md
folder2/constants.md

Current behaviour

When a user clicks an item on the sidebar that is in one of the folders, the sidebar disappears. The workaround is to duplicate the _sidebar.md in each folder which is not ideal.

Expected behaviour

The sidebar should be visible at all times.

Other relevant information

  • Docsify version: docsify@4

  • [*] Bug still occurs when all/other plugins are disabled?

  • Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue):

Please create a reproducible sandbox

Edit 307qqv236

Mention the docsify version in which this bug was not present (if any)

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