docs-matrix-spec/layouts/shortcodes
Richard van der Hoff 5f3b34448d
Add HTML ids for object definitions in the formatted specification (#1174)
* Remove redundant call to resolve-allof

All of the callers to resolve-additional-types already call resolve-allof (or
if not, they should), so this is redundant.

* Update `resolve-additional-types` to take a dict

I want to add more params to this, so first make it take a dict.

* `render-object-table`: take a "title" rather than a "caption"

... which means we can use the result from resolve-additional-types directly.

* render-object-table: support adding an anchor to generated tables.

* resolve-additional-types: generate an id for each returned type

* render-event: pass an anchor_base into resolve-additional-types

This means that it will generate an anchor for each type, whihc will then be
passed into render-object-table and used as an `id` for the table.

* render-operation: pass an anchor_base into resolve-additional-types

* newsfiles
2022-07-19 13:25:30 -06:00
..
boxes Support alerts (notes, warnings, rationales) 2021-01-20 12:34:49 -08:00
changelog Remove matrix-doc changelog hack (#1134) 2022-06-16 10:45:45 -06:00
added-in.html clarify federation Authorization header an add destination property (#1067) 2022-05-30 15:33:56 -06:00
changed-in.html clarify federation Authorization header an add destination property (#1067) 2022-05-30 15:33:56 -06:00
cs-module.html Replace deprecated Page.Dir with Page.File.Dir (#988) 2022-03-29 15:03:41 +01:00
definition.html Add HTML ids for object definitions in the formatted specification (#1174) 2022-07-19 13:25:30 -06:00
event-fields.html Add HTML ids for object definitions in the formatted specification (#1174) 2022-07-19 13:25:30 -06:00
event-group.html Add templates used to render data 2021-08-27 19:16:42 +01:00
event.html Add templates used to render data 2021-08-27 19:16:42 +01:00
http-api.html Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 2021-10-12 11:07:01 -06:00
msgtypes.html Fix typo in comment 2021-08-27 19:16:42 +01:00
proposal-tables.html Fix tab/spaces mix 2021-08-27 19:16:42 +01:00
rver-fragment.html Replace deprecated Page.Dir with Page.File.Dir (#988) 2022-03-29 15:03:41 +01:00
sas-emojis.html Replace sas-emojis template 2021-01-22 14:31:39 -08:00