fn install_in_templates(directory: &Path, depth: usize) -> Result<()>
Adds the declarative renderer tag to complete documents without modifying partials.