2025-06-05 19:08:31 -03:00
|
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import markdownIntegration from '@astropub/md'
|
|
|
|
import sitemap from '@astrojs/sitemap';
|
|
|
|
import mdx from '@astrojs/mdx';
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
output: 'static',
|
|
|
|
compressHTML: true,
|
|
|
|
site: process.env.ASTRO_SITE,
|
|
|
|
trailingSlash: 'always',
|
2025-08-20 19:16:30 -03:00
|
|
|
image: {
|
|
|
|
domains: ['assets.codyops.com','assets.codyops.com.br','assets.codyops.com.es'],
|
|
|
|
},
|
2025-06-05 19:08:31 -03:00
|
|
|
integrations: [
|
|
|
|
markdownIntegration({
|
|
|
|
remarkPlugins: [],
|
|
|
|
rehypePlugins: [],
|
|
|
|
syntaxHighlight: 'shiki'
|
|
|
|
}),
|
|
|
|
sitemap(),
|
|
|
|
mdx({
|
|
|
|
syntaxHighlight: 'shiki',
|
|
|
|
shikiConfig: { theme: 'dracula' },
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
build: {
|
|
|
|
format: 'directory',
|
|
|
|
inlineStylesheets: 'never',
|
|
|
|
},
|
2025-08-07 17:24:35 -03:00
|
|
|
redirects: {
|
|
|
|
'/awsdevops': '/carreras/aws-devops',
|
|
|
|
'/cloudops': '/carreras/cloudops',
|
|
|
|
'/devops': '/carreras/devops',
|
|
|
|
},
|
2025-06-05 19:08:31 -03:00
|
|
|
});
|