-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
DOC/CI: Add Github Action cron job to check external links in documentation #45409
Comments
take |
Hi , is anyone working on this issue ? |
@ggold7046 all yours! |
I need a little guidance here. How to do this exactly ? |
Hi @pmeier could you help me in this ? |
@ggold7046 This is (correctly) not marked as beginner issue. If you still want to have a go at this, I would only work on 1. for now. You first should run the builtin Line 32 in aa4922a
Inside this method, you likely can just call Line 118 in aa4922a
with For 2. and 3. knowledge about GitHub Actions is needed. |
@pmeier , I ran
gitpod@pandasdev-pandas-4uhxurlgnuc:/workspace/pandas/doc$ sphinx-build -b linkcheck source build output.html
( index: line 18) ok https://pypi.org/project/pandas
( index: line 18) ok https://pypi.org/project/pandas
( index: line 18) ok https://pypi.org/project/pandas Though I coudn't find the output.html file that I entered, but there is output.txt file which says Could you give some idea about the linkcheck method ? Do I need to use beautifulsoup4 ? |
It seems you can just do a Line 118 in aa4922a
how it is done for the actual doc builds.
I don't see a reason why. |
I'm having the following trouble. Though I have given gitpod the read/write permission to the public repos.
I even tried to remove the changes :
But the problem persists. |
Not sure what you mean here. You can't decide the permissions for any repos other than your own. You most certainly don't have write permissions to this repository. I'm a little confused why it complains about the Other than that, I don't have any experience with GitPod. I can't help you here. Your best bet is to open an issue on the tracker detailing what you did and what is not working. |
@pmeier, could you please look into this code and the issue |
I have made some changes to the code. @pmeier , could you please have a look at the above issue ? |
@pmeier , could you tell me how to approach the github action part ? |
Hi @mroeschke, could you tell me if pandas participating in this year's 2023 hactober's fest ? |
Probably not, no |
Hi @mroeschke, could you please review this PR #55246 and suggest if any changes are needed ? As long as this PR is opened I can't move to the next part. |
* Create broken-linkcheck.yml Created a Github Action to run the Sphinx linkcheck monthly. #45409 * Update broken-linkcheck.yml * Update broken-linkcheck.yml * Update broken-linkcheck.yml * Update broken-linkcheck.yml * Update broken-linkcheck.yml * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update broken-linkcheck.yml * Update broken-linkcheck.yml * Update broken-linkcheck.yml * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update broken-linkcheck.yml * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update broken-linkcheck.yml * Update broken-linkcheck.yml * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update broken-linkcheck.yml * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update conf.py Added Ignore list for broken link checks * Update conf.py #55246 This is an ignore list for broken links found in CI run checks for broken-linkcheck.yml * Update doc/source/conf.py Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update conf.py * Update conf.py * Update conf.py * Update conf.py * Update conf.py * Update conf.py * Update broken-linkcheck.yml * Update doc/source/conf.py Co-authored-by: Philip Meier <github.pmeier@posteo.de> * Update conf.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> * Update conf.py * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> * Update conf.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update conf.py * Update conf.py * Update conf.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update .github/workflows/broken-linkcheck.yml Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> * Update broken-linkcheck.yml * Update conf.py --------- Co-authored-by: Philip Meier <github.pmeier@posteo.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
Hi @mroeschke , could you please tell me how to proceed with the 3rd part of this problem ? |
doc/make.py
to runsphinx-build -b linkcheck
. May need to modifydoc/source/conf.py
to ignore some expected link errors.Docs
andGood First Issue
The text was updated successfully, but these errors were encountered: