-
Notifications
You must be signed in to change notification settings - Fork 2.7k
WIP: Fix failing docs on warns #7670
Conversation
|
@TriplEight can you give me a sense of the priority on this as well as estimated effort you think will be required to address it? |
|
@danforbes apparently, failing on warnings didn't ever work for this job. So just a random job succeeds and |
|
I think we can fix all doc warning, this fix almost all of them except nalgebra and authority-discovery #7710 |
* fix docs * Update frame/merkle-mountain-range/src/lib.rs Co-authored-by: Alexander Theißen <[email protected]> Co-authored-by: Alexander Theißen <[email protected]>
|
@mxinden can you help with the broken link in the docs for the authority discovery worker? I think it was committed here https://github.com/paritytech/substrate/pull/7368/files#diff-da93fe21a550b47fbf80544c1d1144276be1b5c39354597883ddce0a935cf39eR96 |
|
@danforbes I pushed f618f8d fixing the link. Thanks for the pointer. |
|
Thanks all! |
|
cargo doc will still complains about nalgebra |
|
any progress on this? |
|
nalgebra will probably never fix for its old version: dimforge/nalgebra#807 So maybe we can do a script on our side to ignore the failing doc of nalgebra or push nalgebra to release the minor version somehow. nalgebra dev is dimforge, https://www.dimforge.com/, he should be reachable and accept donation. that may be a way to solve. |
|
maybe it makes sense to skip these particular ones, merge and have a tracking issue to unskip them? |
|
I don't know how to avoid the ci to test the doc of nalgebra. it is not one of our crate |
|
do we actually care documenting deps? |
|
or |
I think it could work but actually I personally prefer to have deps documented. |
|
so I think it makes sense to add to this job two runs
|
|
wait a sec, it has been without it, doc job fails way earlier, with |
|
FYI the current command either with or |
|
my bad I got confused about nalgebra because when testing locally warning were raised, I fixing master now and will open a PR |
gabreal
left a comment
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.
build-rust-doc job looks like before but everything else is missing.
|
it's still in the debug state |
|
closing for a lack of progress. |
Fixes the previous flag that apparently didn't do the job.
@danforbes I think it would make sense to fix the docs to make CI pass on this job right here. To make this faster, I've removed everything else from CI while this is in WIP state.
It's handy to track the pipelines for this PR with https://gitlab.parity.io/parity/substrate/-/pipelines?page=1&scope=all&ref=7670
To debug: remove
-Dwarningsin https://github.com/paritytech/substrate/pull/7670/files#diff-037ea159eb0a7cb0ac23b851e66bee30fb838ee8d0d99fa331a1ba65283d37f7R133 to see all the warnings at once