Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open the browser on latest instead of last release on docusaurus start #3212

Closed
zepatrik opened this issue Aug 5, 2020 · 6 comments
Closed
Assignees
Labels
feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future.

Comments

@zepatrik
Copy link

zepatrik commented Aug 5, 2020

💥 Proposal

When running docusaurus start the browser should open the latest tag instead of the last release. For people working only from time to time with docusaurus it is confusing that they don't see their changes and they spend time debugging why the change is not there.

Have you read the Contributing Guidelines on issues?

yes

@zepatrik zepatrik added status: needs triage This issue has not been triaged by maintainers proposal This issue is a proposal, usually non-trivial change labels Aug 5, 2020
@zepatrik
Copy link
Author

zepatrik commented Aug 5, 2020

Btw I'm happy to contribute this proposal is accepted.

@slorber
Copy link
Collaborator

slorber commented Aug 5, 2020

Hi @zepatrik . I totally agree and it's a chance I've planned to do as part of other things to change about docs/versioning.

As it's already something I have in mind, I'd prefer to work on this myself so that the API of all the features look consistent. I'll probably open an RFC for the API I have in mind soon

@slorber slorber self-assigned this Aug 5, 2020
@slorber slorber removed the status: needs triage This issue has not been triaged by maintainers label Aug 5, 2020
@slorber
Copy link
Collaborator

slorber commented Aug 14, 2020

@zepatrik can you tell me what you think of this RFC?

#3285

@Josh-Cena Josh-Cena added feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. and removed proposal This issue is a proposal, usually non-trivial change labels Oct 30, 2021
@Josh-Cena
Copy link
Collaborator

Docusaurus uses this:

lastVersion: process.env.NODE_ENV === 'development' ? 'current' : undefined,

This looks quite extensible and should be practiced

@zepatrik
Copy link
Author

zepatrik commented Dec 17, 2021

So if I run NODE_ENV='deveolpement' docusaurus start, it will open the latest unreleased docs?

@Josh-Cena
Copy link
Collaborator

Well, you don't even need to—docusaurus start sets NODE_ENV='development' by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Projects
None yet
Development

No branches or pull requests

3 participants