Extensions catalog
DevCentr keeps one extensions catalog. A rules template is an entry in that catalog, the same way an Antora UI module is an entry in the Antora Supplemental extensions registry. There is no second store and no second set of names for the same ideas.
The published list is catalog/extensions.json in this repository. The desktop app copies an entry into %USERPROFILE%\.dev-center\extensions\catalog.json when you install it. That file holds the link, not the text of the template.
- Contact
-
DevCentr.org — [email protected]
Where the fields come from
The Antora Supplemental registry (antora-extensions-registry, type ExtensionCatalogEntry) already names an extension like this. DevCentr uses those names. Rules templates set type to rules-template and put the DOCS_TEMPLATE-style link on install.pointer. Antora UI modules use install.orchestrator for a different install step. Both sit on install.
| Idea | DevCentr field | Antora Supplemental field |
|---|---|---|
Id |
|
|
Stable catalog id |
|
|
Name |
|
|
Description |
|
|
Source repository |
|
|
Version |
|
|
Tags |
|
|
Kind |
|
|
Install pointer |
|
|
Path of the file inside the repo |
|
|
repositoryOwner and repositoryName are the same split the Antora catalog uses so a local clone can be found under github.com/<owner>/<name>/<manifestPath>.
What install stores
Install appends the entry. The pointer is the whole install. Example for the default docs template:
"install": {
"pointer": "https://github.com/dev-centr/agent-rules/blob/main/templates/docs-default.md"
}
That URL is the same one orgs record as DOCS_TEMPLATE. The catalog JSON does not contain the template body. Hand-copy of a rules file still works. The Install more templates button opens the store, which records the pointer instead.
Rules editor
The desktop rules editor is the Rules page. The list on the right is the local catalog. Install more templates opens the online store at the extensions storeunchecked. The Extensions page in the app is the same catalog for search and install when you are already in the window. Install there writes the pointer into the local catalog file.
The viewer shows the file when the clone is in the code hive. Otherwise it shows the link. DevCentr does not render AsciiDoc for this page.
The organization site keeps the extensions store at /extensions, including ?type=rules-template. It does not host this editor. /demos/rules-templates on that site is a picture of this panel.