docs-matrix-spec/layouts/partials
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
..
changelogs Fix changelog 2022-06-16 09:17:08 -06:00
events Add HTML ids for object definitions in the formatted specification (#1174) 2022-07-19 13:25:30 -06:00
hooks Render a single page of the spec in Hugo 2021-01-12 15:31:01 -08:00
json-schema Add HTML ids for object definitions in the formatted specification (#1174) 2022-07-19 13:25:30 -06:00
openapi Add HTML ids for object definitions in the formatted specification (#1174) 2022-07-19 13:25:30 -06:00
added-in.html Start annotating which version of the spec added a thing (#3425) 2021-10-14 13:23:04 -06:00
alert.html Support alerts (notes, warnings, rationales) 2021-01-20 12:34:49 -08:00
breadcrumb.html Attempt to fix broken breadcrumb links 2021-08-27 19:17:07 +01:00
changed-in.html Move prev_content to unsigned (#3524) 2021-12-02 17:22:58 +00:00
footer.html Comments for all the layout templates 2021-01-12 20:45:24 -08:00
navbar.html Use changelogs/release.yaml for the version number source everywhere (#3310) 2021-08-27 19:17:17 +01:00
sidebar-tree.html Comments for all the layout templates 2021-01-12 20:45:24 -08:00
version-banner.html Comments for all the layout templates 2021-01-12 20:45:24 -08:00