-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
97 lines (96 loc) · 3.06 KB
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: 'https://docs.biblys.org',
integrations: [
starlight({
title: 'Documentation Biblys',
description: 'Documentation de Biblys, le logiciel libre pour créer des boutiques de livres en ligne.',
defaultLocale: 'root',
locales: {
root: {
label: 'Français',
lang: 'fr',
},
},
editLink: {
baseUrl: 'https://github.com/biblys/docs/edit/main/',
},
social: {
github: 'https://github.com/biblys/docs/',
},
sidebar: [
{
label: 'Installer',
autogenerate: { directory: 'installer' }
},
{
label: 'Administrer',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Bien commencer avec Biblys', link: '/administrer/bien-commencer-avec-biblys/' },
{
label: 'Catalogue',
items: [
{ label: 'Articles et exemplaires', link: '/administrer/catalogue/articles-et-exemplaires' },
{ label: 'Fiche article', link: '/administrer/catalogue/fiche-article' },
{ label: 'Précommande', link: '/administrer/catalogue/precommande' },
{ label: 'Grille de prix', link: '/administrer/catalogue/grille-de-prix' },
{ label: 'Fichiers téléchargeables', link: '/administrer/catalogue/fichiers-telechargeables' },
{ label: 'Créer un article de type lot', link: '/administrer/catalogue/creer-un-article-de-type-lot' },
{ label: 'Supprimer un article', link: '/administrer/catalogue/supprimer-un-article' },
],
collapsed: true,
},
{
label: 'Stock',
items: [
{ label: 'Ajouter un livre au stock', link: '/administrer/stock/ajouter-un-livre-au-stock' },
{ label: 'Fiche exemplaire', link: '/administrer/stock/fiche-exemplaire' },
{ label: 'Réassocier un exemplaire', link: '/administrer/stock/reassocier-un-exemplaire-a-un-autre-article' },
{ label: 'Créer des promotions ponctuelles', link: '/administrer/stock/creer-des-promotions-ponctuelles' },
],
collapsed: true,
},
{
label: 'Commandes',
autogenerate: { directory: 'administrer/commandes' },
collapsed: true,
},
{
label: 'Contenu éditorial',
autogenerate: { directory: 'administrer/contenu' },
collapsed: true,
},
{
label: 'Financement participatif',
autogenerate: { directory: 'administrer/crowdfunding' },
collapsed: true,
},
{ label: 'CLI (ligne de commande)', link: '/administrer/cli-ligne-de-commande/' },
],
},
{
label: 'Configurer',
autogenerate: { directory: 'configurer' }
},
{
label: 'Personnaliser',
items: [{
label: 'Modèles',
autogenerate: { directory: 'personnaliser/modeles' }
},
{
label: 'Entités',
autogenerate: { directory: 'personnaliser/entites' }
}],
},
{
label: 'Tutoriels',
autogenerate: { directory: 'tutoriels' }
},
],
}),
],
});