File: EclipseHelp.zpts

package info (click to toggle)
plastex 3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,132 kB
  • sloc: python: 23,341; xml: 18,076; javascript: 7,755; ansic: 46; makefile: 40; sh: 26
file content (41 lines) | stat: -rw-r--r-- 2,463 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: eclipse-toc
type: xml
<toc tal:attributes="label self/title">
    <topic tal:repeat="part self/fulltableofcontents" tal:attributes="label part/tocEntry/textContent; href part/url">
       <topic tal:repeat="chapter part/fulltableofcontents" tal:attributes="label chapter/tocEntry/textContent; href chapter/url">
          <topic tal:repeat="section chapter/fulltableofcontents" tal:attributes="label section/tocEntry/textContent; href section/url">
             <topic tal:repeat="subsection section/fulltableofcontents" tal:attributes="label subsection/tocEntry/textContent; href subsection/url">
                <topic tal:repeat="subsubsection subsection/fulltableofcontents" tal:attributes="label subsubsection/tocEntry/textContent; href subsubsection/url">
                   <topic tal:repeat="paragraph subsubsection/fulltableofcontents" tal:attributes="label paragraph/tocEntry/textContent; href paragraph/url">
                      <topic tal:repeat="subparagraph paragraph/fulltableofcontents" tal:attributes="label subparagraph/tocEntry/textContent; href subparagraph/url">
                      </topic>
                   </topic>
                </topic>
             </topic>
          </topic>
       </topic>
    </topic>
</toc>

name: eclipse-plugin
type: xml
<plugin tal:attributes="name string:${self/title/textContent}; 
                        provider-name self/author/textContent;
                        id self/id" version="1.0.0">
   <extension point="org.eclipse.help.toc">
      <toc file="eclipse-contents.xml" primary="true" />
   </extension>
</plugin>

name: eclipse-index
type: xml
<index>    
<entry tal:repeat="item self/index" tal:attributes="keyword item/key/textContent">
   <topic tal:condition="python:len(path('item/pages')) &lt;= 1" tal:repeat="page item/pages" tal:attributes="href page/url"/>
   <topic tal:condition="python:len(path('item/pages')) &gt; 1" tal:repeat="page item/pages" tal:attributes="href page/url; title page/currentSection/title/textContent"/>
   <entry tal:repeat="subitem item" tal:attributes="keyword subitem/key/textContent">
      <topic tal:condition="python:len(path('subitem/pages')) &lt;= 1" tal:repeat="subpage subitem/pages" tal:attributes="href subpage/url"/>
      <topic tal:condition="python:len(path('subitem/pages')) &gt; 1" tal:repeat="subpage subitem/pages" tal:attributes="href subpage/url; title subpage/currentSection/title/textContent"/>
   </entry>
</entry>
</index>