Skip to content

Commit 3c25a41

Browse files
committed
implemented dynamic glossary
Signed-off-by: René <snooz@posteo.de>
1 parent fde7ea2 commit 3c25a41

6 files changed

Lines changed: 34 additions & 61 deletions

File tree

Glossary_wip.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

website/docs/glossary/Glossary.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

website/package-lock.json

Lines changed: 27 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626
"clsx": "^2.1.1",
2727
"docusaurus-lunr-search": "^3.6.0",
2828
"dompurify": "^3.3.0",
29+
"fuse.js": "^7.1.0",
30+
"marked": "^12.0.2",
31+
"prism-react-renderer": "^2.4.1",
2932
"quizdown-extended": "^1.2.1",
3033
"react": "^19.2.0",
31-
"prism-react-renderer": "^2.4.1",
3234
"react-dom": "^19.2.0",
3335
"react-markdown": "^10.1.0",
3436
"rehype-raw": "^7.0.0",

website/src/theme/Admonition/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import K2Icon from '@site/static/img/K2.svg';
66
import K3Icon from '@site/static/img/K3.svg';
77

88
import type AdmonitionType from '@theme/Admonition';
9+
import type {AdmonitionProps} from '@theme/Admonition';
910
import type {WrapperProps} from '@docusaurus/types';
1011

11-
type Props = WrapperProps<typeof AdmonitionType>;
12+
type Props = WrapperProps<typeof AdmonitionType> & AdmonitionProps;
1213

1314
export default function AdmonitionWrapper(props: Props): ReactNode {
1415
if (props.type === 'lo') {

website/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
// This file is not used in compilation. It is here just for a nice editor experience.
33
"extends": "@docusaurus/tsconfig",
44
"compilerOptions": {
5-
"baseUrl": "."
5+
"baseUrl": ".",
6+
"types": ["@docusaurus/module-type-aliases"]
67
},
78
"exclude": [".docusaurus", "build"]
89
}

0 commit comments

Comments
 (0)