-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Docs for previous versions? #4236
Comments
Thanks for using LightGBM and for taking the time to write this up! You're right, today LightGBM's documentation is built from the current state of its @StrikerRUS have you looked into this before? Reading https://docs.readthedocs.io/en/stable/versions.html, I wonder if we are not getting it automatically because LightGBM release tags start with a
It looks like That same readthedocs page says those long-lived branches are supported as well.
|
Oh great, ok! 🎉
Yes it's interesting, the documentation at https://docs.readthedocs.io/en/stable/versions.html is sort of written like a proposal, not documentation of how RTD actually works haha. Some parts of it make it seems like we should get versioned docs automatically but clearly that hasn't been happening. I think it would be great to start doing this as a part of releases going forward. @thvasilo if you want to try building the docs for an older versions yourself, you can try checking out an older release tag and following the instructions at https://github.com/microsoft/LightGBM/tree/master/docs#build. But as @StrikerRUS noted, you might run into issues with dependency versions. If you try to build an old version of the docs, you might want to use the latest version of the docs dependencies at https://github.com/microsoft/LightGBM/blob/master/docs/requirements.txt. |
I'll give that a shot thanks!
…On Wed, Apr 28, 2021 at 9:07 AM James Lamb ***@***.***> wrote:
Oh great, ok! 🎉
However, I don't know how make automatic builds for new releases
Yes it's interesting, the documentation at
https://docs.readthedocs.io/en/stable/versions.html is sort of written
like a proposal, not documentation of how RTD actually works haha. Some
parts of it make it seems like we should get versioned docs automatically
but clearly that hasn't been happening.
I think it would be great to start doing this as a part of releases going
forward.
@thvasilo <https://github.com/thvasilo> if you want to try building the
docs for an older versions yourself, you can try checking out an older
release tag and following the instructions at
https://github.com/microsoft/LightGBM/tree/master/docs#build. But as
@StrikerRUS <https://github.com/StrikerRUS> noted, you might run into
issues with dependency versions. If you try to build an old version of the
docs, you might want to use the latest version of the docs dependencies at
https://github.com/microsoft/LightGBM/blob/master/docs/requirements.txt.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4236 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFBHI7BUKWA3WQTBY23ZVLTLAXD3ANCNFSM43VXE4WA>
.
|
@jameslamb OK, let me start from the most recent release! |
Done! Unfortunately, R-API link (and back link from it) is hardcoded to the |
Added point to release check-list. |
Ah ok great, thank you very much! Maybe we can figure out the R link in the future, but I don't think it's urgent. |
Summary
I would like to have easy access to the documentation of previous versions of the package.
Motivation
Different users of the project will run different versions of the package. We would like to be able refer to documentation that is relevant to the version we're using.
AFAI can tell, LightGBM ReadTheDocs provides only the latest version and a tag named docs-jlamb.
References
Read the Docs supports documentation versioning, so this would be really useful for users of older versions of the package.
For example, for XGBoost, if I wanted to check the docs for version say 1.2.0 I'd go to this.
The text was updated successfully, but these errors were encountered: