|
| 1 | +import type { BunpressConfig } from 'bunpress' |
| 2 | + |
| 3 | +const config: BunpressConfig = { |
| 4 | + name: 'ts-security', |
| 5 | + description: 'A comprehensive TypeScript security library providing cryptographic primitives, TLS/HTTPS support, and X.509 certificate management.', |
| 6 | + url: 'https://ts-security.stacksjs.org', |
| 7 | + |
| 8 | + theme: { |
| 9 | + primaryColor: '#2563EB', |
| 10 | + }, |
| 11 | + |
| 12 | + nav: [ |
| 13 | + { text: 'Guide', link: '/guide/getting-started' }, |
| 14 | + { text: 'API', link: '/api/crypto' }, |
| 15 | + { text: 'GitHub', link: 'https://github.com/stacksjs/ts-security' }, |
| 16 | + ], |
| 17 | + |
| 18 | + sidebar: [ |
| 19 | + { |
| 20 | + text: 'Introduction', |
| 21 | + items: [ |
| 22 | + { text: 'What is ts-security?', link: '/index' }, |
| 23 | + { text: 'Getting Started', link: '/guide/getting-started' }, |
| 24 | + { text: 'Installation', link: '/install' }, |
| 25 | + ], |
| 26 | + }, |
| 27 | + { |
| 28 | + text: 'Guide', |
| 29 | + items: [ |
| 30 | + { text: 'Certificate Management', link: '/guide/certificates' }, |
| 31 | + { text: 'HTTPS Setup', link: '/guide/https' }, |
| 32 | + { text: 'X.509 Operations', link: '/guide/x509' }, |
| 33 | + ], |
| 34 | + }, |
| 35 | + { |
| 36 | + text: 'Cryptography', |
| 37 | + items: [ |
| 38 | + { text: 'AES Encryption', link: '/crypto/aes' }, |
| 39 | + { text: 'RSA', link: '/crypto/rsa' }, |
| 40 | + { text: 'Hashing (SHA)', link: '/crypto/hashing' }, |
| 41 | + { text: 'HMAC', link: '/crypto/hmac' }, |
| 42 | + { text: 'Random Numbers', link: '/crypto/random' }, |
| 43 | + ], |
| 44 | + }, |
| 45 | + { |
| 46 | + text: 'TLS/SSL', |
| 47 | + items: [ |
| 48 | + { text: 'Overview', link: '/tls/overview' }, |
| 49 | + { text: 'Connections', link: '/tls/connections' }, |
| 50 | + { text: 'Cipher Suites', link: '/tls/ciphers' }, |
| 51 | + ], |
| 52 | + }, |
| 53 | + { |
| 54 | + text: 'Utilities', |
| 55 | + items: [ |
| 56 | + { text: 'PEM Encoding', link: '/utils/pem' }, |
| 57 | + { text: 'ASN.1', link: '/utils/asn1' }, |
| 58 | + { text: 'Base64', link: '/utils/base64' }, |
| 59 | + ], |
| 60 | + }, |
| 61 | + { |
| 62 | + text: 'API Reference', |
| 63 | + items: [ |
| 64 | + { text: 'Crypto API', link: '/api/crypto' }, |
| 65 | + { text: 'PKI API', link: '/api/pki' }, |
| 66 | + { text: 'TLS API', link: '/api/tls' }, |
| 67 | + { text: 'Types', link: '/api/types' }, |
| 68 | + ], |
| 69 | + }, |
| 70 | + ], |
| 71 | + |
| 72 | + head: [ |
| 73 | + ['meta', { name: 'author', content: 'Stacks.js' }], |
| 74 | + ['meta', { name: 'keywords', content: 'typescript, security, cryptography, tls, https, certificates, x509, aes, rsa, encryption' }], |
| 75 | + ], |
| 76 | + |
| 77 | + socialLinks: [ |
| 78 | + { icon: 'github', link: 'https://github.com/stacksjs/ts-security' }, |
| 79 | + { icon: 'discord', link: 'https://discord.gg/stacksjs' }, |
| 80 | + { icon: 'twitter', link: 'https://twitter.com/stacksjs' }, |
| 81 | + ], |
| 82 | +} |
| 83 | + |
| 84 | +export default config |
0 commit comments