Component Docs Generation is platform dependent #22198
Labels
domain: dev
Anything related to Vector's development environment
domain: external docs
Anything related to Vector's external, public documentation
type: bug
A code related bug.
Summary
Configuration options behind features flags are compiled away when the feature is off.
When
make generate-component-docs
is run, the config options are removed from the docs.Example
https://github.com/vectordotdev/vector/pull/22033/files#r1914968929
Proposed Solutions
rustdoc
and#[cfg(doc)]
. For example, see theAvailable on Unix only.
label in https://doc.rust-lang.org/std/os/unix/fs/fn.symlink.html.The text was updated successfully, but these errors were encountered: