Project Docs Github
Log in
ittf site docs concepts t overview ittfdocument.html.ittf Edit
  • /ittf/site/docs/concepts/t/overview/ittfdocument.html.ittf
  • /ittf/site/docs/concepts/t/section.html.ittf

/ittf/site/docs/concepts/t/overview/ittfdocument.html.ittf (primary)

edit
                                            
1 $group
2 $
3 var sect = {
4 title: 'ITTF Documents'
5 };
6 section( §)
7 ittf-panel
8 title ITTF Documents are the source files of a Wizzi production
9 schema html
10 ittf
11 html
12 body
13 ul
14 li
15 a The Wizzi Factory
16 href https://stfnbssl.github.io/wizzi
17 p ITTF stands for Indented Text Tree Format,
18 \b a human-friendly text format for representing
19 \b a tree data structure of node names and values.
20 p Every line is a node consisting of a name-value pair.
21 \b The name is the first string of chars of the line and is separated
22 \b from the value by a space or a tab.
23 p Child nodes are indented to their parent.
24 p ITTF Document files can include or mix others ITTF Document files,
25 \b thereon an ITTF Document may consist of one main document and many fragment documents.
26 p Mixed fragments can receive parameters and my have hook nodes where to append child nodes of the merger document.
27 ittf-panel
28 title Main document that includes a fragment.
29 schema html
30 ittf
31 html
32 body
33 $raw header(&page)
34 $raw content(&page)
35 ${'$'}include footer
36 p The root node can be a mix node.
37 ittf-panel
38 title Root node that mixes its container.
39 schema html
40 ittf
41 $ var x = 'layout('
42 ${x} Welcome to my site )
43 ${'$'}append appbar
44 ul
45 ${'$'}foreach item in menulist
46 li
47 a ${'$'}{item.name}
48 href ${'$'}{item.path}
49 . wrapper
50 . content
51 ittf-panel
52 title Sample container
53 schema html
54 ittf
55 html
56 head
57 body
58 header
59 ${'$'}hook appbar
60 section
61 ${'$'}hook
62 ittf-panel
63 title Sample 'mixable' fragment.
64 schema html
65 ittf
66 li
67 ${'$'}params text, href
68 a ${'$'}{text}
69 href ${'$'}{href}
70 p Included fragments are inserted as is and cannot receive parameters.
71 ittf-panel
72 title A sample 'includeable' fragment.
73 schema html
74 ittf
75 div License MIT
76 span copy Stefano Bassoli.
77 h4 Document file name and extension
78 p An ITTF document must have extension '.ittf' and the extension must be preceded by '.' plus the name of
79 \b the Wizzi Schema that typifies the document. For eample `index.js.ittf`.

/ittf/site/docs/concepts/t/section.html.ittf

edit
                                            
1 $group
2 $params §
3 article
4 . doc-title
5 id ${sect.id}
6 + ${sect.title}
7 . doc-summary
8 $hook
Save
Save & Refresh
Cancel