update config
This commit is contained in:
parent
caa5566797
commit
28729da058
1 changed files with 41 additions and 28 deletions
|
@ -7,7 +7,7 @@ import type * as Preset from '@docusaurus/preset-classic';
|
|||
const config: Config = {
|
||||
title: 'Semalibre',
|
||||
tagline: 'Why not embed ?',
|
||||
favicon: 'img/favicon.ico',
|
||||
favicon: 'img/favicon.png',
|
||||
|
||||
url: 'https://semalibre.com',
|
||||
baseUrl: '/',
|
||||
|
@ -17,6 +17,10 @@ const config: Config = {
|
|||
onBrokenAnchors: 'throw',
|
||||
onDuplicateRoutes: 'throw',
|
||||
|
||||
future: {
|
||||
experimental_faster: true,
|
||||
},
|
||||
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: [
|
||||
|
@ -54,7 +58,15 @@ const config: Config = {
|
|||
|
||||
themeConfig: {
|
||||
// Replace with your project's social card
|
||||
image: 'img/docusaurus-social-card.jpg',
|
||||
image: 'img/docusaurus-social-card.jpg', // TODO:
|
||||
colorMode: {
|
||||
respectPrefersColorScheme: true,
|
||||
},
|
||||
announcementBar: {
|
||||
id: 'beta-docusaurus',
|
||||
content: '🛠️ This site is in beta, please report any issues!',
|
||||
backgroundColor: 'darkOrange'
|
||||
},
|
||||
navbar: {
|
||||
title: 'Semalibre',
|
||||
logo: {
|
||||
|
@ -70,8 +82,8 @@ const config: Config = {
|
|||
},
|
||||
{to: '/blog', label: 'Blog', position: 'left'},
|
||||
{
|
||||
href: 'https://github.com/facebook/docusaurus',
|
||||
label: 'GitHub',
|
||||
href: 'https://git.semalibre.com/semalibre/vitrine',
|
||||
label: 'Source',
|
||||
position: 'right',
|
||||
},
|
||||
],
|
||||
|
@ -80,50 +92,51 @@ const config: Config = {
|
|||
style: 'dark',
|
||||
links: [
|
||||
{
|
||||
title: 'Docs',
|
||||
title: 'Contact',
|
||||
items: [
|
||||
{
|
||||
label: 'Tutorial',
|
||||
to: '/docs/intro',
|
||||
label: 'Email',
|
||||
href: 'mailto:contact@semalibre.com',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Community',
|
||||
title: 'Infos',
|
||||
items: [
|
||||
{
|
||||
label: 'Stack Overflow',
|
||||
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
|
||||
label: 'Git - Forgejo',
|
||||
href: 'https://git.semalibre.com/Semalibre',
|
||||
},
|
||||
{
|
||||
label: 'Discord',
|
||||
href: 'https://discordapp.com/invite/docusaurus',
|
||||
label: 'Mentions légales',
|
||||
href: '/mentions-legales',
|
||||
},
|
||||
{
|
||||
label: 'X',
|
||||
href: 'https://x.com/docusaurus',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'More',
|
||||
items: [
|
||||
{
|
||||
label: 'Blog',
|
||||
to: '/blog',
|
||||
},
|
||||
{
|
||||
label: 'GitHub',
|
||||
href: 'https://github.com/facebook/docusaurus',
|
||||
label: 'Pappers',
|
||||
href: 'https://www.pappers.fr/entreprise/syslinbit-897717005',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
|
||||
copyright: `Copyleft ${new Date().getFullYear()} Syslinbit. Built with Docusaurus.`,
|
||||
},
|
||||
prism: {
|
||||
theme: prismThemes.github,
|
||||
darkTheme: prismThemes.dracula,
|
||||
additionalLanguages: [
|
||||
'bash',
|
||||
'c',
|
||||
'css',
|
||||
'markup-templating',
|
||||
'django',
|
||||
'lua',
|
||||
'nginx',
|
||||
'php',
|
||||
'ruby',
|
||||
'shell-session',
|
||||
'toml',
|
||||
'yaml'
|
||||
],
|
||||
},
|
||||
} satisfies Preset.ThemeConfig,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue