Index: root_board.lht =================================================================== --- root_board.lht (revision 16818) +++ root_board.lht (revision 16819) @@ -220,7 +220,7 @@ } } } - sy:conf = {/lht_tree_doc/roots/conf} + sy:conf = {/lht_tree_doc/roots/pcb-rnd-conf-v1} sy:data = {/lht_tree_doc/comm/data} sy:attributes@dup = {/lht_tree_doc/comm/attributes} } Index: root_conf.lht =================================================================== --- root_conf.lht (revision 16818) +++ root_conf.lht (revision 16819) @@ -1,7 +1,22 @@ ha:lht_tree_doc { ha:roots { - ha:conf { - TODO + ha:pcb-rnd-conf-v1 { + type=li + desc=complete pcb-rnd configuration tree + li:children { + ha:overwrite { + type=ha + desc={overwrite values while merging; children: a full or partial config tree} + } + ha:prepend { + type=ha + desc={prepend values while merging; children: a full or partial config tree} + } + ha:append { + type=ha + desc={append values while merging; children: a full or partial config tree} + } + } } }} Index: tree.html =================================================================== --- tree.html (revision 16818) +++ tree.html (revision 16819) @@ -79,16 +79,19 @@
type:name | value | ver | description - |
---|---|---|---|
conf | + | ||
li:pcb-rnd-conf-v1 | complete pcb-rnd configuration tree + | ||
ha:overwrite | overwrite values while merging; children: a full or partial config tree + | ||
ha:prepend | prepend values while merging; children: a full or partial config tree + | ||
ha:append | append values while merging; children: a full or partial config tree |
Each table below describes a subtree that usually does not specify a whole tree (thus they are usually not a valid file on their own). These subtrees are described in a separate table because they are used from multiple other trees. Index: tree.txt =================================================================== --- tree.txt (revision 16818) +++ tree.txt (revision 16819) @@ -76,15 +76,18 @@ net string net name whose attribute needs to be changed key string key (name) of the attribute val string new value of the attribute - conf -> + li:conf complete pcb-rnd configuration tree -> ha:data Layers and global objects of the board -> ha:attributes a hash of attribute key=value pairs attrib-key string attribute value -:conf +li:pcb-rnd-conf-v1 -type:name value ver description -conf +type:name value ver description +li:pcb-rnd-conf-v1 complete pcb-rnd configuration tree + ha:overwrite overwrite values while merging; children: a full or partial config tree + ha:prepend prepend values while merging; children: a full or partial config tree + ha:append append values while merging; children: a full or partial config tree Common subtrees