Skip to content

Commit

Permalink
Enable generic links to schemas
Browse files Browse the repository at this point in the history
Addresses: #400
  • Loading branch information
nils-work committed Jun 11, 2024
1 parent c7f2f73 commit 3277e50
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion slate/source/includes/introduction/_intro.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@


```diff
Added anchors to allow linking to a schema base (without a specific version) from guidance material
```

These standards have been developed as part of the Australian Government's introduction of the [Consumer Data Right](https://www.accc.gov.au/focus-areas/consumer-data-right "ACCC Consumer Data Right webpage") legislation to give Australians greater control over their data.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Release notes for version v1.31.0 of the [CDR Standards](../../index.html).

This release addresses the following minor defects raised on [Standards Staging](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues):

- [Standards Staging #XXX - Title](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/XXX)
- [Standards Staging #400 - Enable generic links to schemas](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/400)

This release addresses the following change requests raised on [Standards Maintenance](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues):

Expand All @@ -33,9 +33,7 @@ This release addresses the following Decision Proposals published on [Standards]
## General Changes
|Change|Description|Link|
|------|-----------|----|
| Change summary | [**Standards Staging #XXX**](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/XXX): Change detail | [Standards section](../../#section)
| Change summary | [**Standards Maintenance #XXX**](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/XXX): Change detail | [Standards section](../../#section)
| Change summary | [**Decision Proposal #XXX**](https://github.com/ConsumerDataStandardsAustralia/standards/issues/XXX): Change detail | [Standards section](../../#section)
| Enable generic links to schemas | [**Standards Staging #400**](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/400): Added anchors to allow linking to a schema base (without a specific version) from guidance material | Applies to all schemas


## Introduction
Expand Down
5 changes: 4 additions & 1 deletion swagger-gen/widdershins-cdr/templates/openapi3/main.dot
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
<h3 class="schema-toc" id="{{= data.title_prefix }}_schemas_tocS{{=s.toLowerCase() }}">{{= s }}</h3>
<p id="tocS{{=s.toLowerCase()}}" class="orig-anchor"></p>

<a class="schema-anchor" id="schema{{=data.title_prefix}}{{=s.toLowerCase()}}"></a>
<p>
<a id="{{= data.title_prefix }}_schema-base_{{=s.toLowerCase().replace(/v\d+$/, '') }}"></a>
<a class="schema-anchor" id="schema{{=data.title_prefix}}{{=s.toLowerCase()}}"></a>
</p>

{{? data.options.yaml }}
```yaml
Expand Down

0 comments on commit 3277e50

Please sign in to comment.