Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import starlightLinksValidator from 'starlight-links-validator';
import starlightImageZoom from 'starlight-image-zoom';
import sitemap from '@astrojs/sitemap';
import starlightFullViewMode from 'starlight-fullview-mode';
import starlightTocOverviewCustomizer from 'starlight-toc-overview-customizer';

import markdoc from '@astrojs/markdoc';

Expand All @@ -20,7 +19,7 @@ const response = await fetch(
'https://api.github.com/repos/localstack/localstack/releases/latest',
{
headers: { Accept: 'application/vnd.github+json' },
}
},
);
const data = await response.json();
const latestVersion = data.tag_name.replace('v', '');
Expand All @@ -43,6 +42,7 @@ export default defineConfig({
starlight({
title: 'Docs',
favicon: '/images/favicons/favicon.ico',
routeMiddleware: './src/routeData.ts',
customCss: [
'./src/fonts/font-face.css',
'./src/styles/global.css',
Expand All @@ -54,6 +54,7 @@ export default defineConfig({
components: {
PageSidebar: './src/components/PageSidebarWithBadges.astro',
LanguageSelect: './src/components/LanguageSelectWithGetStarted.astro',
Banner: './src/components/BannerWithPersistentAnnouncement.astro',
},
expressiveCode: {
themes: ['one-light', 'one-dark-pro'],
Expand Down Expand Up @@ -189,9 +190,6 @@ export default defineConfig({
starlightImageZoom({
showCaptions: true,
}),
starlightTocOverviewCustomizer({
overviewTitle: 'Back to top',
}),
starlightFullViewMode({
leftSidebarEnabled: false,
}),
Expand Down
Loading