Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable generic links to schemas #401

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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