mirror of
https://github.com/go-gitea/gitea
synced 2024-11-04 17:24:26 +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> |
||
---|---|---|
.. | ||
administration | ||
contributing | ||
development | ||
help | ||
installation | ||
usage | ||
actions.en-us.md | ||
administration.en-us.md | ||
administration.zh-cn.md | ||
contributing.en-us.md | ||
development.en-us.md | ||
development.zh-cn.md | ||
help.en-us.md | ||
help.zh-cn.md | ||
index.en-us.md | ||
index.zh-cn.md | ||
installation.en-us.md | ||
installation.zh-cn.md | ||
packages.en-us.md | ||
search.en-us.md | ||
search.nl-nl.md | ||
search.pt-br.md | ||
search.zh-cn.md | ||
usage.en-us.md | ||
usage.zh-cn.md |