Skip to content

Commit

Permalink
docs(vx-curve): update to docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed May 13, 2020
1 parent 495791a commit f195939
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 141 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 @@ -27,7 +27,7 @@ export default function PackageList({
{!compact && <p>Annotate your coordinate system</p>}
</li>
<li className={cx(cx(emphasizePackage === 'curve' && 'emphasize'))}>
<a href="/static/docs/vx-curve.html">@vx/curve</a>
<a href="/docs/curve">@vx/curve</a>
{!compact && <p>d3 line interpolators for @vx/shape</p>}
</li>
<li className={cx(emphasizePackage === 'glyph' && 'emphasize')}>
Expand Down
5 changes: 5 additions & 0 deletions packages/vx-demo/src/pages/docs/Curve.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from 'react';
import CurveReadme from '!!raw-loader!../../../../vx-curve/Readme.md';
import DocPage from '../../components/DocPage';

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

This file was deleted.

0 comments on commit f195939

Please sign in to comment.