pub trait BackendCompileParams {
// Required methods
fn docs_directory(&self) -> &Path;
fn build_directory(&self) -> &Path;
fn output_directory(&self) -> &Path;
fn evaluate_directive(
&self,
tag: &str,
) -> HyperlitResult<DirectiveEvaluation<'_>>;
fn set_segment_included(
&mut self,
segment_id: SegmentId,
) -> HyperlitResult<()>;
}Expand description
Parameters for the compilation process
Required Methods§
Sourcefn docs_directory(&self) -> &Path
fn docs_directory(&self) -> &Path
Path to the directory containing the documentation files
Sourcefn build_directory(&self) -> &Path
fn build_directory(&self) -> &Path
Path to the directory where the documentation will be built
Sourcefn output_directory(&self) -> &Path
fn output_directory(&self) -> &Path
Path to the directory where the documentation will be output
Sourcefn evaluate_directive(
&self,
tag: &str,
) -> HyperlitResult<DirectiveEvaluation<'_>>
fn evaluate_directive( &self, tag: &str, ) -> HyperlitResult<DirectiveEvaluation<'_>>
Retrieve all segments containing the given tag
Sourcefn set_segment_included(&mut self, segment_id: SegmentId) -> HyperlitResult<()>
fn set_segment_included(&mut self, segment_id: SegmentId) -> HyperlitResult<()>
Mark a segment as included in the output