-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Show different config documents for different releases #17879
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
Conversation
I think ideally we'd have a site-wide version switch mechanism so everything is versioned, not only this one page. |
It's good to have a more general version switch mechanism. ps: I think maybe it is not really site-wide, some pages may not be suitable for the version switch mechanism. If there is a better implementation of the document version mechanism, feel free to use it replace this one. If we do not have one in recent future, maybe we can merge this one to make Gitea documents more friendly and clear to users, and then design a better mechanism later to replace this one. |
I think a build script would need to be added that checks out all the branches and generate different docs versions and this also should be reflected in the URL, e.g. |
I have thought about it, but the idea doesn't work now.
|
Maybe it's worth migrating docs to https://github.com/facebook/docusaurus, I imagine it has built-in support for stuff like versioning. |
Yep, if there is a better choice, we can try. |
I think |
Any update? Should we drop/close this one or continue on this one? |
I think a multiple version around the whole site is better. |
I do not think For example: this PR #18109 fixes a dead domain in document. It's risky, even worse if someone puts malware on it. If we have |
We should not maintain all the versions. We could maintain recent 3 versions documents. We can add deprecated hint on old versions. |
OK, this one can be closed. Hopefully we can make some progress soon, otherwise many users will be misled. |
Background
Currently the
config-cheat-sheet
document misleads many users, there are some new setting options only available in 1.16, while many users who are using 1.15 may be confused why these options don't work.Solution
This PR splits the
config-cheat-sheet
document into different releases, just as most projects do.Feel free to edit on this PR directly and push your commits.
Some other fixes:
minNodeVersion
, we always recommend developers to use Node.js LTS/en-us/config-cheat-sheet/
=>/en-us/config-cheat-sheet-dev/