-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnext.config.mjs
More file actions
39 lines (35 loc) · 2.65 KB
/
next.config.mjs
File metadata and controls
39 lines (35 loc) · 2.65 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
import { createMDX } from 'fumadocs-mdx/next';
const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
async redirects() {
return [
{ source: '/docs/terminus-2', destination: '/docs/agents/terminus-2', permanent: true },
{ source: '/docs/trajectory-format', destination: '/docs/agents/trajectory-format', permanent: true },
{ source: '/docs/task-format', destination: '/docs/tasks', permanent: true },
{ source: '/docs/task-difference', destination: '/docs/tasks/task-difference', permanent: true },
{ source: '/docs/task-tutorial', destination: '/docs/tasks/task-tutorial', permanent: true },
{ source: '/docs/running-tbench', destination: '/docs/tutorials/running-terminal-bench', permanent: true },
{ source: '/docs/registering-datasets', destination: '/docs/datasets/registering-datasets', permanent: true },
{ source: '/docs/adapters', destination: '/docs/datasets/adapters', permanent: true },
{ source: '/docs/metrics', destination: '/docs/datasets/metrics', permanent: true },
{ source: '/docs/example-mcp', destination: '/docs/tutorials/mcp-server-task', permanent: true },
{ source: '/docs/example-llm-judge', destination: '/docs/tutorials/llm-as-a-judge', permanent: true },
{ source: '/docs/evals', destination: '/docs/run-jobs/run-evals', permanent: true },
{ source: '/docs/rl', destination: '/docs/training-workflows/rl', permanent: true },
{ source: '/docs/sft', destination: '/docs/training-workflows/sft', permanent: true },
{ source: '/docs/prompt-optimization', destination: '/docs/training-workflows/rl', permanent: true },
{ source: '/docs/roadmap', destination: '/docs/contributing/roadmap', permanent: true },
{ source: '/docs/cloud', destination: '/docs/run-jobs/cloud-sandboxes', permanent: true },
{ source: '/docs/use-cases/evals', destination: '/docs/run-jobs/run-evals', permanent: true },
{ source: '/docs/use-cases/rl', destination: '/docs/training-workflows/rl', permanent: true },
{ source: '/docs/use-cases/sft', destination: '/docs/training-workflows/sft', permanent: true },
{ source: '/docs/examples/mcp', destination: '/docs/tutorials/mcp-server-task', permanent: true },
{ source: '/docs/examples/llm-judge', destination: '/docs/tutorials/llm-as-a-judge', permanent: true },
{ source: '/docs/datasets/running-tbench', destination: '/docs/tutorials/running-terminal-bench', permanent: true },
{ source: '/docs/datasets/artifact-collection', destination: '/docs/run-jobs/results-and-artifacts', permanent: true },
];
},
};
export default withMDX(config);