Update of /cvsroot/happydoc/HappyDoc3/happydoclib/docset/docset_TAL/templates/default
In directory sc8-pr-cvs1:/tmp/cvs-serv3769/happydoclib/docset/docset_TAL/templates/default
Modified Files:
toc.pt
Log Message:
Add other documentation, python files, and subdirectories to the TOC
pages.
Index: toc.pt
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/docset/docset_TAL/templates/default/toc.pt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** toc.pt 16 Mar 2003 16:30:48 -0000 1.1
--- toc.pt 16 Mar 2003 20:33:57 -0000 1.2
***************
*** 11,19 ****
</head>
! <body>
- Table of Contents body.
-
-
</body>
--- 11,86 ----
</head>
! <body
! tal:define="other_documentation python: node.getSubNodes(['text/plain', 'text/x-structured', 'text/html']);
! python_files python: docset.getPythonSubNodes(node);
! subdirectories python: node.getSubNodes(['application/x-directory']);
! ">
!
! <h1 tal:content="subtitle">Subtitle (really contains the local title)</h1>
!
! <div tal:replace="structure description">Description</div>
!
! <hr>
!
! <tal:block tal:condition="other_documentation|nothing">
! <h2>Other Documentation</h2>
!
! <table class="descriptive_list">
!
! <tr tal:repeat="subnode other_documentation">
! <td><a href=""
! tal:attributes="href python: docset.getHREFToNode(node, subnode)"
! tal:content="subnode/getName">
! Plain Text File Name
! </a>
! </td>
! <td tal:content="structure subnode/getOneLiner">
! One line description
! </td>
! </tr>
!
! </table>
! </tal:block>
!
! <tal:block tal:condition="python_files|nothing">
! <h2>Python Files</h2>
!
! <table class="descriptive_list">
!
! <tr tal:repeat="subnode python_files">
! <td><a href=""
! tal:attributes="href python: docset.getHREFToNode(node, subnode)"
! tal:content="subnode/getName">
! Python File Name
! </a>
! </td>
! <td tal:content="structure subnode/getOneLiner">
! One line description
! </td>
! </tr>
!
! </table>
! </tal:block>
!
! <tal:block tal:condition="subdirectories|nothing">
! <h2>Subdirectories</h2>
!
! <table class="descriptive_list">
!
! <tr tal:repeat="subnode subdirectories">
! <td><a href=""
! tal:attributes="href python: docset.getHREFToNode(node, subnode)"
! tal:content="subnode/getName">
! Directory Name
! </a>
! </td>
! <td tal:content="structure subnode/getOneLiner">
! One line description
! </td>
! </tr>
!
! </table>
! </tal:block>
</body>
|