[Merged by Bors] - Adds docs deadlinks check on CI#1590
[Merged by Bors] - Adds docs deadlinks check on CI#1590mnmaita wants to merge 8 commits intobevyengine:mainfrom
Conversation
|
Since you're running the CI job on Linux, you'll need to add a step to install the Linux build dependencies. 😄 Lines 32 to 33 in f61e44d |
Thanks! I just figured that out. 😅 Will be fixing it in a few. ;) BTW, should I use |
|
f88b77a to
74255e2
Compare
74255e2 to
084674f
Compare
|
The dead links have to be fixed as well! Otherwise this PR won't pass CI. 😆 |
|
I... think there are too many dead links to ask it as part of this PR. Around 7000? We could:
|
That number is high enough to make me suspicious that it's not functioning as intended. |
|
I checked a few, it seems they all come from methods from the crate |
This will make the job a source of information on which links are broken, since a considerable amount is missing from the docs.
|
I changed this so the deadlinks check doesn't fail, is this acceptable? I'm not 100% sure on how these are fixed to be honest, any tips? |
Hmm...links from documentation of dependencies of Bevy is probably not helpful. |
|
ok, after digging more :
so... I think this is not worth it right now, maybe take a look after |
|
Thanks for looking into it! (I agree) |
|
fixed a few dead links from rust std: rust-lang/rust#82950, that will be available in two versions so... 2021/05/06 |
|
What happens if you |
|
@MinerSebas makes a good point that there's no need to check dependencies' documentation links. 👍🏼 |
So should I add BTW, I've read that |
Yup, you run |
|
To answer your first question: Add |
It's done. I've also updated the branch. |
|
Looks good to me. Lets merge this! Anyone want to volunteer to create a tracking issue / lead the effort for resolving deadlinks so we can make this job fail on deadlink detection? |
|
bors r+ |
Closes #1579 This is my first contribution to this repository, feel free to correct anything that I'm missing and I'll address feedback as soon as possible!
|
#1983 for tracking known dead link sources |
|
Pull request successfully merged into main. Build succeeded: |
Closes bevyengine#1579 This is my first contribution to this repository, feel free to correct anything that I'm missing and I'll address feedback as soon as possible!
Closes #1579
This is my first contribution to this repository, feel free to correct anything that I'm missing and I'll address feedback as soon as possible!