mant-engine 0.8.0

Structured manual and Markdown document engine used by ManT
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Offline tldr parsing and cache discovery, with optional explicit updates.

mod cache;
mod parser;
#[cfg(feature = "tldr-update")]
mod update;

pub use cache::{
    HostPlatform, TldrCacheError, get_system_tldr_cache_dirs, get_tldr_cache_dir,
    get_tldr_languages, get_tldr_platforms, get_tldr_read_cache_dirs, normalize_tldr_topic,
    read_cached_tldr_page,
};
pub use parser::{TldrPageLocation, TldrParseError, parse_tldr_command, parse_tldr_page};
#[cfg(feature = "tldr-update")]
pub use update::{TldrUpdateError, update_tldr_cache};