Files
RustProxy/src/admin/documentation/documents.rs
T
2026-11-25 15:47:34 +01:00

49 lines
2.0 KiB
Rust

macro_rules! reader_doc {
($path:literal, $category:literal) => {
(
$path,
$category,
include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/", $path)),
)
};
}
pub(super) static READER_DOCUMENTS: &[(&str, &str, &str)] = &[
reader_doc!("README.md", "project"),
reader_doc!("CHANGELOG.md", "project"),
reader_doc!("LICENSE", "project"),
reader_doc!("docs/README.md", "guides"),
reader_doc!("docs/FEATURES.md", "guides"),
reader_doc!("docs/SCREENSHOTS.md", "guides"),
reader_doc!("docs/INSTALL.md", "guides"),
reader_doc!("docs/CONFIGURATION.md", "guides"),
reader_doc!("docs/POLICY.md", "guides"),
reader_doc!("docs/HEADLESS.md", "guides"),
reader_doc!("docs/VHOSTS.md", "guides"),
reader_doc!("docs/CUSTOM_LOCATIONS.md", "guides"),
reader_doc!("docs/LOAD_BALANCING.md", "guides"),
reader_doc!("docs/ACCESS.md", "guides"),
reader_doc!("docs/WEB_SERVER.md", "guides"),
reader_doc!("docs/PHP_FPM.md", "guides"),
reader_doc!("docs/CACHE.md", "guides"),
reader_doc!("docs/CACHE_TEMPLATE_LIBRARY.md", "guides"),
reader_doc!("docs/VCL.md", "guides"),
reader_doc!("docs/VCL_SUPPORT_MATRIX.md", "guides"),
reader_doc!("docs/VCL_TRAFFIC_COOKBOOK.md", "guides"),
reader_doc!("docs/RESPONSE_DELIVERY.md", "guides"),
reader_doc!("docs/TRANSPORT.md", "guides"),
reader_doc!("docs/STREAMS.md", "guides"),
reader_doc!("docs/CERTIFICATES.md", "guides"),
reader_doc!("docs/DOCKER_DISCOVERY.md", "guides"),
reader_doc!("docs/DASHBOARD.md", "guides"),
reader_doc!("docs/MONITORING.md", "guides"),
reader_doc!("docs/LOGS.md", "guides"),
reader_doc!("docs/BACKUP.md", "guides"),
reader_doc!("docs/MIGRATION.md", "guides"),
reader_doc!("docs/SECURITY.md", "guides"),
reader_doc!("docs/API.md", "guides"),
reader_doc!("docs/PERFORMANCE.md", "guides"),
reader_doc!("docs/TROUBLESHOOTING.md", "guides"),
reader_doc!("integrations/opnsense-acme/README.md", "guides"),
];