Corrected docs template

Fix for a small issue (missing new-line before `## ...` headers) that makes `docs/api.md` readable.