Fix link for api docs in the footer template, issue #1670