feat: basic vitepress setup, start erstie guide

This commit is contained in:
2026-08-12 14:37:53 +02:00
parent ed34972718
commit a94aaa6417
21 changed files with 3452 additions and 177 deletions
+61
View File
@@ -0,0 +1,61 @@
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: 'Exams', 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' }
]
}
})