2021-03-03 04:37:43 -07:00
|
|
|
module.exports = {
|
|
|
|
title: 'VisionCamera',
|
|
|
|
tagline: '📸 The Camera library that sees the vision.',
|
2023-03-08 01:26:24 -07:00
|
|
|
url: 'https://react-native-vision-camera.com',
|
2023-03-06 03:03:40 -07:00
|
|
|
baseUrl: '/',
|
2021-03-03 04:37:43 -07:00
|
|
|
onBrokenLinks: 'throw',
|
2021-03-23 08:28:31 -06:00
|
|
|
onBrokenMarkdownLinks: 'throw',
|
2023-03-16 11:22:59 -06: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: {
|
2023-09-29 06:11:45 -06:00
|
|
|
appId: 'NRK7PZXU6O',
|
|
|
|
apiKey: '33d54e627c4587a6d8dbff79d5209e46',
|
2023-09-29 06:16:36 -06:00
|
|
|
indexName: 'react-native-vision-camera2',
|
2021-03-11 03:25:08 -07:00
|
|
|
},
|
2023-09-25 04:57:03 -06:00
|
|
|
colorMode: {
|
|
|
|
respectPrefersColorScheme: true
|
|
|
|
},
|
2021-05-06 06:11:55 -06:00
|
|
|
prism: {
|
2023-09-26 05:09:11 -06:00
|
|
|
theme: require('prism-react-renderer/themes/github'),
|
|
|
|
darkTheme: require('prism-react-renderer/themes/palenight'),
|
2021-06-27 04:37:54 -06:00
|
|
|
additionalLanguages: ['swift', 'java', 'kotlin'],
|
2021-05-06 06:11:55 -06:00
|
|
|
},
|
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
|
|
|
{
|
2023-09-01 10:15:28 -06:00
|
|
|
href: 'https://github.com/mrousavy/react-native-vision-camera/tree/main/package/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',
|
2023-09-01 10:15:28 -06:00
|
|
|
href: 'https://github.com/mrousavy/react-native-vision-camera/tree/main/package/example',
|
2021-03-04 06:14:04 -07:00
|
|
|
},
|
2021-03-03 04:37:43 -07:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Community',
|
|
|
|
items: [
|
2023-09-27 09:40:15 -06:00
|
|
|
{
|
|
|
|
label: 'Community Discord',
|
|
|
|
href: 'https://discord.com/invite/6CSHz2qAvA',
|
|
|
|
},
|
2021-03-03 04:37:43 -07:00
|
|
|
{
|
|
|
|
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',
|
2023-03-08 01:26:24 -07:00
|
|
|
href: 'https://mrousavy.com',
|
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
|
|
|
},
|
2023-03-06 03:43:39 -07:00
|
|
|
image: 'img/11.png',
|
2023-03-06 03:25:44 -07:00
|
|
|
metadata: [
|
|
|
|
{
|
|
|
|
name: 'keywords',
|
|
|
|
content: 'documentation, coding, docs, guides, camera, react, native, react-native'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'og:title',
|
|
|
|
content: 'VisionCamera Documentation'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'og:type',
|
|
|
|
content: 'application'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'og:description',
|
|
|
|
content: '📸 The Camera library that sees the vision.'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'og:image',
|
2023-03-16 11:24:15 -06:00
|
|
|
content: '/img/11.png'
|
2023-03-06 03:25:44 -07:00
|
|
|
},
|
2023-03-08 04:11:03 -07:00
|
|
|
],
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'@docusaurus/preset-classic',
|
|
|
|
{
|
2023-03-06 03:25:44 -07:00
|
|
|
sitemap: {
|
|
|
|
changefreq: 'weekly',
|
|
|
|
priority: 1.0,
|
|
|
|
ignorePatterns: ['/tags/**'],
|
|
|
|
filename: 'sitemap.xml',
|
|
|
|
},
|
2021-03-03 04:37:43 -07:00
|
|
|
docs: {
|
|
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
2021-09-22 05:58:59 -06:00
|
|
|
editUrl: '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'),
|
|
|
|
},
|
2023-03-16 11:30:59 -06:00
|
|
|
gtag: {
|
|
|
|
trackingID: 'G-FX9Q0YKV7S',
|
|
|
|
anonymizeIP: false,
|
|
|
|
},
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
'docusaurus-plugin-typedoc',
|
|
|
|
{
|
2021-03-07 06:16:11 -07:00
|
|
|
name: 'VisionCamera',
|
2023-09-01 10:15:28 -06:00
|
|
|
entryPoints: ['../package/src'],
|
|
|
|
exclude: "../package/src/index.ts",
|
|
|
|
tsconfig: '../package/tsconfig.json',
|
2021-09-22 05:58:59 -06:00
|
|
|
watch: process.env.TYPEDOC_WATCH,
|
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: {
|
2021-03-03 13:20:20 -07:00
|
|
|
indexLabel: 'Overview'
|
|
|
|
}
|
2021-03-03 04:37:43 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2023-09-26 03:39:17 -06:00
|
|
|
}
|