Commits

Brian Mearns committed 57b3dd6

Added section anchors to rest i-template. Converted README back to using reST.

  • Participants
  • Parent commits ba3456c

Comments (0)

Files changed (2)

File templ/README.templ

     You should have received a copy of the GNU Affero General Public License
     along with templ.  If not, see <http://www.gnu.org/licenses/>.
 }{
-}{include html.itmpl}{
+}{include rest.itmpl}{
 }{v
     {$ EXAMPLE-TEMPLATE {lambda
         {' :SYNTAX :INTRO :OUTRO :TEMPLATE }
             }
         >>> }
     }}
-}{html "templ - Template Processing Language"
-    {nil}
+}{reST "templ - Template Processing Language"
 
 %Body content
 {'

File templ/rest.itmpl

 
 
                     {glue
+                        {\n} {\n}
+                        ".. _Section-" {ete {implode "." {$ :rest-section-number}}} ":"
+                        {\n} {\n}
                         {$ :title-line}
                         {\n}
                         {$ :line}