Skip to content

Commit e503ab9

Browse files
authored
docs(a11y): update badge text to an exact match of content (#4655)
* docs(preview): add preview to README * docs(a11y): update badge text to an exact match of content
1 parent 673666e commit e503ab9

File tree

1 file changed

+5
-3
lines changed
  • packages/core-theme-documentation-generator/src

1 file changed

+5
-3
lines changed

packages/core-theme-documentation-generator/src/theme.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class SdkThemeContext extends DefaultThemeRenderContext {
143143
return res.json()
144144
})
145145
.then(({ version }) => {
146-
versionEl.alt = "NPM latest version V" + version
146+
versionEl.alt = "npm@latest v" + version
147147
})
148148
.catch(err => {
149149
console.error(err)
@@ -286,8 +286,10 @@ class SdkThemeContext extends DefaultThemeRenderContext {
286286
<div class="documentation-developer-preview">
287287
<h2>New API Documentation - Developer Preview Available</h2>
288288
<p>
289-
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
290-
for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
289+
We are excited to announce the{" "}
290+
<a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/preview/">developer preview</a> of our new
291+
API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave
292+
us your feedback.
291293
</p>
292294
</div>
293295
{oldHeader(props)}

0 commit comments

Comments
 (0)