Skip to content

Commit

Permalink
docs(a11y): update badge text to an exact match of content (#4655)
Browse files Browse the repository at this point in the history
* docs(preview): add preview to README

* docs(a11y): update badge text to an exact match of content
  • Loading branch information
MYoung25 committed Apr 24, 2023
1 parent 673666e commit e503ab9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/core-theme-documentation-generator/src/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class SdkThemeContext extends DefaultThemeRenderContext {
return res.json()
})
.then(({ version }) => {
versionEl.alt = "NPM latest version V" + version
versionEl.alt = "npm@latest v" + version
})
.catch(err => {
console.error(err)
Expand Down Expand Up @@ -286,8 +286,10 @@ class SdkThemeContext extends DefaultThemeRenderContext {
<div class="documentation-developer-preview">
<h2>New API Documentation - Developer Preview Available</h2>
<p>
We are excited to announce the <a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/preview/">developer preview</a> of our new API documentation
for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
We are excited to announce the{" "}
<a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/preview/">developer preview</a> of our new
API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave
us your feedback.
</p>
</div>
{oldHeader(props)}
Expand Down

0 comments on commit e503ab9

Please sign in to comment.