Skip to content

path's suffix keep when user switch to another language's document #1656

Open
@Anilople

Description

@Anilople

Feature request

What problem does this feature solve?

When user change language,
image
the path's suffix cannot keep.

For example, when user in page https://docsify.js.org/#/write-a-plugin
If user change language to 中文, the page will be https://docsify.js.org/#/zh-cn/

It is better experience if page keep same suffix /write-a-plugin, i.e the page change to https://docsify.js.org/#/zh-cn/write-a-plugin instead of https://docsify.js.org/#/zh-cn/

What does the proposed API look like?

None.

How should this be implemented in your opinion?

A optional plugin, like apolloconfig/apollo#4059

Change the navbar's href when user click it, so the page's path will keep suffix.

Are you willing to work on this yourself?

Sure.

But the config's data structure need to design.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions