Skip to content

Commit d5cf586

Browse files
06180618
andauthored
fix(docs): links and link checker (#3103)
Co-authored-by: 0618 <[email protected]>
1 parent a5b8696 commit d5cf586

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/cypress/e2e/links.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ describe(`All pages on Sitemap`, () => {
3838
/** Check all the internal links */
3939
cy.get(`a[href^='/']`).each((el) => hrefOnSitemap(el, link, allLinks));
4040

41-
/** Check all the external links and internal links with hash */
42-
cy.get(`a:not([href^='/']), a[href*='#']`).each((el) =>
41+
/** Check all the external links */
42+
cy.get(`a:not([href^='/'])`).each((el) =>
4343
hrefWorks(el, link, requestedLinks)
4444
);
4545
});

docs/src/pages/[platform]/getting-started/migration/migration.react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ If your application is using right to left directionality, the example below sho
4949
- <View dir="rtl">
5050
+ <ThemeProvider direction="rtl">
5151
```
52-
Also see: [Internationalization](../../getting-started/internationalization)
52+
Also see: [Internationalization](/getting-started/internationalization)
5353

5454
#### 3. `@aws-amplify/[email protected]` removes legacy component exports
5555

docs/src/pages/[platform]/getting-started/troubleshooting/troubleshooting.react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default defineConfig({
9191
9292
## Create React App
9393
94-
When using [Geo components](../../connected-components/geo) and Create React App v5, users may experience the following error when rendering the `<MapView>` component in a production build:
94+
When using [Geo components](/connected-components/geo) and Create React App v5, users may experience the following error when rendering the `<MapView>` component in a production build:
9595
```bash
9696
Uncaught ReferenceError: g is not defined
9797
```

docs/src/pages/[platform]/getting-started/usage/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Usage
33
metaDescription: How to get started using Amplify UI.
4-
supportedFrameworks: react|angular|vue
4+
supportedFrameworks: react|angular|vue|react-native
55
---
66

77
import { Fragment } from '@/components/Fragment';

0 commit comments

Comments
 (0)