ores.doc.template

Table of Contents

This page is the node for the ores.doc.template facet of the codegen template library, part of the ores.doc technical space. Each archetype below is documented, and holds its mustache source, in its own linked page — this page is the facet-level summary and the routing table to them.

1. Summary

This library's own self-hosting scaffolds: facet, facet_group, technical_space, and archetype docs — the compass add types that generate new nodes in this very physical-space graph.

2. The ores.doc.template facet

Self-hosting in the fullest sense: these templates are mustache sources that render to the org-mode documents that in turn hold other mustache sources, including their own facet's siblings. The doc_facet.org.mustache and doc_facet_group.org.mustache scaffolds are what produced every ores.* facet and facet_group node in this graph, including this document.

3. Mustache incantations

doc_facet.org.mustache contains a delimiter swap ({{=<< >>}} … =) so the GENERATED FILE header example in its own output survives rendering as literal mustache — the same trick this library uses one level up, applied recursively to its own scaffold.

4. The self-hosting scaffolds

The four templates below are the oldest in the library. They predate the ores.* address convention, so their documents are named for the template they hold and carry #+type: knowledge rather than #+type: archetype. The inventory generator reads only ores.* pages, so it cannot list them and the generated * Archetypes table stays empty. The documents are:

Template Document Description
doc_facet.org.mustache doc_facet_org This library's facet doc scaffold: #+facet_group keyword, tangle-workflow blurb, per-template section guidance.
doc_facet_group.org.mustache doc_facet_group_org This library's group doc scaffold: generated * Facets inventory note and shared-conventions section.
doc_technical_space.org.mustache doc_technical_space_org Technical-space node doc scaffold: lists the facets in the technical space, links up to the ores root.
doc_archetype.org.mustache doc_archetype_org Archetype doc scaffold: the per-template literate source page itself.

5. Archetypes

Archetype Description

6. See also

Emacs 29.3 (Org mode 9.6.15)