-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Documentation Issue on Read the Docs #2300
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
Comments
@critfest |
@critfest I've only been able to reproduce this behavior by clicking links in <a class="reference external" href="./FAQ.rst#i-am-using-windows-should-i-use-visual-studio-or-mingw-for-compiling-lightgbm">Question 4</a> Can you include the browser you are using (and version if available)? I haven't been able to reproduce this in Firefox 68.0.1 or Chrome 75. |
We should be replacing all of those per #2272 (comment) |
@StrikerRUS OH! When you showed me that before, I didn't realize it ran on page load in the browser. I think we should write a hook in our conf.py that does that replacement when generating the HTML content. That way, we'd never have a browser-specific problem (it would just be static HTML) but it would still preserve the desired behavior of having I would be happy to write this if you think it's a good idea @StrikerRUS (and would love your input @hayesall )! |
@jameslamb I considered this option when was initially reworking docs. I abandoned the idea to replace links at Python side due to additional dependencies (e.g.
We have other things at JS side which are impossible to replace with Python equivalent. Moreover, RTD itself cannot work without JS. |
Ok makes sense! Thanks for educating me on some of the history of our docs this week. The "I don't want to take on a BeautifulSoup dependency" I think could be avoided (I was thinking of literally matching a regular expression for |
@StrikerRUS Hey, sorry for not following up on this earlier, but I think it would be worth adding this to #2302 as "noscript-compatible documentation." People sometimes block JavaScript for security or privacy reasons. Most of this documentation is generated as static content, so retaining an option for users who disable JavaScript should be considered. |
Unfortunately, it's unresolvable issue, which we'll never fix. I don't think that we need such issue in our list. Moreover, RTD site itself cannot work without JS enabled. |
Environment info
Operating System:
CPU/GPU model:
C++/Python/R version:
LightGBM version or commit hash:
Error message
Reproducible examples
Steps to reproduce
" SORRY /
\ /
\ This page does /
] not exist yet. [ ,'|
" like this: https://lightgbm.readthedocs.io/en/latest/README.rst
The text was updated successfully, but these errors were encountered: