|
| 1 | +import { defineConfig } from 'vitepress'; |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: 'react-native-shield', |
| 5 | + description: |
| 6 | + 'All-in-one security suite for React Native — root detection, jailbreak detection, SSL pinning, biometric authentication, secure storage, and Play Integrity attestation.', |
| 7 | + base: '/react-native-shield/', |
| 8 | + |
| 9 | + head: [ |
| 10 | + [ |
| 11 | + 'meta', |
| 12 | + { |
| 13 | + name: 'og:title', |
| 14 | + content: 'react-native-shield — React Native Security Suite', |
| 15 | + }, |
| 16 | + ], |
| 17 | + [ |
| 18 | + 'meta', |
| 19 | + { |
| 20 | + name: 'og:description', |
| 21 | + content: |
| 22 | + 'Root detection, SSL pinning, biometrics, secure storage, and Play Integrity attestation for iOS and Android.', |
| 23 | + }, |
| 24 | + ], |
| 25 | + ['meta', { name: 'og:type', content: 'website' }], |
| 26 | + ], |
| 27 | + |
| 28 | + themeConfig: { |
| 29 | + siteTitle: 'react-native-shield', |
| 30 | + |
| 31 | + nav: [ |
| 32 | + { text: 'Guide', link: '/guide/getting-started' }, |
| 33 | + { text: 'API', link: '/api/device-integrity' }, |
| 34 | + { text: 'Roadmap', link: '/roadmap' }, |
| 35 | + { |
| 36 | + text: 'GitHub', |
| 37 | + link: 'https://github.com/ThinkGrid-Labs/react-native-shield', |
| 38 | + }, |
| 39 | + { |
| 40 | + text: 'npm', |
| 41 | + link: 'https://www.npmjs.com/package/@think-grid-labs/react-native-shield', |
| 42 | + }, |
| 43 | + ], |
| 44 | + |
| 45 | + sidebar: [ |
| 46 | + { |
| 47 | + text: 'Guide', |
| 48 | + items: [ |
| 49 | + { text: 'Getting Started', link: '/guide/getting-started' }, |
| 50 | + { |
| 51 | + text: 'Device Integrity & Anti-Tampering', |
| 52 | + link: '/guide/device-integrity', |
| 53 | + }, |
| 54 | + { text: 'Platform Attestation', link: '/guide/attestation' }, |
| 55 | + { text: 'SSL Pinning', link: '/guide/ssl-pinning' }, |
| 56 | + { text: 'Biometric Authentication', link: '/guide/biometrics' }, |
| 57 | + { text: 'Secure Storage', link: '/guide/secure-storage' }, |
| 58 | + { text: 'UI Privacy', link: '/guide/ui-privacy' }, |
| 59 | + { text: 'App Environment', link: '/guide/app-environment' }, |
| 60 | + ], |
| 61 | + }, |
| 62 | + { |
| 63 | + text: 'API Reference', |
| 64 | + items: [ |
| 65 | + { text: 'Device Integrity', link: '/api/device-integrity' }, |
| 66 | + { text: 'Network & Environment', link: '/api/network' }, |
| 67 | + { text: 'Platform Attestation', link: '/api/attestation' }, |
| 68 | + { text: 'Biometrics', link: '/api/biometrics' }, |
| 69 | + { text: 'SSL Pinning', link: '/api/ssl-pinning' }, |
| 70 | + { text: 'Secure Storage', link: '/api/secure-storage' }, |
| 71 | + { text: 'UI Privacy', link: '/api/ui-privacy' }, |
| 72 | + ], |
| 73 | + }, |
| 74 | + { |
| 75 | + text: 'More', |
| 76 | + items: [ |
| 77 | + { text: 'Roadmap', link: '/roadmap' }, |
| 78 | + { text: 'Contributing', link: '/contributing' }, |
| 79 | + ], |
| 80 | + }, |
| 81 | + ], |
| 82 | + |
| 83 | + socialLinks: [ |
| 84 | + { |
| 85 | + icon: 'github', |
| 86 | + link: 'https://github.com/ThinkGrid-Labs/react-native-shield', |
| 87 | + }, |
| 88 | + ], |
| 89 | + |
| 90 | + footer: { |
| 91 | + message: 'Released under the MIT License.', |
| 92 | + copyright: 'Copyright © ThinkGrid Labs', |
| 93 | + }, |
| 94 | + |
| 95 | + search: { |
| 96 | + provider: 'local', |
| 97 | + }, |
| 98 | + |
| 99 | + editLink: { |
| 100 | + pattern: |
| 101 | + 'https://github.com/ThinkGrid-Labs/react-native-shield/edit/main/docs/:path', |
| 102 | + text: 'Edit this page on GitHub', |
| 103 | + }, |
| 104 | + }, |
| 105 | +}); |
0 commit comments