0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 14:24:33 +01:00
gitea/docs/content/administration
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
..
_index.en-us.md
_index.zh-cn.md
adding-legal-pages.en-us.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
adding-legal-pages.zh-cn.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
backup-and-restore.en-us.md Improve Documentation for Restoration from backup (#29321) 2024-02-25 23:35:52 +00:00
backup-and-restore.zh-cn.md Update some translations and fix markdown formatting (#29099) 2024-02-11 19:03:49 +02:00
cmd-embedded.en-us.md
cmd-embedded.zh-cn.md move some scripts from 'build' to 'tools' directory, misc refactors (#29844) 2024-03-17 23:12:36 +01:00
command-line.en-us.md Improve "must-change-password" logic and document (#30472) 2024-04-14 17:22:14 +00:00
command-line.zh-cn.md
config-cheat-sheet.en-us.md Fix documentation build problems because of MDX syntax conflicts (#30744) (#30745) 2024-04-28 21:02:38 +08:00
config-cheat-sheet.zh-cn.md Fix documentation build problems because of MDX syntax conflicts (#30744) (#30745) 2024-04-28 21:02:38 +08:00
customizing-gitea.en-us.md Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
customizing-gitea.zh-cn.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
email-setup.en-us.md
email-setup.zh-cn.md
environment-variables.en-us.md In administration documentation about environment variables, point to those for the Go runtime instead of Go compiler (#28859) 2024-01-20 10:12:20 +08:00
environment-variables.zh-cn.md Update golang links to use https (#28980) 2024-01-30 03:11:11 +02:00
external-renderers.en-us.md
external-renderers.zh-cn.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
fail2ban-setup.en-us.md
fail2ban-setup.zh-cn.md
git-lfs-support.en-us.md
git-lfs-support.zh-cn.md
https-support.en-us.md fix typo (#29212) 2024-02-17 12:01:54 +01:00
https-support.zh-cn.md
logging-config.en-us.md
logging-config.zh-cn.md
mail-templates.en-us.md remove repetitive words (#29695) 2024-03-11 09:24:23 +00:00
mail-templates.zh-cn.md Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
repo-indexer.en-us.md Support repo code search without setting up an indexer (#29998) 2024-03-24 17:05:00 +01:00
repo-indexer.zh-cn.md
reverse-proxies.en-us.md
reverse-proxies.zh-cn.md
search-engines-indexation.en-us.md
search-engines-indexation.zh-cn.md
signing.en-us.md
signing.zh-cn.md