Skip to content

Commit

Permalink
[Doc] Fix link to documentation root
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Jan 23, 2024
1 parent 9287119 commit 83a027a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@
function replaceNavigationWithVersion(version) {
var location = document.location.href.split('#')[0];
var locationSlices = location.split('/');
var href = [...locationSlices.slice(0, locationSlices.length - 2), version, 'Readme.html'].join('/');
var href = [
...locationSlices.slice(0, locationSlices.length - 2),
version,
'navigation.html',
].join('/');
// fetch the new content
fetch(href)
.then(res => res.text())
Expand Down
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/layout/Error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const Error = (
<ul>
<li>
Check the{' '}
<a href="https://marmelab.com/react-admin/Readme.html">
<a href="https://marmelab.com/react-admin/documentation.html">
react-admin documentation
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion packages/react-admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ yarn add react-admin

1. Read the [Tutorial](https://marmelab.com/react-admin/Tutorial.html) for a 30 minutes introduction.
2. Read the source code of [the demos](https://marmelab.com/react-admin/Demos.html) for real-life examples.
3. Read the [Documentation](https://marmelab.com/react-admin/Readme.html) for a deep dive into the react-admin components and hooks.
3. Read the [Documentation](https://marmelab.com/react-admin/documentation.html) for a deep dive into the react-admin components and hooks.
4. Red the [Architecture decisions](https://marmelab.com/react-admin/Architecture.html) to better understand why features are implemented that way.
5. Check out the [API Reference](https://marmelab.com/react-admin/Reference.html) for a complete list of the public API.
6. Get [Support](#support) for fixing your own problems
Expand Down

0 comments on commit 83a027a

Please sign in to comment.