Skip to content

DocLayout should allows passing in BasePath #59

@NeroBlackstone

Description

@NeroBlackstone

If you use ssg mode to deploy to your personal github pages, all pages will be prefixed with a prefix, for example: https://username.github.io/projectName. At this time, since the URL is forced to start with /docs, the ssg build will fail.

I think there should be an optional basePath prop passed in, and <a href=basePath+"/docs" {...props}>,then svecodocs could be deploy on github page perfectly.

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