Archetype: doc_field_group.org.mustache
Codegen field-group model (*_field_group.org suffix drives loader dispatch); carries #+brief. Org-mode document scaffold generated from the entity meta-model. The produced `.org` file is tangled into the site build and kept in the org-roam graph.
See the Template variable reference for the complete list of available variables and their semantics.
Template
The full template source. Edit here and re-tangle with
compass build --direct tangle_codegen_templates to regenerate
library/templates/doc_field_group.org.mustache.
{{! GENERATED FILE — tangled from projects/ores.codegen/library/templates/doc.org. Edit the org source. }}
:PROPERTIES:
:ID: {{id}}
:END:
#+title: {{title}}
#+description: {{description}}
#+type: ores.codegen.field_group
#+component: {{component}}
#+component_include: {{component}}.api
#+product: ores
#+entity_singular: {{slug}}
#+namespace: ores::{{component}}::domain
#+brief: {{brief}}
#+filetags: {{filetags}}
#+created: {{date}}
#+updated: {{date}}
(One or two paragraphs: what this group of fields represents, which
parent structs compose it, and why it exists — typically to keep each
rfl::Literal below the MSVC C1202 threshold. See
doc/investigations/msvc_c1202_rfl_complexity.org.)
* Includes
#+begin_src cpp :name includes
#include <string>
#+end_src
* Fields
** example_field
:PROPERTIES:
:cpp_type: std::string
:END:
(Description of the field.)
See also
- Parent facet: Documentation templates
- Template variable reference