Skip to content

Commit

Permalink
Merge pull request #713 from hshoff/chris--docgen-mockdata
Browse files Browse the repository at this point in the history
docs(vx-mock-data): update to docgen
  • Loading branch information
williaster authored May 22, 2020
2 parents 428380d + 483dd83 commit e74118e
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 229 deletions.
2 changes: 1 addition & 1 deletion packages/vx-demo/src/components/PackageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default function PackageList({
{!compact && <p>Detect the bounding box of an element & its parent</p>}
</li>
<li className={cx(emphasizePackage === 'mock-data' && 'emphasize')}>
<a href="/static/docs/vx-mock-data.html">@vx/mock-data</a>
<a href="/docs/mock-data">@vx/mock-data</a>
{!compact && <p>Lots of mock data sets to play with</p>}
</li>
<li className={cx(emphasizePackage === 'responsive' && 'emphasize')}>
Expand Down
5 changes: 5 additions & 0 deletions packages/vx-demo/src/pages/docs/Mock-Data.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from 'react';
import MockDataReadme from '!!raw-loader!../../../../vx-mock-data/Readme.md';
import DocPage from '../../components/DocPage';

export default () => <DocPage readme={MockDataReadme} vxPackage="mock-data" />;
183 changes: 0 additions & 183 deletions packages/vx-demo/src/static/docs/vx-mock-data.html

This file was deleted.

Loading

0 comments on commit e74118e

Please sign in to comment.