|
1 | 1 | // @ts-check |
2 | | -import { defineConfig } from "astro/config"; |
3 | | -import starlight from "@astrojs/starlight"; |
4 | | -import starlightImageZoom from "starlight-image-zoom"; |
| 2 | + |
| 3 | +import starlight from '@astrojs/starlight'; |
| 4 | +import { defineConfig } from 'astro/config'; |
| 5 | +import starlightImageZoom from 'starlight-image-zoom'; |
5 | 6 |
|
6 | 7 | // https://astro.build/config |
7 | 8 | export default defineConfig({ |
8 | | - site: "https://docspring.github.io", |
9 | | - base: "/renamify", |
| 9 | + site: 'https://docspring.github.io', |
| 10 | + base: '/renamify', |
10 | 11 |
|
11 | 12 | integrations: [ |
12 | 13 | starlight({ |
13 | | - title: "Renamify", |
| 14 | + title: 'Renamify', |
14 | 15 | description: |
15 | | - "Smart search & replace for code and files with case-aware transformations", |
| 16 | + 'Smart search & replace for code and files with case-aware transformations', |
16 | 17 | logo: { |
17 | | - src: "./src/assets/logo.svg", |
| 18 | + src: './src/assets/logo.svg', |
18 | 19 | }, |
19 | | - customCss: [ |
20 | | - "./src/styles/custom.css", |
21 | | - ], |
| 20 | + customCss: ['./src/styles/custom.css'], |
22 | 21 | editLink: { |
23 | | - baseUrl: "https://github.com/DocSpring/renamify/edit/main/docs", |
| 22 | + baseUrl: 'https://github.com/DocSpring/renamify/edit/main/docs', |
24 | 23 | }, |
25 | 24 | plugins: [starlightImageZoom()], |
26 | 25 | components: { |
27 | | - Footer: "./src/components/Footer.astro", |
| 26 | + Footer: './src/components/Footer.astro', |
28 | 27 | }, |
29 | 28 | social: [ |
30 | 29 | { |
31 | | - icon: "github", |
32 | | - label: "GitHub", |
33 | | - href: "https://github.com/DocSpring/renamify", |
| 30 | + icon: 'github', |
| 31 | + label: 'GitHub', |
| 32 | + href: 'https://github.com/DocSpring/renamify', |
34 | 33 | }, |
35 | 34 | ], |
36 | 35 | sidebar: [ |
37 | 36 | { |
38 | | - label: "Getting Started", |
| 37 | + label: 'Getting Started', |
39 | 38 | items: [ |
40 | | - { label: "Installation", slug: "installation" }, |
41 | | - { label: "Self-Hosting Demo", slug: "self-hosting-demo" }, |
42 | | - { label: "Quick Start", slug: "quick-start" }, |
| 39 | + { label: 'Installation', slug: 'installation' }, |
| 40 | + { label: 'Self-Hosting Demo', slug: 'self-hosting-demo' }, |
| 41 | + { label: 'Quick Start', slug: 'quick-start' }, |
43 | 42 | { |
44 | | - label: "Rename vs. Replace", |
45 | | - slug: "rename-vs-replace", |
| 43 | + label: 'Rename vs. Replace', |
| 44 | + slug: 'rename-vs-replace', |
46 | 45 | }, |
47 | | - { label: "FAQ", link: "/#frequently-asked-questions" }, |
| 46 | + { label: 'FAQ', link: '/#frequently-asked-questions' }, |
48 | 47 | ], |
49 | 48 | }, |
50 | 49 | { |
51 | | - label: "Features", |
| 50 | + label: 'Features', |
52 | 51 | items: [ |
53 | 52 | { |
54 | | - label: "Case-Aware Transformations", |
55 | | - slug: "features/case-transformations", |
| 53 | + label: 'Case-Aware Transformations', |
| 54 | + slug: 'features/case-transformations', |
| 55 | + }, |
| 56 | + { |
| 57 | + label: 'File and Directory Renaming', |
| 58 | + slug: 'features/file-renaming', |
56 | 59 | }, |
| 60 | + { label: 'Safety Features', slug: 'features/safety' }, |
| 61 | + { label: 'Filtering and Ignore Rules', slug: 'features/filtering' }, |
57 | 62 | { |
58 | | - label: "File and Directory Renaming", |
59 | | - slug: "features/file-renaming", |
| 63 | + label: 'Resolving Case Ambiguity', |
| 64 | + slug: 'features/ambiguity-resolution', |
60 | 65 | }, |
61 | | - { label: "Safety Features", slug: "features/safety" }, |
62 | | - { label: "Filtering and Ignore Rules", slug: "features/filtering" }, |
63 | | - { label: "Resolving Case Ambiguity", slug: "features/ambiguity-resolution" }, |
64 | 66 | ], |
65 | 67 | }, |
66 | 68 | { |
67 | | - label: "MCP Server", |
| 69 | + label: 'MCP Server', |
68 | 70 | items: [ |
69 | | - { label: "Overview", slug: "mcp/overview" }, |
70 | | - { label: "Installation", slug: "mcp/installation" }, |
71 | | - { label: "Configuration", slug: "mcp/configuration" }, |
72 | | - { label: "Tools Reference", slug: "mcp/tools" }, |
73 | | - { label: "Usage Examples", slug: "mcp/examples" }, |
74 | | - { label: "AI Agent Guide", slug: "mcp/ai-guide" }, |
| 71 | + { label: 'Overview', slug: 'mcp/overview' }, |
| 72 | + { label: 'Installation', slug: 'mcp/installation' }, |
| 73 | + { label: 'Configuration', slug: 'mcp/configuration' }, |
| 74 | + { label: 'Tools Reference', slug: 'mcp/tools' }, |
| 75 | + { label: 'Usage Examples', slug: 'mcp/examples' }, |
| 76 | + { label: 'AI Agent Guide', slug: 'mcp/ai-guide' }, |
75 | 77 | ], |
76 | 78 | }, |
77 | 79 | { |
78 | | - label: "VS Code Extension", |
79 | | - items: [{ label: "Overview", slug: "vscode/overview" }], |
| 80 | + label: 'VS Code Extension', |
| 81 | + items: [{ label: 'Overview', slug: 'vscode/overview' }], |
80 | 82 | }, |
81 | 83 | { |
82 | | - label: "Commands", |
| 84 | + label: 'Commands', |
83 | 85 | items: [ |
84 | | - { label: "init", slug: "commands/init" }, |
85 | | - { label: "search", slug: "commands/search" }, |
86 | | - { label: "rename", slug: "commands/rename" }, |
87 | | - { label: "replace", slug: "commands/replace" }, |
88 | | - { label: "plan", slug: "commands/plan" }, |
89 | | - { label: "apply", slug: "commands/apply" }, |
90 | | - { label: "dry-run", slug: "commands/dry-run" }, |
91 | | - { label: "status", slug: "commands/status" }, |
92 | | - { label: "history", slug: "commands/history" }, |
93 | | - { label: "undo", slug: "commands/undo" }, |
94 | | - { label: "redo", slug: "commands/redo" }, |
| 86 | + { label: 'init', slug: 'commands/init' }, |
| 87 | + { label: 'search', slug: 'commands/search' }, |
| 88 | + { label: 'rename', slug: 'commands/rename' }, |
| 89 | + { label: 'replace', slug: 'commands/replace' }, |
| 90 | + { label: 'plan', slug: 'commands/plan' }, |
| 91 | + { label: 'apply', slug: 'commands/apply' }, |
| 92 | + { label: 'dry-run', slug: 'commands/dry-run' }, |
| 93 | + { label: 'status', slug: 'commands/status' }, |
| 94 | + { label: 'history', slug: 'commands/history' }, |
| 95 | + { label: 'undo', slug: 'commands/undo' }, |
| 96 | + { label: 'redo', slug: 'commands/redo' }, |
95 | 97 | ], |
96 | 98 | }, |
97 | 99 | { |
98 | | - label: "Examples", |
99 | | - autogenerate: { directory: "examples" }, |
| 100 | + label: 'Examples', |
| 101 | + autogenerate: { directory: 'examples' }, |
100 | 102 | }, |
101 | 103 | { |
102 | | - label: "Case Studies", |
103 | | - autogenerate: { directory: "case-studies" }, |
| 104 | + label: 'Case Studies', |
| 105 | + autogenerate: { directory: 'case-studies' }, |
104 | 106 | }, |
105 | 107 | { |
106 | | - label: "Reference", |
| 108 | + label: 'Reference', |
107 | 109 | items: [ |
108 | | - { label: "Configuration", slug: "reference/configuration" }, |
109 | | - { label: "Platform Support", slug: "reference/platform-support" }, |
| 110 | + { label: 'Configuration', slug: 'reference/configuration' }, |
| 111 | + { label: 'Platform Support', slug: 'reference/platform-support' }, |
110 | 112 | ], |
111 | 113 | }, |
112 | 114 | ], |
|
0 commit comments