Skip to content

Preserve original URL paths for markdown files instead of flattening themΒ #20

@smol-ninja

Description

@smol-ninja

Is there an option to preserve the original URL paths when generating markdown files? Currently, the plugin flattens all paths into simplified filenames.

Expected Behaviour

If a page is accessible at https://docs.stripe.com/no-code/payment-links, the plugin should host the associated markdown file at https://docs.stripe.com/no-code/payment-links.md.

Current Behaviour

The plugin currently generates simplified filenames like https://docs.stripe.com/payment-links.md (flattened to root)

The documentation hints that the markdown paths are supposed to be preserved, however, it does not seem to be working in my PR. A preview can be seen here and llms.txt can be found at this link to confirm the same.

Configuration

https://github.com/sablier-labs/docs/blob/a1bdacc5836568e6b87d5f17c1bc5c6276b023b6/config/plugins.ts#L127-L140

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions