Skip to content

Commit

Permalink
Merge pull request #324 from ConsumerDataStandardsAustralia/defect/311
Browse files Browse the repository at this point in the history
Links to schemas land below the schema name
  • Loading branch information
JamesMBligh authored Oct 9, 2023
2 parents 4fa91fa + 33ed9f1 commit 817657b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ This release addresses the following minor defects raised on [Standards Staging]
- [Staging Issue 307 - Incorrect non-normative example](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/307)
- [Staging Issue 308 - Fix link to FAPI section reference](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/308)
- [Staging Issue 309 - Property names wrapping to two lines](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/309)
- [Staging Issue 311 - Links to schemas land below the schema name](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/311)

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

Expand All @@ -41,6 +42,7 @@ This release addresses the following Decision Proposals published on [Standards]
## General Changes
|Change|Description|Link|
|------|-----------|----|
| Links to schemas land below the schema name | **[Standards Staging #311](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/311):** Adjusted anchor links to keep schema name in view when navigating the Standards documentation | All schema Properties tables |
| Line wrapping and scrollbars | **[Standards Staging #305](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/305):** Improved line wrapping and removed horizontal scrollbars in the 'Non-normative Examples' and 'Version Delta' tab column. | [Non-normative Examples](../../?examples)<br>[Version Delta](../../?diff) |
| Release notes for v1.25.0 | **[Standards Maintenance #599](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599):** Updated release notes for v1.25.0. Addresses [this issue comment](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599#issuecomment-1649587194) | [Change Log](../../#change-log) |

Expand Down
7 changes: 7 additions & 0 deletions slate/source/stylesheets/screen.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,13 @@ html, body {
padding-bottom: 1.2em;
background-image: linear-gradient(to bottom, rgba(#fff, 0.2), rgba(#fff, 0));
}

a.schema-anchor {
display: block;
margin-top: -5.1em;
margin-bottom: 5.1em;
padding-top: 1em;
}

// h2s right after h1s should bump right up
// against the h1s.
Expand Down
2 changes: 1 addition & 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,7 @@

<h3 class="schema-toc" id="tocS{{=s.toLowerCase()}}">{{=s}}</h3>

<a id="schema{{=data.title_prefix}}{{=s.toLowerCase()}}"></a>
<a class="schema-anchor" id="schema{{=data.title_prefix}}{{=s.toLowerCase()}}"></a>

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

0 comments on commit 817657b

Please sign in to comment.