diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2 index 28f4596706..c646a0e13f 100644 --- a/hacking/templates/rst.j2 +++ b/hacking/templates/rst.j2 @@ -2,6 +2,13 @@ @{ module }@ ++++++++++++++++++++++++++++++++++++++ +{% if author %} +:Author: @{ author }@ +{% endif %} + +.. contents:: + :local: + :depth: 1 {# ------------------------------------------ # @@ -10,6 +17,9 @@ # --------------------------------------------#} +Synopsis +-------- + {% if version_added is defined -%} .. versionadded:: @{ version_added }@ {% endif %} @@ -19,6 +29,9 @@ {% endfor %} {% if options -%} +Options +------- + .. raw:: html