forked from audacity/audacity.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
72 lines (69 loc) · 3.81 KB
/
astro.config.mjs
File metadata and controls
72 lines (69 loc) · 3.81 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
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
import compressor from "astro-compressor";
// https://astro.build/config
export default defineConfig({
site: "https://www.audacityteam.org",
integrations: [tailwind({
// Example: Disable injecting a basic `base.css` import on every page.
// Useful if you need to define and/or import your own custom `base.css`.
applyBaseStyles: false
}), react(), sitemap(), compressor()],
vite: {
ssr: {
noExternal: ["@datapunt/matomo-tracker-react", "@datapunt/matomo-tracker-js"]
}
},
redirects: {
'/3.1.0-video': "https://www.youtube.com/watch?v=HpA138b-J9s",
'/3.2.0-video': "https://www.youtube.com/watch?v=DTRnDNR9LR8",
"/3.4.0-video": "https://www.youtube.com/watch?v=xgdYuSHdkso",
"/3.5.0-video": "https://www.youtube.com/watch?v=qEAZv_o0HuQ",
'/realtime-video': "https://www.youtube.com/watch?v=DTRnDNR9LR8",
'/errors': "https://support.audacityteam.org/troubleshooting/error-codes",
'/nightly': "https://nightly.link/audacity/audacity/workflows/build/master",
'/help/faq': "https://manual.audacityteam.org/man/faq.html",
'/download/plug-ins/': "https://plugins.audacityteam.org/",
'/help/documentation/': "https://support.audacityteam.org/",
'/gitbook-plugins': "https://app.gitbook.com/invite/-MhmG2mhIIHTtQPuHV_k/kY9XD8X03nb2bluFgolK",
'/devserver': "https://discord.gg/N3XKxzTrq3",
"/dev": "https://audacity.gitbook.io/dev/",
'/gitbook-access': "https://app.gitbook.com/invite/-MhmG2mhIIHTtQPuHV_k/acNI2LAF6LtdJW06t4Hc",
"/about": "/FAQ#team--news",
"/about/desktop-privacy-notice/": "/desktop-privacy-notice/",
"/about/desktop-privacy-policy/": "/desktop-privacy-notice/",
"/desktop-privacy-policy/": "/desktop-privacy-notice/",
"/about/license/": "https://github.com/audacity/audacity/blob/master/LICENSE.txt",
"/about/citations-screenshots-and-permissions/": "https://github.com/audacity/audacity/blob/master/LICENSE.txt",
"/about/credits/": "https://github.com/audacity/audacity/graphs/contributors",
"/about/features/": "/FAQ#features",
"/about/features/recording/": "/FAQ#features",
"/about/features/export-and-import/": "/FAQ#what-audio-file-formats-are-compatible-with-audacity",
"/about/features/sound-quality/": "/FAQ#what-audio-quality-is-compatible-with-audacity",
"/about/features/plug-ins/": "https://plugins.audacityteam.org/",
"/about/features/editing/": "/FAQ#features",
"/about/features/effects/": "/FAQ#features",
"/about/features/accessibility/": "/FAQ#features",
"/about/features/analysis/": "/FAQ#features",
"/about/screenshots/": "/FAQ#features",
"/about/nyquist/": "https://audacity.gitbook.io/dev/scripting/creating-your-own-nyquist-plugins",
"/about/news/": "/blog",
"/download/online-safety-when-downloading/": "/FAQ#is-audacity-safe-to-download",
"/download/source/": "/download",
"/download/legacy-windows/": "/download/windows",
"/download/legacy-mac/": "/download/mac",
"/help/": "https://support.audacityteam.org/",
"/contact/": "/FAQ#i-have-a-question-or-issue-with-audacity-is-there-a-support-team-i-can-contact",
"/community/": "https://support.audacityteam.org/community/contributing",
"/community/users/": "https://support.audacityteam.org/community/contributing",
"/community/developers/": "https://audacity.gitbook.io/dev",
"/community/translators/": "https://support.audacityteam.org/community/contributing/translating",
"/copyright/": "https://github.com/audacity/audacity/blob/master/LICENSE.txt",
"/Setup-Exit-Codes/": "https://support.audacityteam.org/troubleshooting/error-codes/installation-exit-codes",
"/cla": "/CLA",
"/)" : "/"
}
});