fixed bug where templates outside of base level docs directory caused compiler failure