react-native-vision-camera/docs/docusaurus.config.js

111 lines
2.6 KiB
JavaScript
Raw Normal View History

module.exports = {
title: 'VisionCamera',
tagline: '📸 The Camera library that sees the vision.',
2021-03-03 04:49:31 -07:00
url: 'https://cuvent.github.io',
baseUrl: '/react-native-vision-camera/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: './favicon.ico',
organizationName: 'cuvent',
projectName: 'react-native-vision-camera',
themeConfig: {
navbar: {
title: 'VisionCamera',
logo: {
alt: 'Logo',
2021-03-03 04:45:15 -07:00
src: 'https://github.com/cuvent/react-native-vision-camera/blob/main/docs/static/img/11.png?raw=true',
},
items: [
{
label: 'Guides',
to: 'docs/',
position: 'left',
},
{
to: 'docs/api',
label: 'API',
position: 'left'
},
{
href: 'https://github.com/cuvent/react-native-vision-camera',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Guides',
to: 'docs/'
},
{
label: 'API',
to: 'docs/api',
},
],
},
{
title: 'Community',
items: [
{
label: 'GitHub discussions',
href: 'https://github.com/cuvent/react-native-vision-camera/discussions',
},
{
label: 'Twitter',
href: 'https://twitter.com/mrousavy',
},
],
},
{
title: 'More',
items: [
{
label: 'GitHub',
href: 'https://github.com/cuvent/react-native-vision-camera',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Cuvent`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/cuvent/react-native-vision-camera/edit/main/docs/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [
[
'docusaurus-plugin-typedoc',
{
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',
readme: "none",
sidebar: {
sidebarFile: 'typedoc-sidebar.js',
2021-03-03 13:20:20 -07:00
fullNames: false,
indexLabel: 'Overview'
}
},
],
],
};