Skip to content

Commit

Permalink
Merge pull request #3859 from SamRemis/doc-bugfix
Browse files Browse the repository at this point in the history
Fix broken docs fragment
  • Loading branch information
nateprewitt authored Sep 13, 2023
2 parents 5ad14d6 + 353fc5b commit 22afc15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/_static/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function isValidFragment(splitFragment) {
}
// Checks if a name is a possible resource name.
function isValidResource(name, serviceDocName) {
return name.replaceAll('-', '') !== serviceDocName && !nonResourceSubHeadings.includes(name);
return name !== serviceDocName.replaceAll('-', '') && !nonResourceSubHeadings.includes(name);
}
// Reroutes previously existing links to the new path.
// Old: <root_url>/reference/services/s3.html#S3.Client.delete_bucket
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
});
shortbread.checkForCookieConsent();
</script>
<a href="http://aws.amazon.com/privacy">Privacy</a> | <a href="http://aws.amazon.com/terms">Site Terms</a> | <a
<a href="https://aws.amazon.com/privacy">Privacy</a> | <a href="https://aws.amazon.com/terms">Site Terms</a> | <a
href="#" onclick="shortbread.customizeCookies();">Cookie preferences</a>
</div>
{# end of AWS modification of Furo template #}
Expand Down

0 comments on commit 22afc15

Please sign in to comment.