Skip to content

Commit 81b0177

Browse files
tchayensatya164
authored andcommitted
docs: fix wrong URL to 'getting started' (callstack#545)
I've noticed that link to the _getting started_ page in the docs seems to not working as expected since `*.html` extension is added anyway and it makes the link broken: `https://callstack.github.io/react-native-paper/getting-started.html.html`. ### Motivation The documentation is important part of the library and should be working properly. ### Test plan Enter `/docs`, install using `yarn` and run it with `yarn start`. > **NOTE:** _the current version works on localhost and breaks only in the prod env. Suggested change will probably work in both, but needs to be verified by someone who knows the deployment process._
1 parent 241ddb3 commit 81b0177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/src/Home.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default class Home extends React.Component<{}> {
2121
/>
2222
<p>Cross-platform Material Design for React Native</p>
2323
<div {...styles(buttons)}>
24-
<Link {...styles(button, primary)} to="getting-started.html">
24+
<Link {...styles(button, primary)} to="getting-started">
2525
Get started
2626
</Link>
2727
<a

0 commit comments

Comments
 (0)