docs/astro.config.mjs

35 lines
1.1 KiB
JavaScript
Raw Normal View History

2023-09-02 13:43:38 -04:00
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
2023-09-02 14:45:26 -04:00
integrations: [
starlight({
title: 'Documentation PLS5618',
2023-09-11 17:21:12 -04:00
favicon: 'favicon.png',
2023-09-02 14:45:26 -04:00
sidebar: [
{
label: 'Java',
autogenerate: { directory: 'java' },
},
{
label: 'Robot',
items: [
{ label: "Débuter", autogenerate: { directory: "robot/debuter" } },
{ label: "Nouveau Projet", autogenerate: { directory: "robot/nouveau_projet" } }
],
},
],
locales: {
root: {
label: "Français",
lang: "fr",
},
}
}),
],
2023-09-02 13:43:38 -04:00
2023-09-02 14:45:26 -04:00
// Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
image: { service: { entrypoint: 'astro/assets/services/sharp' } },
2023-09-02 13:43:38 -04:00
});