diff doc/api_reference.rst @ 63:8867b3a5c4fa draft

Some minor fixes.
author David Barts <n5jrn@me.com>
date Thu, 20 Jun 2019 21:52:30 -0700
parents fd8c558a89bb
children
line wrap: on
line diff
--- a/doc/api_reference.rst	Sun Jun 09 14:16:17 2019 -0700
+++ b/doc/api_reference.rst	Thu Jun 20 21:52:30 2019 -0700
@@ -114,7 +114,7 @@
 A ``.pspx`` file is a standard Chameleon template, plus a set of optional *header directives* that may be present to override the default behavior of the created page or its associated route.
 
 ``#end``
-    Marks the last line of the headers. This is not currently necessary, as headers are implicitly ended by the first line which does not start with a leading "#". This directive mainly here to facilitate future support of alternate templating engines.
+    Marks the last line of the headers. This is not currently necessary, as headers are implicitly ended by the first line which does not start with a leading "#". This directive is mainly here to facilitate future support of alternate templating engines.
 
 ``#errors``
     This is an error page which handles the specified error codes; any code-behind associated with this page must be based on the ``tincan.ErrorPage`` class.
@@ -147,7 +147,7 @@
 Templates with No Explicit Code-Behind
 --------------------------------------
 
-Code-behind is optional for both normal and error page templates. If code-behind is not provided, TinCan will use the Page or ErrorPage class as appropriate.
+Code-behind is optional for both normal and error page templates. If code-behind is not provided, TinCan will use the ``Page`` or ``ErrorPage`` class as appropriate.
 
 .. _loading-templates: