-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
66 lines (64 loc) · 1.98 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
// @ts-check
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
import starlight from '@astrojs/starlight';
import mdx from '@astrojs/mdx';
// https://astro.build/config
export default defineConfig({
integrations: [tailwind({
applyBaseStyles: false
}), starlight({
title: "Fake Rubik Store Docs",
logo: {
dark: "./src/assets/logo-dark.svg",
light: "./src/assets/logo-light.svg"
},
social: {
github: "https://github.com/KritiusOne/FakeRubikStoreAPI"
},
customCss: ['./src/tailwind.css'],
sidebar: [
{
label: "Introducción",
items: [
{ label: "Sobre este proyecto", link: "/introduction/goals" },
{ label: "Público objetivo", link: "/introduction/target" },
{ label: "Alcance del proyecto", link: "/introduction/scope" },
]
},
{
label: "Guia del desarrollador",
items: [
{ label: "Configuración del entorno", link: "/guide/env-config" },
{ label: "Autenticación", link: "/guide/auth" },
{ label: "Métodos HTTP soportados", link: "/guide/methods-support" },
]
},
{
label: "Entidades",
items: [
{ label: "Índice", link: "/entities/" },
{ label: "Categorias", link: "/entities/categories" },
{ label: "Dirección", link: "/entities/address" },
{ label: "Envíos", link: "/entities/deliveries" },
{ label: "Órdenes", link: "/entities/orders" },
{ label: "Productos", link: "/entities/products" },
{ label: "Reviews", link: "/entities/reviews" },
{ label: "Rol", link: "/entities/role" },
{ label: "States", link: "/entities/states" },
{ label: "Usuario", link: "/entities/user" }
]
}
],
defaultLocale: "root",
locales: {
root: {
label: "Español",
lang: "es-ES"
}
}
}), mdx()],
devToolbar: {
enabled: true
}
});