Implement the bDS2 sync scripting API.

This commit is contained in:
2026-07-20 15:53:31 +02:00
parent b10212d47e
commit 49447ef451
14 changed files with 1140 additions and 51 deletions

View File

@@ -352,7 +352,9 @@ fn user_guide_path() -> PathBuf {
}
fn root_document_path(name: &str) -> PathBuf {
Path::new(env!("CARGO_MANIFEST_DIR")).join("../..").join(name)
Path::new(env!("CARGO_MANIFEST_DIR"))
.join("../..")
.join(name)
}
pub fn parse_document(source: &str) -> ParsedDocument {