Skip to content
Merged
9 changes: 9 additions & 0 deletions docs/tock_workshop/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"position": 7,
"label": "Tock Workshop",
"collapsible": true,
"collapsed": true,
"customProps": {
"description": "TockWorld Europ's Workshop, learn how to use Tock and write drivers."
}
}
5 changes: 5 additions & 0 deletions docs/tock_workshop/assets/Logo_Infineon_RGB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/tock_workshop/assets/Thermistor.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
927 changes: 927 additions & 0 deletions docs/tock_workshop/index.md

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex';

// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)

Expand Down Expand Up @@ -46,6 +48,8 @@ const config: Config = {
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/ipworkshop/ipworkshop.github.io/edit/main/',
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
},
blog: {
showReadingTime: true,
Expand All @@ -69,6 +73,21 @@ const config: Config = {
],
],

stylesheets: [
{
href: 'https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css',
type: 'text/css',
integrity:
'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM',
crossorigin: 'anonymous',
},
],

markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],

themeConfig: {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
Expand Down
Loading