Skip to content

Commit 6c2c04b

Browse files
committed
Move migration guide to top level navigation
1 parent 68d91a7 commit 6c2c04b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/react-renderer-demo/src/app/pages/renderer/migration-guide.md renamed to packages/react-renderer-demo/src/app/pages/migration-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import Grid from '@material-ui/core/Grid'
22
import RouterLink from 'next/link';
33
import Link from '@material-ui/core/Link';
44

5-
import ListOfContents from '../../src/helpers/list-of-contents';
5+
import ListOfContents from '../src/helpers/list-of-contents';
66

77
<Grid container item>
88
<Grid item xs={12} md={10}>
99

10-
# Migration guide from 1.x to 2.x
10+
# Migration guide to version 2
1111

1212
The release of version 2 brings many new features, that as we hope you will find useful and you will like them.
1313
Also, we took this release as an opportunity to fix mistakes we did during the initial development and to remove some obsolete stuff, that is no longer useful.
@@ -163,6 +163,6 @@ import { componentMapper } from '@data-driven-forms/pf4-component-mapper'
163163
164164
</Grid>
165165
<Grid item xs={false} md={2}>
166-
<ListOfContents file="renderer/migration-guide" />
166+
<ListOfContents file="migration-guide" />
167167
</Grid>
168168
</Grid>

packages/react-renderer-demo/src/app/src/components/navigation/documentation-pages.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,5 @@ export const docs = [
6666
{
6767
component: 'schema-validator',
6868
linkText: 'Schema validation'
69-
},
70-
{
71-
component: 'migration-guide',
72-
linkText: 'Migration guide 1.x to 2.x'
7369
}
7470
];

packages/react-renderer-demo/src/app/src/components/navigation/schema.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ const schema = [
2222
{
2323
linkText: 'Releases',
2424
link: 'releases'
25+
},
26+
{
27+
link: 'migration-guide',
28+
linkText: 'Migration guide to version 2'
2529
}
2630
];
2731

0 commit comments

Comments
 (0)