Conversation
Signed-off-by: Fredi Raspall <fredi@githedgehog.com>
Signed-off-by: Fredi Raspall <fredi@githedgehog.com>
Signed-off-by: Fredi Raspall <fredi@githedgehog.com>
d4eeb11 to
6b591ab
Compare
Signed-off-by: Fredi Raspall <fredi@githedgehog.com>
Signed-off-by: Fredi Raspall <fredi@githedgehog.com>
.github/workflows/dev.yml
Outdated
|
|
||
| - id: "docs" | ||
| name: "run rustdoc" | ||
| if: ${{matrix.profile.name == 'release'}} |
|
|
||
| #![deny(clippy::all, clippy::pedantic)] | ||
| #![deny(rustdoc::all)] | ||
| #![allow(rustdoc::broken_intra_doc_links)] |
There was a problem hiding this comment.
I'd rather not ignore these reports, could we fix the docs in nat instead?
I took a quick look and the only one I got to fix was:
diff --git i/nat/src/stateful/apalloc/setup.rs w/nat/src/stateful/apalloc/setup.rs
index 71508eb41328..f83f525c44ad 100644
--- i/nat/src/stateful/apalloc/setup.rs
+++ w/nat/src/stateful/apalloc/setup.rs
@@ -19,8 +19,9 @@ use std::time::Duration;
use tracing::debug;
impl NatDefaultAllocator {
- /// Build a [`NatDefaultAllocator`] from information collected from a [`VpcTable`] object. This
- /// information is passed as a [`StatefulNatConfig`].
+ /// Build a [`NatDefaultAllocator`] from information collected from a
+ /// [`VpcTable`][config::external::overlay::vpc::VpcTable] object.
+ /// This information is passed as a [`StatefulNatConfig`].
///
/// # Returns
///Let me know if you got more, if I can reproduce I'm happy to address them in a separate PR.
There was a problem hiding this comment.
I think there were very few. Happy if we fix the docs in each crate, more than brutally disabling the lints as I did.
Allow skipping docs based on label Signed-off-by: Fredi Raspall <fredi@githedgehog.com>
e522b8d to
308ec76
Compare
|
Note: #1069 introduced a conflict with your branch |
| if: ${{ matrix.profile.name == 'release' && !contains(github.event.pull_request.labels.*.name, 'disable-docs') }} | ||
| run: | | ||
| RUSTDOCFLAGS="-D warnings" just \ | ||
| RUSTDOCFLAGS="-D warnings --document-private-items --allow rustdoc::all" just \ |
There was a problem hiding this comment.
What does --allow rustdoc::all do here? Won't it turn off all reports from rustdoc?
|
Can we close this? @Fredi-raspall @qmonnet ? |
|
Oh please don't close it, I'd like work on this to resume and get merged. CI takes so long these days, if we can save on doc builds that's great. |
No description provided.