-
Notifications
You must be signed in to change notification settings - Fork 699
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 #705 from hshoff/chris--docgen-glyph
docs(vx-glyph): update to codegen
- Loading branch information
Showing
9 changed files
with
17 additions
and
575 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,13 @@ | ||
import React from 'react'; | ||
import GlyphReadme from '!!raw-loader!../../../../vx-glyph/Readme.md'; | ||
import * as Glyph from '../../../../vx-glyph/src'; | ||
import DocPage from '../../components/DocPage'; | ||
import { DocGenInfo } from '../../types'; | ||
|
||
const components = (Object.values(Glyph).map( | ||
component => | ||
// @ts-ignore | ||
component.__docgenInfo, | ||
) as DocGenInfo[]).sort((a, b) => a.displayName.localeCompare(b.displayName)); | ||
|
||
export default () => <DocPage components={components} readme={GlyphReadme} vxPackage="glyph" />; |
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.