()
| 163 | ]; |
| 164 | }, |
| 165 | async redirects() { |
| 166 | return [ |
| 167 | { |
| 168 | source: "/docs/", |
| 169 | destination: "/docs/symfony/", |
| 170 | permanent: true, |
| 171 | }, |
| 172 | { |
| 173 | source: "/docs/distribution/", |
| 174 | destination: "/docs/symfony/", |
| 175 | permanent: true, |
| 176 | }, |
| 177 | ]; |
| 178 | }, |
| 179 | experimental: { |
| 180 | serverMinification: false, |
| 181 | }, |
| 182 | }; |
| 183 | |
| 184 | // eslint-disable-next-line @typescript-eslint/no-var-requires |
| 185 | const withMDX = nextMDX({ |
| 186 | extension: /\.(mdx)$/, // We have errors inside our md files on the documentation that we should fix to use MDX instead of MarkdownIt |
| 187 | options: { |
| 188 | remarkPlugins: [remarkFrontmatter, remarkMdxFrontmatter], |
| 189 | rehypePlugins: [ |
| 190 | [rehypePrettyCode, prettyOptions], |
| 191 | transformCustomLinks, |
nothing calls this directly
no outgoing calls
no test coverage detected