|
| 1 | +/** @type {import('@docusaurus/types').Config} */ |
| 2 | +const config = { |
| 3 | + title: '8th Wall', |
| 4 | + markdown: { |
| 5 | + format: 'detect', |
| 6 | + }, |
| 7 | + tagline: 'Open Source AR & 3D', |
| 8 | + favicon: 'favicon.svg', |
| 9 | + url: 'https://8thwall.org', |
| 10 | + baseUrl: '/', |
| 11 | + organizationName: '8thwall', |
| 12 | + projectName: '8thwall.github.io', |
| 13 | + trailingSlash: false, |
| 14 | + onBrokenAnchors: 'warn', |
| 15 | + presets: [ |
| 16 | + [ |
| 17 | + 'classic', |
| 18 | + { |
| 19 | + docs: false, |
| 20 | + blog: { |
| 21 | + path: 'blog', |
| 22 | + routeBasePath: 'blog', |
| 23 | + showReadingTime: false, |
| 24 | + }, |
| 25 | + theme: { |
| 26 | + customCss: './src/css/custom.css', |
| 27 | + }, |
| 28 | + }, |
| 29 | + ], |
| 30 | + ], |
| 31 | + themeConfig: { |
| 32 | + colorMode: { |
| 33 | + defaultMode: 'dark', |
| 34 | + disableSwitch: true, |
| 35 | + respectPrefersColorScheme: false, |
| 36 | + }, |
| 37 | + announcementBar: { |
| 38 | + id: 'migration', |
| 39 | + content: '<span class="announcement-text">The hosted 8th Wall platform was retired Feb 28, 2026. Existing published experiences continue to run until Feb 28, 2027.</span><span class="announcement-btns"><a target="_blank" rel="noopener" href="https://8th.io/migration" class="banner-btn">View Migration Guide</a><a target="_blank" rel="noopener" href="https://8th.io/blog" class="banner-btn">View Announcements</a></span>', |
| 40 | + backgroundColor: '#111', |
| 41 | + textColor: '#a1a1a1', |
| 42 | + isCloseable: false, |
| 43 | + }, |
| 44 | + navbar: { |
| 45 | + title: '', |
| 46 | + logo: { |
| 47 | + alt: '8th Wall', |
| 48 | + src: 'logo.png', |
| 49 | + srcDark: 'logo.png', |
| 50 | + height: '24px', |
| 51 | + style: { height: '24px', width: 'auto' }, |
| 52 | + }, |
| 53 | + items: [ |
| 54 | + { href: 'https://github.com/8thwall', label: 'GitHub', position: 'left' }, |
| 55 | + { href: 'https://8th.io/examples', label: 'Samples', position: 'left' }, |
| 56 | + { href: 'https://www.youtube.com/@8thwall', label: 'Tutorials', position: 'left' }, |
| 57 | + { href: 'https://8th.io/blog', label: 'Blog', position: 'left' }, |
| 58 | + { href: 'https://8th.io/discord', label: 'Discord', position: 'left' }, |
| 59 | + { href: 'https://www.8thwall.com/docs', label: 'Docs', position: 'left' }, |
| 60 | + { |
| 61 | + type: 'html', |
| 62 | + position: 'right', |
| 63 | + value: '<a href="/downloads" class="btn btn-primary navbar-download-btn">Download</a>', |
| 64 | + }, |
| 65 | + ], |
| 66 | + }, |
| 67 | + footer: {}, |
| 68 | + metadata: [ |
| 69 | + { property: 'og:image', content: 'https://8thwall.org/social-cover.png' }, |
| 70 | + { property: 'og:type', content: 'website' }, |
| 71 | + { name: 'twitter:image', content: 'https://8thwall.org/social-cover.png' }, |
| 72 | + ], |
| 73 | + }, |
| 74 | + clientModules: [require.resolve('./src/clientModules/navbarScroll.js')], |
| 75 | + plugins: [ |
| 76 | + [ |
| 77 | + '@docusaurus/plugin-content-docs', |
| 78 | + { |
| 79 | + id: 'legacy-policies', |
| 80 | + path: 'legacy-policies', |
| 81 | + routeBasePath: 'legacy-policies', |
| 82 | + sidebarPath: require.resolve('./sidebars-legacy.js'), |
| 83 | + }, |
| 84 | + ], |
| 85 | + ], |
| 86 | +}; |
| 87 | + |
| 88 | +module.exports = config; |
0 commit comments