docs: add utility binary to generate docs
This commit is contained in:
@ -18,7 +18,7 @@ use proxmox::tools::{fs::replace_file, fs::CreateOptions};
|
||||
use crate::api2::types::*;
|
||||
|
||||
lazy_static! {
|
||||
static ref CONFIG: SectionConfig = init();
|
||||
pub static ref CONFIG: SectionConfig = init();
|
||||
}
|
||||
|
||||
// fixme: define better schemas
|
||||
|
@ -18,7 +18,7 @@ use proxmox::tools::{fs::replace_file, fs::CreateOptions};
|
||||
use crate::api2::types::*;
|
||||
|
||||
lazy_static! {
|
||||
static ref CONFIG: SectionConfig = init();
|
||||
pub static ref CONFIG: SectionConfig = init();
|
||||
}
|
||||
|
||||
pub const REMOTE_PASSWORD_SCHEMA: Schema = StringSchema::new("Password or auth token for remote host.")
|
||||
|
@ -18,7 +18,7 @@ use proxmox::tools::{fs::replace_file, fs::CreateOptions};
|
||||
use crate::api2::types::*;
|
||||
|
||||
lazy_static! {
|
||||
static ref CONFIG: SectionConfig = init();
|
||||
pub static ref CONFIG: SectionConfig = init();
|
||||
}
|
||||
|
||||
#[api(
|
||||
|
@ -20,7 +20,7 @@ use proxmox::tools::{fs::replace_file, fs::CreateOptions};
|
||||
use crate::api2::types::*;
|
||||
|
||||
lazy_static! {
|
||||
static ref CONFIG: SectionConfig = init();
|
||||
pub static ref CONFIG: SectionConfig = init();
|
||||
}
|
||||
|
||||
pub const ENABLE_USER_SCHEMA: Schema = BooleanSchema::new(
|
||||
|
Reference in New Issue
Block a user