Commit f4ed7954 authored by Manuel Di Cerbo's avatar Manuel Di Cerbo
Browse files

update config

parent b51e92b4
Pipeline #125117 passed with stages
in 16 seconds
import fg from "fast-glob";
import matter from "gray-matter";
const { plugin } = require("./slides");
const lectureTable = "dnet-hs22-5Eb";
const stylesheets = [
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css",
......@@ -52,6 +54,7 @@ module.exports = {
...stylesheets,
],
themeConfig: {
lectureTable,
sidebar: {
"/": [
{
......
......@@ -107,6 +107,8 @@ load();
<style scoped>
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
.table {
font-size: 0.8rem;
}
......@@ -137,6 +139,7 @@ td {
margin: 0;
}
.content-head {
cursor: pointer;
}
......@@ -155,7 +158,6 @@ td {
text-align: right;
position: sticky;
left: 0;
background-color: #fff;
}
.orange-chip,
......@@ -198,4 +200,14 @@ td {
padding-right: 0.9rem;
white-space: nowrap;
}
:deep(h1),
:deep(h2),
:deep(h3) {
font-size: 1rem;
line-height: 1.1rem;
padding: 0;
margin: 0;
}
</style>
---
title: "Drehbuch"
---
<script setup>
import { useData } from 'vitepress'
const { lectureTable } = useData().site.value.themeConfig;
</script>
# Drehbuch: Modul dnet (Datennetze)
[[toc]]
......@@ -65,6 +74,6 @@ Abweichungen und Änderungen an diesem «Drehbuch» sind, wo sinnvoll und nötig
## Termine
<LectureTable url="https://gitlab.fhnw.ch/api/v4/projects/10479/repository" name="dnet-hs22-5Eb"/>
<LectureTable url="https://gitlab.fhnw.ch/api/v4/projects/10479/repository" :name="lectureTable"/>
[Zur Übersicht](../index)
\ No newline at end of file
......@@ -3,12 +3,11 @@ sidebarDepth: 2
---
<script setup>
import { withBase } from 'vitepress'
import LectureTable from './components/LectureTable.vue'
console.log("this script is loaded")
import { useData } from 'vitepress'
const { lectureTable } = useData().site.value.themeConfig;
</script>
## Inhalt
- [Versuche](./versuche/01-setup/)
......@@ -21,7 +20,7 @@ console.log("this script is loaded")
## Lektionen
<LectureTable url="https://gitlab.fhnw.ch/api/v4/projects/10479/repository" name="dnet-hs22-5Eb"/>
<LectureTable url="https://gitlab.fhnw.ch/api/v4/projects/10479/repository" :name="lectureTable"/>
## Quicklink: Raspberry Pi Pinout
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment