ConsumerDataStandardsAustralia / standards-staging

Other
1 stars 0 forks source link

Enable generic links to schemas #400

Closed nils-work closed 10 hours ago

nils-work commented 3 weeks ago

Description The Standards template process currently generates anchor links to schemas including the version number, for example: _#cdr-banking-api_schemastocSbankingaccountv2 to refer to the Banking Account (V2) schema.

Where these links are used in general guidance, they will break when the schema version changes.

Related Work Items Include additional anchor links excluding the version detail, so links used for general guidance (not related to a specific version) can remain valid, increasing the value of guidance and reducing maintenance.

nils-work commented 3 weeks ago

The base schema anchor is derived from the current form: #cdr-banking-api_schemas_tocSbankingaccountv2 becoming: #cdr-banking-api_schema-base_bankingaccount (replace '_schemastocS' with '_schema-base\' and remove vX at the end)