mirror of
https://github.com/mfocko/blog.git
synced 2024-11-22 04:53:47 +01:00
chore: run prettier on the config
Signed-off-by: Matej Focko <xfocko@fi.muni.cz>
This commit is contained in:
parent
428a15a8f5
commit
06dada054b
1 changed files with 17 additions and 18 deletions
|
@ -44,7 +44,7 @@ class Subject {
|
||||||
return {
|
return {
|
||||||
label: `${this.subject.toUpperCase()}: ${this.description}`,
|
label: `${this.subject.toUpperCase()}: ${this.description}`,
|
||||||
to: this.subject,
|
to: this.subject,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,15 +87,15 @@ const config = {
|
||||||
],
|
],
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
...subjects.map(s => s.docs()),
|
...subjects.map((s) => s.docs()),
|
||||||
[
|
[
|
||||||
'@docusaurus/plugin-content-blog',
|
"@docusaurus/plugin-content-blog",
|
||||||
{
|
{
|
||||||
id: 'blog',
|
id: "blog",
|
||||||
routeBasePath: 'blog',
|
routeBasePath: "blog",
|
||||||
path: './blog',
|
path: "./blog",
|
||||||
feedOptions: {
|
feedOptions: {
|
||||||
type: 'all',
|
type: "all",
|
||||||
copyright: `Copyright © ${new Date().getFullYear()} Matej Focko.`,
|
copyright: `Copyright © ${new Date().getFullYear()} Matej Focko.`,
|
||||||
},
|
},
|
||||||
editUrl: "https://gitlab.com/mfocko/blog/tree/main",
|
editUrl: "https://gitlab.com/mfocko/blog/tree/main",
|
||||||
|
@ -121,7 +121,7 @@ const config = {
|
||||||
navbar: {
|
navbar: {
|
||||||
title: "mf",
|
title: "mf",
|
||||||
items: [
|
items: [
|
||||||
...subjects.map(s => s.navbar()),
|
...subjects.map((s) => s.navbar()),
|
||||||
{
|
{
|
||||||
to: "blog",
|
to: "blog",
|
||||||
position: "right",
|
position: "right",
|
||||||
|
@ -135,7 +135,7 @@ const config = {
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
title: "Additional materials for φ courses",
|
title: "Additional materials for φ courses",
|
||||||
items: subjects.map(s => s.footer()),
|
items: subjects.map((s) => s.footer()),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Social #1",
|
title: "Social #1",
|
||||||
|
@ -168,8 +168,8 @@ const config = {
|
||||||
{
|
{
|
||||||
label: "Ko-fi",
|
label: "Ko-fi",
|
||||||
href: "https://ko-fi.com/m4tt_314",
|
href: "https://ko-fi.com/m4tt_314",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Source of this web",
|
title: "Source of this web",
|
||||||
|
@ -182,8 +182,8 @@ const config = {
|
||||||
label: "GitLab FI",
|
label: "GitLab FI",
|
||||||
href: "https://gitlab.fi.muni.cz/xfocko/kb",
|
href: "https://gitlab.fi.muni.cz/xfocko/kb",
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
prism: {
|
prism: {
|
||||||
|
@ -205,11 +205,12 @@ const config = {
|
||||||
docs: {
|
docs: {
|
||||||
sidebar: {
|
sidebar: {
|
||||||
hideable: true,
|
hideable: true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
mermaid: {
|
mermaid: {
|
||||||
options: {
|
options: {
|
||||||
fontFamily: "Iosevka,'Iosevka Term','Cascadia Code','JetBrains Mono','Fira Code',monospace",
|
fontFamily:
|
||||||
|
"Iosevka,'Iosevka Term','Cascadia Code','JetBrains Mono','Fira Code',monospace",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
@ -217,9 +218,7 @@ const config = {
|
||||||
markdown: {
|
markdown: {
|
||||||
mermaid: true,
|
mermaid: true,
|
||||||
},
|
},
|
||||||
themes: [
|
themes: ["@docusaurus/theme-mermaid"],
|
||||||
'@docusaurus/theme-mermaid',
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|
Loading…
Reference in a new issue