Index: trunk/doc/developer/lihata_format/root_project.lht =================================================================== --- trunk/doc/developer/lihata_format/root_project.lht (revision 16845) +++ trunk/doc/developer/lihata_format/root_project.lht (revision 16846) @@ -4,6 +4,38 @@ type=ha desc={Project file root. Except for "common", each software package should create a single subtree under the root; the subtree shall be named after the software package } li:children { + ha:common { + type=ha + desc={project settings that should be common to all software packages} + li:children { + ha:name { valtype=string; desc={long name of the project }} + ha:desc { valtype=string; desc={description of the project }} + ha:url { valtype=string; desc={homepage of the project }} + ha:vcs { valtype=string; desc={main vcs url for the project }} + ha:contact { valtype=string; desc={author/maintainer contact info }} + ha:files { + type=li + desc={ordered list of source files being used by the project} + li:children { + type=ha + ha:path { valtype=string; desc={path to the file, relative to the project file }} + ha:desc { valtype=string; desc={description of the file }} + ha:type { valtype=string; desc={optional: type of the file; one of: "pcb", "schematic", "doc" }} + } + } + ha:libs { + type=li + desc={ordered list of libraries the project depends on} + li:children { + type=ha + ha:path { valtype=string; desc={path to the library, relative to the project file; all files and subdirectories under the root, recursively, are considered part of the library (must not be used together with url) }} + ha:url { valtype=string; desc={url to the library (must not be used together with path) }} + ha:desc { valtype=string; desc={description of the library }} + ha:type { valtype=string; desc={optional: type of the library; one of: "footprint" (for pcb design), "symbol" (for schematic), "sim" (models and subcircuits for e.g. spice simulation) }} + } + } + } + } sy:pcb-rnd-conf-v1 = {/lht_tree_doc/roots/pcb-rnd-conf-v1} } } Index: trunk/doc/developer/lihata_format/tree.html =================================================================== --- trunk/doc/developer/lihata_format/tree.html (revision 16845) +++ trunk/doc/developer/lihata_format/tree.html (revision 16846) @@ -121,6 +121,23 @@
type:name value ver description
ha:geda-project-v1     Project file root. Except for "common", each software package should create a single subtree under the root; the subtree shall be named after the software package +
 ha:common     project settings that should be common to all software packages +
  name string   long name of the project +
  desc string   description of the project +
  url string   homepage of the project +
  vcs string   main vcs url for the project +
  contact string   author/maintainer contact info +
  li:files     ordered list of source files being used by the project +
   type string   optional: type of the file; one of: "pcb", "schematic", "doc" +
   path string   path to the file, relative to the project file +
   desc string   description of the file +
   type string   optional: type of the file; one of: "pcb", "schematic", "doc" +
  li:libs     ordered list of libraries the project depends on +
   type string   optional: type of the library; one of: "footprint" (for pcb design), "symbol" (for schematic), "sim" (models and subcircuits for e.g. spice simulation) +
   path string   path to the library, relative to the project file; all files and subdirectories under the root, recursively, are considered part of the library (must not be used together with url) +
   url string   url to the library (must not be used together with path) +
   desc string   description of the library +
   type string   optional: type of the library; one of: "footprint" (for pcb design), "symbol" (for schematic), "sim" (models and subcircuits for e.g. spice simulation)
 li:pcb-rnd-conf-v1     complete pcb-rnd configuration tree ->

li:pcb-rnd-subcircuit-v*

Index: trunk/doc/developer/lihata_format/tree.txt =================================================================== --- trunk/doc/developer/lihata_format/tree.txt (revision 16845) +++ trunk/doc/developer/lihata_format/tree.txt (revision 16846) @@ -114,9 +114,26 @@ ha:geda-project-v1 -type:name value ver description -ha:geda-project-v1 Project file root. Except for "common", each software package should create a single subtree under the root; the subtree shall be named after the software package - li:pcb-rnd-conf-v1 complete pcb-rnd configuration tree -> +type:name value ver description +ha:geda-project-v1 Project file root. Except for "common", each software package should create a single subtree under the root; the subtree shall be named after the software package + ha:common project settings that should be common to all software packages + name string long name of the project + desc string description of the project + url string homepage of the project + vcs string main vcs url for the project + contact string author/maintainer contact info + li:files ordered list of source files being used by the project + type string optional: type of the file; one of: "pcb", "schematic", "doc" + path string path to the file, relative to the project file + desc string description of the file + type string optional: type of the file; one of: "pcb", "schematic", "doc" + li:libs ordered list of libraries the project depends on + type string optional: type of the library; one of: "footprint" (for pcb design), "symbol" (for schematic), "sim" (models and subcircuits for e.g. spice simulation) + path string path to the library, relative to the project file; all files and subdirectories under the root, recursively, are considered part of the library (must not be used together with url) + url string url to the library (must not be used together with path) + desc string description of the library + type string optional: type of the library; one of: "footprint" (for pcb design), "symbol" (for schematic), "sim" (models and subcircuits for e.g. spice simulation) + li:pcb-rnd-conf-v1 complete pcb-rnd configuration tree -> li:pcb-rnd-subcircuit-v*