mirror of
https://github.com/go-gitea/gitea
synced 2024-11-13 21:54:24 +00:00
0fd8cba639
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> |
||
---|---|---|
.. | ||
_index.en-us.md | ||
_index.zh-cn.md | ||
adding-legal-pages.en-us.md | ||
adding-legal-pages.zh-cn.md | ||
backup-and-restore.en-us.md | ||
backup-and-restore.zh-cn.md | ||
cmd-embedded.en-us.md | ||
cmd-embedded.zh-cn.md | ||
command-line.en-us.md | ||
command-line.zh-cn.md | ||
config-cheat-sheet.en-us.md | ||
config-cheat-sheet.zh-cn.md | ||
customizing-gitea.en-us.md | ||
customizing-gitea.zh-cn.md | ||
email-setup.en-us.md | ||
email-setup.zh-cn.md | ||
environment-variables.en-us.md | ||
environment-variables.zh-cn.md | ||
external-renderers.en-us.md | ||
external-renderers.zh-cn.md | ||
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 | ||
https-support.zh-cn.md | ||
logging-config.en-us.md | ||
logging-config.zh-cn.md | ||
mail-templates.en-us.md | ||
mail-templates.zh-cn.md | ||
repo-indexer.en-us.md | ||
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 |