Skip to content

Allow configurable URL value for "next" #718

@machikoyasuda

Description

@machikoyasuda

Is this a bug report?

✖️No

Have you read the Contributing Guidelines on issues?

✅ Yes

Feature request

Currently, Docusaurus hardcodes the URL param for the pre-release master branch as next. The version link in the header and the URLs use the word next. I'd like to be able to configure this field in siteConfig.js, because I'd like to be able to use the URL value master instead.

For example, instead of localhost:3000/docs/next/installation.html, I'd like to be able to use master instead: localhost:3000/docs/master/installation.html. This naming better aligns with the naming convention we already currently use in our docs and GitHub branch naming conventions.

Proposal:

Add an optional siteConfig.js variable that would allow users to set a custom name, like master, instead of the default, next.

Metadata

Metadata

Assignees

Labels

featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.status: claimedIssue has been claimed by a contributor who plans to work on it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions