Fixes doc reference in jinja templates