docs/astro.config.mjs

32 lines
745 B
JavaScript
Raw Permalink Normal View History

2024-03-21 19:27:08 -04:00
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
2023-09-02 13:43:38 -04:00
// https://astro.build/config
export default defineConfig({
2024-03-21 19:27:08 -04:00
integrations: [
starlight({
title: "Documentation PLS5618",
favicon: "favicon.png",
sidebar: [
{
label: "Java",
autogenerate: { directory: "java" },
},
{
label: "Robot",
autogenerate: { directory: "robot" },
},
],
locales: {
root: {
label: "Français",
lang: "fr",
},
},
}),
],
2023-09-02 13:43:38 -04:00
2024-03-21 19:27:08 -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
});