-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
812: docs(Reference): Combine front-end and dgeni parsing for api reference. r=davemneo a=afragapane ### Description of the Change Combine front-end and dgeni parsing to create working API reference. ### Test Plan View website and confirm things look as expected. ### Applicable Issues #702 Co-authored-by: afragapane <ahfragapane@gmail.com>
- Loading branch information
Showing
18 changed files
with
508 additions
and
421 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
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
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
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
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
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,25 @@ | ||
// tslint:disable strict-type-predicates | ||
// tslint:disable-next-line no-import-side-effect | ||
import '../polyfill'; | ||
|
||
import { Redirect } from '@reach/router'; | ||
import * as React from 'react'; | ||
import { RouteData } from 'react-static'; | ||
import { Helmet } from '../components'; | ||
import { DocsLoading } from '../layout'; | ||
|
||
interface ReferenceRedirectProps { | ||
readonly redirect: string; | ||
} | ||
|
||
// tslint:disable-next-line:no-default-export export-name | ||
export default () => ( | ||
<> | ||
<Helmet title="NEO•ONE Reference" /> | ||
{/* | ||
// @ts-ignore */} | ||
<RouteData Loader={DocsLoading}> | ||
{({ redirect }: ReferenceRedirectProps) => <Redirect to={redirect} noThrow={typeof window === 'undefined'} />} | ||
</RouteData> | ||
</> | ||
); |
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.