63 lines
2.5 KiB
TypeScript
63 lines
2.5 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
export default defineConfig({
|
|
title: "janishutz-eth",
|
|
description: "ETH resources, summaries, tips and tricks by janishutz",
|
|
markdown: {
|
|
'math': true,
|
|
},
|
|
themeConfig: {
|
|
// https://vitepress.dev/reference/default-theme-config
|
|
nav: [
|
|
{ text: 'Home', link: '/' },
|
|
{ text: 'Summaries', link: '/summaries' },
|
|
{ text: 'Erstie Guide', link: '/ersties', activeMatch: '/ersties/' },
|
|
],
|
|
search: {
|
|
'provider': 'local'
|
|
},
|
|
sidebar: {
|
|
'/ersties': [
|
|
{
|
|
text: 'Erstie Guide',
|
|
base: '/ersties',
|
|
items: [
|
|
{ text: 'Introduction', link: '/' },
|
|
{ text: 'Student Life', link: '/student-life' },
|
|
{ text: 'Semester 1 Tips & Tricks', link: '/semester1-tips' },
|
|
{ text: 'Semester 2 Tips & Tricks', link: '/semester2-tips' },
|
|
{ text: 'ETH Infrastructure Guide', link: '/infra' },
|
|
{ text: 'Use of AI', link: '/pretendintelligence' },
|
|
{ text: 'Exam (Preparation)', link: '/exams' },
|
|
{ text: 'Semester Planning', link: '/semester-planning' },
|
|
{ text: 'Reference / Useful links', link: '/reference' },
|
|
]
|
|
}
|
|
],
|
|
'/summaries': [
|
|
{
|
|
text: 'Summaries',
|
|
base: '/summaries',
|
|
items: [
|
|
{ text: 'Introduction', link: '/' },
|
|
{ text: 'Semester 1', link: '/semester1' },
|
|
{ text: 'Semester 2', link: '/semester2' },
|
|
{ text: 'Semester 3', link: '/semester3' },
|
|
{ text: 'Semester 4', link: '/semester4' },
|
|
{ text: 'Core Subjects', link: '/core' },
|
|
{ text: 'Electives', link: '/electives' },
|
|
]
|
|
}
|
|
]
|
|
},
|
|
footer: {
|
|
message: 'Not affiliated with or endorsed by ETH Zurich. Released under CC-BY-SA 4.0',
|
|
copyright: 'Copyright © 2026 Janis Hutz'
|
|
},
|
|
socialLinks: [
|
|
{ icon: 'github', link: 'https://git.janishutz.com/eth-janishutz/website' }
|
|
]
|
|
}
|
|
})
|