Skip to content

Commit 4b30bad

Browse files
authored
Merge pull request #301 from rvsia/fixTableOfContents
Add and fix table of contents where missing
2 parents 8f59272 + d4d92f2 commit 4b30bad

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

packages/react-renderer-demo/src/app/pages/renderer/field-provider.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import RouterNav from 'next/link';
22
import Link from '@material-ui/core/Link';
33

4-
# Field Provider
54
import Grid from '@material-ui/core/Grid'
65
import RawComponent from '@docs/raw-component';
76

@@ -10,6 +9,8 @@ import ListOfContents from '../../src/helpers/list-of-contents';
109
<Grid container item>
1110
<Grid item xs={12} md={10}>
1211

12+
# Field Provider
13+
1314
## Custom components
1415

1516
React form renderer is using [react-final-form](https://github.com/final-form/react-final-form) for form state management.

packages/react-renderer-demo/src/app/pages/renderer/get-started.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
import Grid from '@material-ui/core/Grid'
2+
3+
import ListOfContents from '../../src/helpers/list-of-contents';
4+
5+
<Grid container item>
6+
<Grid item xs={12} md={10}>
7+
18
import RawComponent from '@docs/raw-component';
29

310
# React form renderer
@@ -9,4 +16,10 @@ It uses [React Final Form](https://github.com/final-form/react-final-form) for t
916
It is highly recommended to check their documentations first to fully understand how
1017
the [Data Driven Dorms](https://github.com/data-driven-forms/react-forms) libraries work.
1118

12-
<RawComponent source="get-started/get-started" />
19+
<RawComponent source="get-started/get-started" />
20+
21+
</Grid>
22+
<Grid item xs={false} md={2}>
23+
<ListOfContents file="renderer/get-started" />
24+
</Grid>
25+
</Grid>
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
import Grid from '@material-ui/core/Grid'
2+
3+
import ListOfContents from '../../src/helpers/list-of-contents';
4+
5+
<Grid container item>
6+
<Grid item xs={12} md={10}>
7+
18
# Installation
29

310
```console
@@ -6,4 +13,10 @@ npm install --save @data-driven-forms/react-form-renderer
613
or
714
```console
815
yarn add @data-driven-forms/react-form-renderer
9-
```
16+
```
17+
18+
</Grid>
19+
<Grid item xs={false} md={2}>
20+
<ListOfContents file="renderer/installation" />
21+
</Grid>
22+
</Grid>

0 commit comments

Comments
 (0)