|
1 | | -import { defineConfig } from 'astro/config'; |
| 1 | +import { defineConfig, passthroughImageService } from 'astro/config'; |
2 | 2 | import starlight from '@astrojs/starlight'; |
3 | 3 | import tailwind from "@astrojs/tailwind"; |
4 | 4 |
|
5 | 5 | // https://astro.build/config |
6 | 6 | export default defineConfig({ |
7 | 7 | site: 'https://embedded.js.org/', |
| 8 | + image: { |
| 9 | + service: passthroughImageService(), |
| 10 | + }, |
8 | 11 | integrations: [starlight({ |
9 | 12 | title: 'ECMA-419 Docs', |
10 | | - social: { |
11 | | - github: 'https://github.com/ecmatc53/docs' |
12 | | - }, |
| 13 | + social: [{ |
| 14 | + icon: 'github', href: 'https://github.com/ecmatc53/docs', label: 'GitHub' |
| 15 | + }], |
13 | 16 | editLink: { |
14 | 17 | baseUrl: "https://github.com/ecmatc53/docs/edit/main/" |
15 | 18 | }, |
@@ -87,17 +90,17 @@ export default defineConfig({ |
87 | 90 | label: "WebSocket Client Class", |
88 | 91 | link: "/api/websocket-client-class" |
89 | 92 | }, { |
90 | | - label: "MQTT Client Class", |
91 | | - link: "/api/mqtt-client-class" |
92 | | - }, { |
93 | | - label: "Persistent Storage", |
94 | | - autogenerate: { |
95 | | - directory: "/api/storage" |
96 | | - }, |
97 | | - collapsed: true |
98 | | - }, { |
99 | | - label: "Host Provider", |
100 | | - link: "/api/host-provider" |
| 93 | + label: "MQTT Client Class", |
| 94 | + link: "/api/mqtt-client-class" |
| 95 | + }, { |
| 96 | + label: "Persistent Storage", |
| 97 | + autogenerate: { |
| 98 | + directory: "/api/storage" |
| 99 | + }, |
| 100 | + collapsed: true |
| 101 | + }, { |
| 102 | + label: "Host Provider", |
| 103 | + link: "/api/host-provider" |
101 | 104 | }, { |
102 | 105 | label: "Provenance Sensor Class", |
103 | 106 | link: "/api/provenance-sensor-class" |
|
0 commit comments