feat: move docs to github pages (#3296)
* feat(docs): setup nextra * feat(docs): add pages * docs: update introduction page * docs: fix typos * docs: fix links * docs: update README * docs: sync with master * docs: remove old docs * fix(ci/docs): fix typos * fix(ci/docs): fix docs setup * fix(docs): update next config * chore(ci/docs): clean up * chore(docs): add meta tags * chore: apply review changes * docs: move drm into api section * docs: fix next config * docs: fix links * docs: add methods section * chore: sync with main * docs: add missing onAudio events
This commit is contained in:
39
docs/theme.config.jsx
Normal file
39
docs/theme.config.jsx
Normal file
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
|
||||
export default {
|
||||
head: (
|
||||
<>
|
||||
<meta name="language" content="en" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<meta name="description" content="Video component for React Native" />
|
||||
<meta name="og:title" content="React Native Video" />
|
||||
<meta
|
||||
name="og:description"
|
||||
content="A Video component for React Native"
|
||||
/>
|
||||
</>
|
||||
),
|
||||
logo: (
|
||||
<span>
|
||||
🎬 <strong>Video component</strong> for React Native
|
||||
</span>
|
||||
),
|
||||
faviconGlyph: '🎬',
|
||||
project: {
|
||||
link: 'https://github.com/react-native-video/react-native-video',
|
||||
},
|
||||
docsRepositoryBase:
|
||||
'https://github.com/react-native-video/react-native-video/tree/master/docs/',
|
||||
footer: {
|
||||
text: (
|
||||
<span>
|
||||
Built with love ❤️ by <strong>React Native Community</strong>
|
||||
</span>
|
||||
),
|
||||
},
|
||||
useNextSeoProps() {
|
||||
return {
|
||||
titleTemplate: '%s – Video',
|
||||
};
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user