MCPcopy Create free account
hub / github.com/PerroEngine/Perro / docs_index_does_not_include_book_pages

Function docs_index_does_not_include_book_pages

perro_website/src/docs.rs:354–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

352 let mut failures = Vec::new();
353
354 for doc in docs()
355 .iter()
356 .filter(|doc| doc.collection == "docs")
357 .filter(|doc| doc.slug.starts_with("scripting/contexts/"))
358 {
359 for heading in api_ref_headings(&doc.markdown) {
360 if !source_names.contains(&heading) {
361 failures.push(format!("{} has no source API `{heading}`", doc.slug));

Callers

nothing calls this directly

Calls 1

docs_pagesFunction · 0.85

Tested by

no test coverage detected