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
Add external packages to intersphinx_mapping
in conf.py
#4290
Add external packages to intersphinx_mapping
in conf.py
#4290
Conversation
Sorry, the explanation was probably wrong since |
Codecov Report
@@ Coverage Diff @@
## master #4290 +/- ##
==========================================
- Coverage 89.77% 89.75% -0.02%
==========================================
Files 170 170
Lines 13265 13265
==========================================
- Hits 11908 11906 -2
- Misses 1357 1359 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@nzw0301 Thanks for the PR! Is this PR ready for review or needed to discuss something? |
@toshihikoyanase @contramundum53 Could you review this PR? |
"sklearn": ("https://scikit-learn.org/stable", None), | ||
"torch": ("https://pytorch.org/docs/stable", None), | ||
"pandas": ("https://pandas.pydata.org/docs", None), | ||
"plotly": ("https://plotly.com/python-api-reference", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Comments to reveiwers]: This might be unnecessary because the links to plotly's API are broken due to https://stackoverflow.com/questions/73528299/link-to-plotly-graph-objects-figure-with-intersphinx. Possibly future intersphinx
or Plotly fixes this issue, so we can also leave this plotly part as in this PR (Pandas as well).
Let le leave my comments on #4213 (comment):
Point 1: Policy what librariesThis PR only includes a part of libraries used in the Point 2: Test to make sure it worksI just manually checked the warning messages by |
The link seems to be working. Thanks for the PR! |
This pull request has not seen any recent activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry for the delayed response. The change seems reasonable to me, but let me check again after the release of v3.1.
This pull request has not seen any recent activity. |
@toshihikoyanase A friendly reminder :) |
Thanks. I'll check it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry for the delayed response. The change looks great to me.
Maybe we have some follow-up tasks, but I don't think we should fix them in this PR.
"matplotlib": ("https://matplotlib.org/stable", None), | ||
"numpy": ("https://numpy.org/doc/stable", None), | ||
"scipy": ("https://docs.scipy.org/doc/scipy", None), | ||
"sklearn": ("https://scikit-learn.org/stable", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)} | ||
intersphinx_mapping = { | ||
"python": ("https://docs.python.org/3", None), | ||
"distributed": ("https://distributed.dask.org/en/stable", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intersphinx_mapping = { | ||
"python": ("https://docs.python.org/3", None), | ||
"distributed": ("https://distributed.dask.org/en/stable", None), | ||
"lightgbm": ("https://lightgbm.readthedocs.io/en/latest", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"python": ("https://docs.python.org/3", None), | ||
"distributed": ("https://distributed.dask.org/en/stable", None), | ||
"lightgbm": ("https://lightgbm.readthedocs.io/en/latest", None), | ||
"matplotlib": ("https://matplotlib.org/stable", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"distributed": ("https://distributed.dask.org/en/stable", None), | ||
"lightgbm": ("https://lightgbm.readthedocs.io/en/latest", None), | ||
"matplotlib": ("https://matplotlib.org/stable", None), | ||
"numpy": ("https://numpy.org/doc/stable", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"lightgbm": ("https://lightgbm.readthedocs.io/en/latest", None), | ||
"matplotlib": ("https://matplotlib.org/stable", None), | ||
"numpy": ("https://numpy.org/doc/stable", None), | ||
"scipy": ("https://docs.scipy.org/doc/scipy", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"numpy": ("https://numpy.org/doc/stable", None), | ||
"scipy": ("https://docs.scipy.org/doc/scipy", None), | ||
"sklearn": ("https://scikit-learn.org/stable", None), | ||
"torch": ("https://pytorch.org/docs/stable", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"scipy": ("https://docs.scipy.org/doc/scipy", None), | ||
"sklearn": ("https://scikit-learn.org/stable", None), | ||
"torch": ("https://pytorch.org/docs/stable", None), | ||
"pandas": ("https://pandas.pydata.org/docs", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Motivation
Investigation for the category c:
in #4213.
Description of the changes
as described in the issue
conf.py
'sintersphinx_mapping
enables docs to link the external packages.