|
1 | | -import { defineConfig } from 'vitepress'; |
| 1 | +import {defineConfig} from 'vitepress'; |
2 | 2 | import pkg from '../package.json' |
3 | 3 |
|
4 | 4 | export default defineConfig({ |
5 | | - title: 'Laravel EVM', |
6 | | - description: 'Reliable EVM interaction for Laravel (contracts, async transactions, fees, nonces, multi-RPC)', |
7 | | - srcDir: './pages', |
8 | | - cleanUrls: true, |
9 | | - lastUpdated: true, |
10 | | - markdown: { |
| 5 | + title: 'Laravel EVM', |
| 6 | + description: 'Simple, Reliable Ethereum Integration for Laravel', |
| 7 | + srcDir: './pages', |
| 8 | + cleanUrls: true, |
| 9 | + lastUpdated: true, |
| 10 | + markdown: { |
11 | 11 | theme: { |
12 | 12 | light: 'github-light', |
13 | 13 | dark: 'github-dark' |
14 | 14 | } |
15 | 15 | }, |
16 | | - themeConfig: { |
17 | | - nav: [ |
18 | | - { text: 'Guide', link: '/pages/README' }, |
19 | | - { text: 'Architecture', link: '/pages/architecture' }, |
20 | | - { text: 'Configuration', link: '/pages/configuration' }, |
21 | | - { text: 'Transactions', link: '/pages/transactions' }, |
22 | | - { text: 'Events', link: '/pages/events' }, |
23 | | - { text: 'Facades', link: '/pages/facades' }, |
24 | | - { text: 'Examples', link: '/pages/examples' } |
25 | | - ], |
26 | | - sidebar: { |
27 | | - '/pages/': [ |
28 | | - { |
29 | | - text: 'Overview', |
30 | | - items: [ |
31 | | - { text: 'Introduction', link: '/pages/README#introduction' }, |
32 | | - { text: 'Quick Start', link: '/pages/README#quick-start' }, |
33 | | - { text: 'Core Concepts', link: '/pages/README#core-concepts' } |
34 | | - ] |
35 | | - }, |
36 | | - { |
37 | | - text: 'Architecture', |
38 | | - items: [ |
39 | | - { text: 'Component Diagram', link: '/pages/architecture#component-diagram' }, |
40 | | - { text: 'Transaction Lifecycle', link: '/pages/architecture#transaction-job-lifecycle' }, |
41 | | - { text: 'Events', link: '/pages/events' } |
42 | | - ] |
43 | | - }, |
44 | | - { |
45 | | - text: 'Runtime', |
46 | | - items: [ |
47 | | - { text: 'Configuration', link: '/pages/configuration' }, |
48 | | - { text: 'Facades', link: '/pages/facades' }, |
49 | | - { text: 'Transactions', link: '/pages/transactions' }, |
50 | | - { text: 'Events', link: '/pages/events' }, |
51 | | - { text: 'Examples', link: '/pages/examples' } |
52 | | - ] |
| 16 | + themeConfig: { |
| 17 | + // https://vitepress.dev/reference/default-theme-config |
| 18 | + nav: [ |
| 19 | + { text: 'Home', link: '/' }, |
| 20 | + { |
| 21 | + text: pkg.version, |
| 22 | + items: [ |
| 23 | + { |
| 24 | + text: 'Changelog', |
| 25 | + link: 'https://github.com/farbcodegmbh/laravel-stateful-resources/blob/main/CHANGELOG.md' |
| 26 | + }, |
| 27 | + { |
| 28 | + text: 'Contributing', |
| 29 | + link: 'https://github.com/farbcodegmbh/laravel-stateful-resources/blob/main/CONTRIBUTING.md' |
| 30 | + } |
| 31 | + ] |
| 32 | + } |
| 33 | + ], |
| 34 | + |
| 35 | + sidebar: [ |
| 36 | + { |
| 37 | + text: 'Basics', |
| 38 | + items: [ |
| 39 | + { text: 'Installation', link: '/installation' }, |
| 40 | + { text: 'Basic Usage', link: '/basic-usage' }, |
| 41 | + ] |
| 42 | + }, |
| 43 | + { |
| 44 | + text: 'Advanced Usage', |
| 45 | + items: [ |
| 46 | + { text: 'Events', link: '/advanced-events' }, |
| 47 | + { text: 'Log Querying', link: '/advanced-logs' }, |
| 48 | + { text: 'Other Components', link: '/advanced-other' }, |
| 49 | + ] |
| 50 | + }, |
| 51 | + { |
| 52 | + text: 'Reference', |
| 53 | + items: [ |
| 54 | + { text: 'API Reference', link: '/reference' }, |
| 55 | + ] |
| 56 | + } |
| 57 | + ], |
| 58 | + |
| 59 | + socialLinks: [ |
| 60 | + {icon: 'github', link: 'https://github.com/farbcodegmbh/laravel-evm'}, |
| 61 | + { |
| 62 | + icon: {svg: '<svg width="100%" height="100%" viewBox="0 0 215 215" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><rect id="Artboard1" x="0" y="0" width="215" height="215" style="fill:none;"/><g><g><path d="M164.136,6.857L211.041,6.857L122.651,207.615L75.746,207.615L164.136,6.857Z" style="fill:#003e99;fill-rule:nonzero;"/><path d="M93.089,6.857L140.027,6.857L51.637,207.615L4.732,207.615L93.089,6.857Z" style="fill:#0bbaee;fill-rule:nonzero;"/></g></g></svg>'}, |
| 63 | + link: 'https://farbcode.net' |
| 64 | + }, |
| 65 | + ], |
| 66 | + footer: { |
| 67 | + message: 'Released under the MIT License.', |
| 68 | + copyright: 'Copyright © 2025-present //farbcode GmbH' |
53 | 69 | }, |
54 | | - { |
55 | | - text: 'Advanced', |
56 | | - items: [ |
57 | | - { text: 'Extensibility Points', link: '/pages/architecture#extensibility-points' }, |
58 | | - { text: 'Concurrency Model', link: '/pages/architecture#concurrency-model' }, |
59 | | - { text: 'Security Considerations', link: '/pages/architecture#security-considerations' } |
60 | | - ] |
| 70 | + |
| 71 | + search: { |
| 72 | + provider: 'local', |
61 | 73 | } |
62 | | - ] |
63 | | - }, |
64 | | - socialLinks: [ |
65 | | - { icon: 'github', link: 'https://github.com/farbcodegmbh/laravel-evm' } |
66 | | - ], |
67 | | - footer: { |
68 | | - message: 'MIT Licensed', |
69 | | - copyright: 'Copyright © 2025 //farbcode GmbH' |
70 | 74 | } |
71 | | - } |
72 | 75 | }); |
0 commit comments