Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Feb 21, 2025
1 parent 5600067 commit 4ad2c8b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion docs/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export default defineConfig({
integrations: [
starlight({
editLink: {
baseUrl: "https://github.com/trueberryless-org/starlight-sidebar-swipe/edit/main/docs/",
baseUrl:
"https://github.com/trueberryless-org/starlight-sidebar-swipe/edit/main/docs/",
},
plugins: [
starlightSidebarSwipe(),
Expand Down
8 changes: 4 additions & 4 deletions docs/src/content.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineCollection } from 'astro:content'
import { docsLoader } from '@astrojs/starlight/loaders';
import { docsSchema } from '@astrojs/starlight/schema'
import { defineCollection } from "astro:content";
import { docsLoader } from "@astrojs/starlight/loaders";
import { docsSchema } from "@astrojs/starlight/schema";

export const collections = {
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
}
};
8 changes: 4 additions & 4 deletions packages/starlight-sidebar-swipe/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { StarlightPlugin } from '@astrojs/starlight/types'
import type { StarlightPlugin } from "@astrojs/starlight/types";

export default function starlightSidebarSwipe(): StarlightPlugin {
return {
name: 'starlight-sidebar-swipe',
name: "starlight-sidebar-swipe",
hooks: {
setup({ logger }) {
/**
Expand All @@ -14,8 +14,8 @@ export default function starlightSidebarSwipe(): StarlightPlugin {
*
* @see https://starlight.astro.build/reference/plugins/
*/
logger.info('Hello from the starlight-sidebar-swipe plugin!')
logger.info("Hello from the starlight-sidebar-swipe plugin!");
},
},
}
};
}

0 comments on commit 4ad2c8b

Please sign in to comment.