|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +// https://vitepress.dev/reference/site-config |
| 4 | +export default defineConfig({ |
| 5 | + title: "JVM 底层原理最全知识总结", |
| 6 | + description: "Doocs 开源社区", |
| 7 | + themeConfig: { |
| 8 | + // https://vitepress.dev/reference/default-theme-config |
| 9 | + nav: [ |
| 10 | + { text: '首页', link: '/' }, |
| 11 | + ], |
| 12 | + search: { |
| 13 | + provider: 'local' |
| 14 | + }, |
| 15 | + footer: { |
| 16 | + message: 'Released under the CC-BY-SA-4.0 license.', |
| 17 | + copyright: 'Copyright © 2018-present Doocs' |
| 18 | + }, |
| 19 | + logo: '/favicon.ico', |
| 20 | + docFooter: { |
| 21 | + prev: '上一页', |
| 22 | + next: '下一页' |
| 23 | + }, |
| 24 | + sidebar: [ |
| 25 | + { |
| 26 | + items: [ |
| 27 | + { |
| 28 | + 'text': '开始学习', |
| 29 | + 'link': '/00-quickstart' |
| 30 | + }, |
| 31 | + { |
| 32 | + 'text': 'JVM 内存结构', |
| 33 | + 'link': '/01-jvm-memory-structure' |
| 34 | + }, |
| 35 | + { |
| 36 | + 'text': 'HotSpot 虚拟机对象探秘', |
| 37 | + 'link': '/02-hotspot-jvm-object', |
| 38 | + }, |
| 39 | + { |
| 40 | + 'text': '垃圾收集策略与算法', |
| 41 | + 'link': '/03-gc-algorithms' |
| 42 | + }, |
| 43 | + { |
| 44 | + 'text': 'HotSpot 垃圾收集器', |
| 45 | + 'link': '/04-hotspot-gc' |
| 46 | + }, |
| 47 | + { |
| 48 | + 'text': '内存分配与回收策略', |
| 49 | + 'link': '/05-memory-allocation-gc' |
| 50 | + }, |
| 51 | + { |
| 52 | + 'text': 'JVM 性能调优', |
| 53 | + 'link': '/06-jvm-performance-tuning' |
| 54 | + }, |
| 55 | + { |
| 56 | + 'text': '类文件结构', |
| 57 | + 'link': '/07-class-structure' |
| 58 | + }, |
| 59 | + { |
| 60 | + 'text': '类加载的时机', |
| 61 | + 'link': '/08-load-class-time' |
| 62 | + }, |
| 63 | + { |
| 64 | + 'text': '类加载的过程', |
| 65 | + 'link': '/09-load-class-process' |
| 66 | + }, |
| 67 | + { |
| 68 | + 'text': '类加载器', |
| 69 | + 'link': '/10-class-loader' |
| 70 | + } |
| 71 | + ], |
| 72 | + }, |
| 73 | + ], |
| 74 | + |
| 75 | + socialLinks: [ |
| 76 | + { icon: 'github', link: 'https://github.com/doocs/jvm' } |
| 77 | + ] |
| 78 | + } |
| 79 | +}) |
0 commit comments