Skip to content

[Bug] Files nested more than two levels deep don't render correctly #71

@didoo

Description

@didoo

Seems that files that are nested more than two folders deep trigger a strange error in the console:
Error while processing route: show Unexpected token '<', "<!DOCTYPE "... is not valid JSON SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

screenshot_1889

If you want to reproduce the error see this branch in my fork of the repo:
https://github.com/didoo/field-guide-testing/tree/folder-nesting-bug/docs/03-testing-sub-sub-folder

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