gitea/docs/content
Giteabot 0fd8cba639
Fix documentation build problems because of MDX syntax conflicts (#30744) (#30745)
Backport #30744 by @lunny

Documentation building has encountered a problem like below. This is
because MDX syntax doesn't allow `{customPath}`, we have to use
\`{customPath}\`

```
Error: Can't render static file for pathname "/next/administration/config-cheat-sheet"
            at generateStaticFile (/workspace/gitea/gitea-docusaurus/node_modules/@docusaurus/core/lib/ssg.js:119:15)
            at runNextTicks (node:internal/process/task_queues:60:5)
            at process.processImmediate (node:internal/timers:449:9)
            at async /workspace/gitea/gitea-docusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: ReferenceError: CustomPath is not defined
              at _createMdxContent (server.bundle.js:4406:106)
              at MDXContent (server.bundle.js:10745:8)
              at Uc (server.bundle.js:264171:44)
              at Xc (server.bundle.js:264173:253)
              at Z (server.bundle.js:264179:89)
              at Yc (server.bundle.js:264182:98)
              at $c (server.bundle.js:264181:140)
              at Z (server.bundle.js:264179:345)
              at Xc (server.bundle.js:264177:231)
              at Z (server.bundle.js:264179:89)
```

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-04-28 21:02:38 +08:00
..
administration Fix documentation build problems because of MDX syntax conflicts (#30744) (#30745) 2024-04-28 21:02:38 +08:00
contributing Migrate font-family to tailwind (#30118) 2024-03-28 08:31:07 +00:00
development move some scripts from 'build' to 'tools' directory, misc refactors (#29844) 2024-03-17 23:12:36 +01:00
help Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
installation update mailer example config, remove deprecated HOST (#30267) 2024-04-03 19:16:02 -04:00
usage Update actions variables documents (#30394) 2024-04-11 11:57:03 +08:00
actions.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
contributing.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
index.en-us.md Update index doc (#26455) 2023-08-12 00:49:23 +00:00
index.zh-cn.md Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
installation.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
installation.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
packages.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.nl-nl.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.pt-br.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00