mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-06 18:10:36 +00:00
refactor: rename i18n/*/docusaurus-plugin-content-docs to i18n/*/docs (#588)
Drops the leftover docusaurus name from the translated content directories.
- git mv i18n/{en-us,zh-cn,zh-tw}/docusaurus-plugin-content-docs -> i18n/{locale}/docs (pure renames, content unchanged)
- update the paths in packages/content-loader/src/products.ts, scripts/cut-version.mjs and sites/docs/README.md
current.json / version-*.json keep their names and stay beside the content.
Verified: pnpm build succeeds, 6690 pages built.
<!-- cloudflare-preview --> Preview: https://pr-588.docs-gitea-com.pages.dev
Reviewed-on: https://gitea.com/gitea/docs/pulls/588
Reviewed-by: Zettat123 <[email protected]>
This commit is contained in:
1 parent
1408e4890e
commit
2275bef3bd
1623 files changed
+5
-5
No files matched your search
@@ -37,7 +37,7 @@ pickers, the version banner, the search facets and the api schemas.
|
||||
| `versioned_docs/version-1.27/` | `/` |
|
||||
| `docs/` | `/next/` |
|
||||
| `versioned_docs/version-1.26/` | `/1.26/` |
|
||||
| `i18n/zh-cn/docusaurus-plugin-content-docs/version-1.27/` | `/zh-cn/` |
|
||||
| `i18n/zh-cn/docs/version-1.27/` | `/zh-cn/` |
|
||||
| `runner-docs_versioned_docs/version-3/` | `/runner/` |
|
||||
| `runner-docs/` | `/runner/develop/` |
|
||||
| `static/openapi3-27.json` | `/api/` |
|
||||
|
||||
Reference in new issue
Block a user