This repository was archived by the owner on Mar 18, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.mjs
More file actions
144 lines (142 loc) · 4.68 KB
/
astro.config.mjs
File metadata and controls
144 lines (142 loc) · 4.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import fashionunitedTheme from '@fuww/starlight-plugin-theme';
import starlightLlmsTxt from 'starlight-llms-txt';
import starlightThemeNext from 'starlight-theme-next';
import tailwind from "@astrojs/tailwind";
import partytown from "@astrojs/partytown";
import node from "@astrojs/node";
import react from "@astrojs/react";
// https://astro.build/config
export default defineConfig({
vite: {
server: {
allowedHosts: ["loom"],
},
},
image: {
domains: ["fashionunited.com", "storage.cloud.google.com"],
remotePatterns: [{
protocol: "https"
}]
},
site: 'https://developer.fashionunited.com',
integrations: [starlight({
title: 'FashionUnited Docs',
social: [
{
label: 'GitHub',
href: 'https://github.com/fuww/developer.fashionunited.com',
icon: 'github'
}
],
plugins: [fashionunitedTheme(), starlightLlmsTxt({ rawContent: true }), starlightThemeNext()],
head: [{
tag: "script",
attrs: {
type: "text/partytown",
src: "https://plausible.io/js/script.js",
"data-domain": "developer.fashionunited.com",
defer: true
}
}],
sidebar: [
{
label: 'Getting Started',
items: [
{ label: 'Introduction', link: '/docs/introduction/' },
{ label: 'Logging In', link: '/docs/getting-started/login/' },
{ label: 'Dashboard Overview', link: '/docs/getting-started/dashboard-overview/' },
],
},
{
label: 'Jobs',
items: [
{ label: 'Dashboard Access', link: '/docs/jobs/dashboard-access/' },
{ label: 'Posting a Job', link: '/docs/dashboard-jobs/posting-a-job/' },
{ label: 'Managing Applications', link: '/docs/dashboard-jobs/managing-applications/' },
{ label: 'Job Analytics', link: '/docs/dashboard-jobs/job-analytics/' },
{ label: 'Job Layout', link: '/docs/jobs/job-layout/' },
{ label: 'Employer Page', link: '/docs/jobs/employer-page/' },
{ label: 'Manual Job Posting', link: '/docs/jobs/manual-posting/' },
],
},
{
label: 'Premium Employer',
items: [
{ label: 'Overview', link: '/docs/jobs/premium-employer/' },
{ label: 'News Membership', link: '/docs/jobs/premium-employer/news-membership/' },
{ label: 'Premium Header Image', link: '/docs/jobs/premium-employer/premium-header/' },
{ label: 'Job Template', link: '/docs/jobs/premium-employer/job-template/' },
{ label: 'Employer Branding Page', link: '/docs/jobs/premium-employer/employer-branding-page/' },
],
},
{
label: 'Integration',
items: [
{ label: 'Integrations Overview', link: '/docs/jobs/integrations-overview/' },
{ label: 'Job Feed Inbound (JSON/XML)', link: '/docs/jobs/' },
{ label: 'Job Scraper', link: '/docs/jobs/job-scraper/' },
{ label: 'Job Feed Outbound', link: '/docs/jobs/outbound-feed/' },
{ label: 'Job Embedder', link: '/docs/fashionunited-for-websites/' },
],
},
{
label: 'Company Profile',
items: [
{ label: 'Editing Your Profile', link: '/docs/company-profile/editing-your-profile/' },
],
},
{
label: 'Credits & Billing',
items: [
{ label: 'Credits and Billing', link: '/docs/billing/credits-and-billing/' },
],
},
{
label: 'Advertising',
items: [
{ label: 'Advertising', link: '/docs/advertising/' },
],
},
{
label: 'Editorial',
items: [
{ label: 'Editorial Cheat Sheet', link: '/docs/editorial-cheat-sheet/' },
{ label: 'Editorial Style Guide', link: '/docs/editorial-style-guide/' },
],
},
{
label: 'Brand Assets',
items: [
{ label: 'Header Image Requirements', link: '/docs/header/' },
{ label: 'Logo', link: '/docs/logo/' },
],
},
{
label: 'Marketplace',
autogenerate: { directory: 'docs/marketplace' },
},
{
label: 'Reference',
items: [
{ label: 'System Requirements and Browsers', link: '/docs/system-requirements-and-browsers/' },
{ label: 'Style Guide', link: '/docs/style-guide/' },
],
},
{
label: 'Help',
items: [
{ label: 'FAQ', link: '/docs/faq/' },
],
},
]
}), tailwind({
// Disable the default base styles:
applyBaseStyles: false
}), partytown(), react()],
output: "server",
adapter: node({
mode: "standalone"
})
});