2021-03-03 04:37:43 -07:00
|
|
|
module.exports = {
|
|
|
|
title: 'VisionCamera',
|
|
|
|
tagline: '📸 The Camera library that sees the vision.',
|
2021-06-21 14:42:46 -06:00
|
|
|
url: 'https://mrousavy.github.io',
|
2021-03-03 04:49:31 -07:00
|
|
|
baseUrl: '/react-native-vision-camera/',
|
2021-03-03 04:37:43 -07:00
|
|
|
onBrokenLinks: 'throw',
|
2021-03-23 08:28:31 -06:00
|
|
|
onBrokenMarkdownLinks: 'throw',
|
2021-03-03 04:37:43 -07:00
|
|
|
favicon: './favicon.ico',
|
2021-06-21 14:42:46 -06:00
|
|
|
organizationName: 'mrousavy',
|
2021-03-03 04:37:43 -07:00
|
|
|
projectName: 'react-native-vision-camera',
|
|
|
|
themeConfig: {
|
2021-03-11 03:25:08 -07:00
|
|
|
algolia: {
|
|
|
|
apiKey: 'ab7f44570bb62d0e07c0f7d92312ed1a',
|
|
|
|
indexName: 'react-native-vision-camera',
|
|
|
|
},
|
2021-05-06 06:11:55 -06:00
|
|
|
prism: {
|
|
|
|
additionalLanguages: ['swift'],
|
|
|
|
},
|
2021-03-03 04:37:43 -07:00
|
|
|
navbar: {
|
|
|
|
title: 'VisionCamera',
|
|
|
|
logo: {
|
|
|
|
alt: 'Logo',
|
2021-03-04 10:14:07 -07:00
|
|
|
src: './android-chrome-192x192.png',
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Guides',
|
2021-03-23 08:25:27 -06:00
|
|
|
to: 'docs/guides',
|
2021-03-03 04:37:43 -07:00
|
|
|
position: 'left',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
to: 'docs/api',
|
|
|
|
label: 'API',
|
|
|
|
position: 'left'
|
|
|
|
},
|
2021-03-04 06:10:14 -07:00
|
|
|
{
|
2021-06-21 14:42:46 -06:00
|
|
|
href: 'https://github.com/mrousavy/react-native-vision-camera/tree/main/example',
|
2021-03-04 06:10:14 -07:00
|
|
|
label: 'Example App',
|
|
|
|
position: 'left'
|
|
|
|
},
|
2021-03-03 04:37:43 -07:00
|
|
|
{
|
2021-06-21 14:42:46 -06:00
|
|
|
href: 'https://github.com/mrousavy/react-native-vision-camera',
|
2021-03-03 04:37:43 -07:00
|
|
|
label: 'GitHub',
|
|
|
|
position: 'right',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
style: 'dark',
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
title: 'Docs',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Guides',
|
2021-03-23 08:25:27 -06:00
|
|
|
to: 'docs/guides'
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'API',
|
|
|
|
to: 'docs/api',
|
|
|
|
},
|
2021-03-04 06:14:04 -07:00
|
|
|
{
|
|
|
|
label: 'Example App',
|
2021-06-21 14:42:46 -06:00
|
|
|
href: 'https://github.com/mrousavy/react-native-vision-camera/tree/main/example',
|
2021-03-04 06:14:04 -07:00
|
|
|
},
|
2021-03-03 04:37:43 -07:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Community',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'GitHub discussions',
|
2021-06-21 14:42:46 -06:00
|
|
|
href: 'https://github.com/mrousavy/react-native-vision-camera/discussions',
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
|
|
|
{
|
2021-03-04 06:14:04 -07:00
|
|
|
label: 'Twitter (@mrousavy)',
|
2021-03-03 04:37:43 -07:00
|
|
|
href: 'https://twitter.com/mrousavy',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'More',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'GitHub',
|
2021-06-21 14:42:46 -06:00
|
|
|
href: 'https://github.com/mrousavy/react-native-vision-camera',
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
2021-03-05 02:59:55 -07:00
|
|
|
{
|
2021-06-21 14:42:46 -06:00
|
|
|
label: 'Marc\'s Portfolio',
|
|
|
|
href: 'https://mrousavy.github.io',
|
2021-03-05 02:59:55 -07:00
|
|
|
},
|
2021-03-03 04:37:43 -07:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2021-06-21 14:42:46 -06:00
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} Marc Rousavy`,
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'@docusaurus/preset-classic',
|
|
|
|
{
|
|
|
|
docs: {
|
|
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
|
|
// Please change this to your repo.
|
|
|
|
editUrl:
|
2021-06-21 14:42:46 -06:00
|
|
|
'https://github.com/mrousavy/react-native-vision-camera/edit/main/docs/',
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
'docusaurus-plugin-typedoc',
|
|
|
|
{
|
2021-03-07 06:16:11 -07:00
|
|
|
name: 'VisionCamera',
|
2021-03-03 04:37:43 -07:00
|
|
|
entryPoints: ['../src'],
|
2021-03-03 06:04:46 -07:00
|
|
|
exclude: "../src/index.ts",
|
2021-03-04 02:38:42 -07:00
|
|
|
tsconfig: '../tsconfig.docs.json',
|
2021-03-07 06:16:11 -07:00
|
|
|
excludePrivate: true,
|
|
|
|
excludeProtected: true,
|
|
|
|
excludeExternals: true,
|
2021-03-08 10:35:45 -07:00
|
|
|
excludeInternal: true,
|
2021-03-03 04:37:43 -07:00
|
|
|
readme: "none",
|
|
|
|
sidebar: {
|
|
|
|
sidebarFile: 'typedoc-sidebar.js',
|
2021-03-03 13:20:20 -07:00
|
|
|
fullNames: false,
|
|
|
|
indexLabel: 'Overview'
|
|
|
|
}
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
};
|