-
Notifications
You must be signed in to change notification settings - Fork 683
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #704 from hshoff/chris--docgen-geo
docs(vx-geo): convert to docgen
- Loading branch information
Showing
16 changed files
with
51 additions
and
502 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React from 'react'; | ||
import GeoReadme from '!!raw-loader!../../../../vx-geo/Readme.md'; | ||
import Graticule from '../../../../vx-geo/src/graticule/Graticule'; | ||
import Albers from '../../../../vx-geo/src/projections/Albers'; | ||
import AlbersUsa from '../../../../vx-geo/src/projections/AlbersUsa'; | ||
import CustomProjection from '../../../../vx-geo/src/projections/CustomProjection'; | ||
import EqualEarth from '../../../../vx-geo/src/projections/EqualEarth'; | ||
import Mercator from '../../../../vx-geo/src/projections/Mercator'; | ||
import NaturalEarth from '../../../../vx-geo/src/projections/NaturalEarth'; | ||
import Orthographic from '../../../../vx-geo/src/projections/Orthographic'; | ||
import Projection from '../../../../vx-geo/src/projections/Projection'; | ||
import DocPage from '../../components/DocPage'; | ||
import { DocGenInfo } from '../../types'; | ||
|
||
const components = [ | ||
// @ts-ignore | ||
Projection.__docgenInfo, | ||
// @ts-ignore | ||
Graticule.__docgenInfo, | ||
// @ts-ignore | ||
Albers.__docgenInfo, | ||
// @ts-ignore | ||
AlbersUsa.__docgenInfo, | ||
// @ts-ignore | ||
CustomProjection.__docgenInfo, | ||
// @ts-ignore | ||
EqualEarth.__docgenInfo, | ||
// @ts-ignore | ||
Mercator.__docgenInfo, | ||
// @ts-ignore | ||
NaturalEarth.__docgenInfo, | ||
// @ts-ignore | ||
Orthographic.__docgenInfo, | ||
] as DocGenInfo[]; | ||
|
||
export default () => <DocPage components={components} readme={GeoReadme} vxPackage="geo" />; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.