more doc template tweaks