syncdoc_migrate/config.rs
1/// Configuration mode for documentation paths
2#[derive(Debug, Clone, Copy, PartialEq, Eq)]
3pub enum DocsPathMode {
4 /// Path configured in Cargo.toml [package.metadata.syncdoc]
5 /// Macros will be called without path arguments: #[omnidoc], module_doc!()
6 TomlConfig,
7
8 /// Path specified inline in each macro call
9 /// Macros will include path: #[omnidoc(path = "docs")], module_doc!(path = "docs")
10 InlinePaths,
11}