Skip to content

Commit 5af84a3

Browse files
committed
website: fix urls
1 parent ed1260b commit 5af84a3

File tree

1 file changed

+156
-188
lines changed

1 file changed

+156
-188
lines changed

website/docusaurus.config.js

Lines changed: 156 additions & 188 deletions
Original file line numberDiff line numberDiff line change
@@ -177,194 +177,162 @@ const config = {
177177
fromExtensions: ["html", "htm"], // /myPage.html -> /myPage
178178
redirects: [
179179
// Mostly old routes from our previous mdbook-based site.
180-
//
181-
// TODO: remove these once we're out of beta.
182-
{ to: '/', from: ['/home', '/home.html'], },
183-
{ to: '/packages', from: ['/packages/available-packages', '/packages/available-packages.html'], },
184-
{ to: '/download', from: ['/installation/download-and-install-floe.html', '/installation/download-and-install-floe'], },
185-
{ to: '/docs/installation/requirements', from: ['/installation/requirements', '/installation/requirements.html'], },
186-
{ to: '/docs/installation/updating', from: ['/installation/updating', '/installation/updating.html'], },
187-
{ to: '/docs/installation/uninstalling', from: ['/installation/uninstalling', '/installation/uninstalling.html'], },
188-
{ to: '/docs/packages/about-packages', from: ['/packages/about-packages', '/packages/about-packages.html'], },
189-
{ to: '/docs/packages/install-packages', from: ['/packages/install-packages', '/packages/install-packages.html'], },
190-
{ to: '/docs/usage/sample-libraries', from: ['/usage/sample-libraries', '/usage/sample-libraries.html'], },
191-
{ to: '/docs/usage/presets', from: ['/usage/presets', '/usage/presets.html'], },
192-
{ to: '/docs/usage/layers', from: ['/usage/layers', '/usage/layers.html'], },
193-
{ to: '/docs/usage/effects', from: ['/usage/effects', '/usage/effects.html'], },
194-
{ to: '/docs/usage/key-ranges', from: ['/usage/key-ranges', '/usage/key-ranges.html'], },
195-
{ to: '/docs/usage/midi', from: ['/usage/midi', '/usage/midi.html'], },
196-
{ to: '/docs/usage/looping', from: ['/usage/looping', '/usage/looping.html'], },
197-
{ to: '/docs/usage/parameters', from: ['/usage/parameters', '/usage/parameters.html'], },
198-
{ to: '/docs/usage/macros', from: ['/usage/macros', '/usage/macros.html'], },
199-
{ to: '/docs/usage/autosave', from: ['/usage/autosave', '/usage/autosave.html'], },
200-
{ to: '/docs/usage/attribution', from: ['/usage/attribution', '/usage/attribution.html'], },
201-
{ to: '/docs/usage/error-reporting', from: ['/usage/error-reporting', '/usage/error-reporting.html'], },
202-
{ to: '/docs/develop/develop-libraries', from: ['/develop/develop-libraries', '/develop/develop-libraries.html'], },
203-
{ to: '/docs/develop/library-lua-scripts', from: ['/develop/library-lua-scripts', '/develop/library-lua-scripts.html'], },
204-
{ to: '/docs/develop/develop-preset-packs', from: ['/develop/develop-preset-packs', '/develop/develop-preset-packs.html'], },
205-
{ to: '/docs/develop/packaging', from: ['/develop/packaging', '/develop/packaging.html'], },
206-
{ to: '/docs/develop/tags-and-folders', from: ['/develop/tags-and-folders', '/develop/tags-and-folders.html'], },
207-
{ to: '/docs/about-the-project/mirage', from: ['/about-the-project/mirage', '/about-the-project/mirage.html'], },
208-
{ to: '/docs/about-the-project/roadmap', from: ['/about-the-project/roadmap', '/about-the-project/roadmap.html'], },
209-
{ to: '/docs/changelog', from: ['/changelog', '/changelog.html'], },
210-
//
211-
// TODO: replace above with these once we're out of beta.
212-
// {
213-
// to: "/docs/installation/install-packages",
214-
// from: [
215-
// "/docs/packages/install-packages",
216-
// "/packages/install-packages",
217-
// "/packages/install-packages.html",
218-
// ],
219-
// },
220-
// {
221-
// to: "/docs/key-concepts/components",
222-
// from: [
223-
// "/docs/usage/presets",
224-
// "/usage/presets",
225-
// "/usage/presets.html",
226-
// "/docs/usage/sample-libraries",
227-
// "/usage/sample-libraries",
228-
// "/usage/sample-libraries.html",
229-
// "/docs/packages/about-packages",
230-
// "/packages/about-packages",
231-
// "/packages/about-packages.html",
232-
// ],
233-
// },
234-
// {
235-
// to: "/docs/reference/autosave",
236-
// from: [
237-
// "/docs/usage/autosave",
238-
// "/usage/autosave",
239-
// "/usage/autosave.html",
240-
// ],
241-
// },
242-
// {
243-
// to: "/docs/reference/attribution",
244-
// from: [
245-
// "/docs/usage/attribution",
246-
// "/usage/attribution",
247-
// "/usage/attribution.html",
248-
// ],
249-
// },
250-
// {
251-
// to: "/docs/reference/error-reporting",
252-
// from: [
253-
// "/docs/usage/error-reporting",
254-
// "/usage/error-reporting",
255-
// "/usage/error-reporting.html",
256-
// ],
257-
// },
258-
// {
259-
// to: "/docs/reference/parameters",
260-
// from: [
261-
// "/docs/usage/parameters",
262-
// "/usage/parameters",
263-
// "/usage/parameters.html",
264-
// ],
265-
// },
266-
// { to: "/", from: ["/home", "/home.html"] },
267-
// {
268-
// to: "/packages",
269-
// from: [
270-
// "/packages/available-packages",
271-
// "/packages/available-packages.html",
272-
// ],
273-
// },
274-
// {
275-
// to: "/download",
276-
// from: [
277-
// "/installation/download-and-install-floe.html",
278-
// "/installation/download-and-install-floe",
279-
// "/installation/updating",
280-
// "/installation/updating.html",
281-
// "/installation/requirements",
282-
// "/installation/requirements.html",
283-
// ],
284-
// },
285-
// {
286-
// to: "/docs/installation/download-and-install-floe",
287-
// from: ["/docs/installation/requirements"],
288-
// },
289-
// {
290-
// to: "/docs/getting-started/quick-start-guide",
291-
// from: ["/docs/introduction"],
292-
// },
293-
// {
294-
// to: "/docs/installation/uninstalling",
295-
// from: [
296-
// "/installation/uninstalling",
297-
// "/installation/uninstalling.html",
298-
// ],
299-
// },
300-
// {
301-
// to: "/docs/usage/layers",
302-
// from: ["/usage/layers", "/usage/layers.html"],
303-
// },
304-
// {
305-
// to: "/docs/usage/effects",
306-
// from: ["/usage/effects", "/usage/effects.html"],
307-
// },
308-
// {
309-
// to: "/docs/usage/key-ranges",
310-
// from: ["/usage/key-ranges", "/usage/key-ranges.html"],
311-
// },
312-
// { to: "/docs/usage/midi", from: ["/usage/midi", "/usage/midi.html"] },
313-
// {
314-
// to: "/docs/usage/looping",
315-
// from: ["/usage/looping", "/usage/looping.html"],
316-
// },
317-
// {
318-
// to: "/docs/usage/macros",
319-
// from: ["/usage/macros", "/usage/macros.html"],
320-
// },
321-
// {
322-
// to: "/docs/develop/develop-libraries",
323-
// from: [
324-
// "/develop/develop-libraries",
325-
// "/develop/develop-libraries.html",
326-
// ],
327-
// },
328-
// {
329-
// to: "/docs/develop/library-lua-scripts",
330-
// from: [
331-
// "/develop/library-lua-scripts",
332-
// "/develop/library-lua-scripts.html",
333-
// ],
334-
// },
335-
// {
336-
// to: "/docs/develop/develop-preset-packs",
337-
// from: [
338-
// "/develop/develop-preset-packs",
339-
// "/develop/develop-preset-packs.html",
340-
// ],
341-
// },
342-
// {
343-
// to: "/docs/develop/packaging",
344-
// from: ["/develop/packaging", "/develop/packaging.html"],
345-
// },
346-
// {
347-
// to: "/docs/develop/tags-and-folders",
348-
// from: [
349-
// "/develop/tags-and-folders",
350-
// "/develop/tags-and-folders.html",
351-
// ],
352-
// },
353-
// {
354-
// to: "/docs/about-the-project/mirage",
355-
// from: [
356-
// "/about-the-project/mirage",
357-
// "/about-the-project/mirage.html",
358-
// ],
359-
// },
360-
// {
361-
// to: "/docs/about-the-project/roadmap",
362-
// from: [
363-
// "/about-the-project/roadmap",
364-
// "/about-the-project/roadmap.html",
365-
// ],
366-
// },
367-
// { to: "/docs/changelog", from: ["/changelog", "/changelog.html"] },
180+
{
181+
to: "/docs/installation/install-packages",
182+
from: [
183+
"/docs/packages/install-packages",
184+
"/packages/install-packages",
185+
"/packages/install-packages.html",
186+
],
187+
},
188+
{
189+
to: "/docs/key-concepts/components",
190+
from: [
191+
"/docs/usage/presets",
192+
"/usage/presets",
193+
"/usage/presets.html",
194+
"/docs/usage/sample-libraries",
195+
"/usage/sample-libraries",
196+
"/usage/sample-libraries.html",
197+
"/docs/packages/about-packages",
198+
"/packages/about-packages",
199+
"/packages/about-packages.html",
200+
],
201+
},
202+
{
203+
to: "/docs/reference/autosave",
204+
from: [
205+
"/docs/usage/autosave",
206+
"/usage/autosave",
207+
"/usage/autosave.html",
208+
],
209+
},
210+
{
211+
to: "/docs/reference/attribution",
212+
from: [
213+
"/docs/usage/attribution",
214+
"/usage/attribution",
215+
"/usage/attribution.html",
216+
],
217+
},
218+
{
219+
to: "/docs/reference/error-reporting",
220+
from: [
221+
"/docs/usage/error-reporting",
222+
"/usage/error-reporting",
223+
"/usage/error-reporting.html",
224+
],
225+
},
226+
{
227+
to: "/docs/reference/parameters",
228+
from: [
229+
"/docs/usage/parameters",
230+
"/usage/parameters",
231+
"/usage/parameters.html",
232+
],
233+
},
234+
{ to: "/", from: ["/home", "/home.html"] },
235+
{
236+
to: "/packages",
237+
from: [
238+
"/packages/available-packages",
239+
"/packages/available-packages.html",
240+
],
241+
},
242+
{
243+
to: "/download",
244+
from: [
245+
"/installation/download-and-install-floe.html",
246+
"/installation/download-and-install-floe",
247+
"/installation/updating",
248+
"/installation/updating.html",
249+
"/installation/requirements",
250+
"/installation/requirements.html",
251+
],
252+
},
253+
{
254+
to: "/docs/installation/download-and-install-floe",
255+
from: ["/docs/installation/requirements"],
256+
},
257+
{
258+
to: "/docs/getting-started/quick-start-guide",
259+
from: ["/docs/introduction"],
260+
},
261+
{
262+
to: "/docs/installation/uninstalling",
263+
from: [
264+
"/installation/uninstalling",
265+
"/installation/uninstalling.html",
266+
],
267+
},
268+
{
269+
to: "/docs/usage/layers",
270+
from: ["/usage/layers", "/usage/layers.html"],
271+
},
272+
{
273+
to: "/docs/usage/effects",
274+
from: ["/usage/effects", "/usage/effects.html"],
275+
},
276+
{
277+
to: "/docs/usage/key-ranges",
278+
from: ["/usage/key-ranges", "/usage/key-ranges.html"],
279+
},
280+
{ to: "/docs/usage/midi", from: ["/usage/midi", "/usage/midi.html"] },
281+
{
282+
to: "/docs/usage/looping",
283+
from: ["/usage/looping", "/usage/looping.html"],
284+
},
285+
{
286+
to: "/docs/usage/macros",
287+
from: ["/usage/macros", "/usage/macros.html"],
288+
},
289+
{
290+
to: "/docs/develop/develop-libraries",
291+
from: [
292+
"/develop/develop-libraries",
293+
"/develop/develop-libraries.html",
294+
],
295+
},
296+
{
297+
to: "/docs/develop/library-lua-scripts",
298+
from: [
299+
"/develop/library-lua-scripts",
300+
"/develop/library-lua-scripts.html",
301+
],
302+
},
303+
{
304+
to: "/docs/develop/develop-preset-packs",
305+
from: [
306+
"/develop/develop-preset-packs",
307+
"/develop/develop-preset-packs.html",
308+
],
309+
},
310+
{
311+
to: "/docs/develop/packaging",
312+
from: ["/develop/packaging", "/develop/packaging.html"],
313+
},
314+
{
315+
to: "/docs/develop/tags-and-folders",
316+
from: [
317+
"/develop/tags-and-folders",
318+
"/develop/tags-and-folders.html",
319+
],
320+
},
321+
{
322+
to: "/docs/about-the-project/mirage",
323+
from: [
324+
"/about-the-project/mirage",
325+
"/about-the-project/mirage.html",
326+
],
327+
},
328+
{
329+
to: "/docs/about-the-project/roadmap",
330+
from: [
331+
"/about-the-project/roadmap",
332+
"/about-the-project/roadmap.html",
333+
],
334+
},
335+
{ to: "/docs/changelog", from: ["/changelog", "/changelog.html"] },
368336
],
369337
},
370338
],

0 commit comments

Comments
 (0)