Files
nocobase/docs/package.json
T
mahuantest d643dabd69 docs: added 20 new languages to the document (#8466)
* feat: add multilingual documentation support for 17 languages

- Add docs translations for cs, de, es, fr, id, it, ja, ko, nl, pl,
  pt, ru, sv, th, tr, uk, vi
- Update rspress.config.ts with locale configurations
- Update .gitignore to track git-repos.json

This adds comprehensive multilingual support to the NocoBase
documentation, covering major European, Asian, and other regional
languages.

* feat(docs): update navigation text for multiple languages and add Japanese support

* fix(docs): add front matter to multiple language documentation files

* fix: add frontmatter delimiters to guide and development pages

- Add --- frontmatter to guide/index.md and development/index.md
- Applies to all 17 new languages (ja, ko, cs, de, es, fr, id, it,
  nl, pl, pt, ru, sv, th, tr, uk, vi)
- Fixes routing issues for /guide and /development pages

* fix: add frontmatter to api/index.md for all languages

- Add --- frontmatter delimiters to api/index.md
- Applies to all 17 new languages
- Ensures proper page metadata structure

* fix: add frontmatter to get-started/quickstart.md

- Add --- frontmatter to 15 language versions
- Convert yaml code blocks to proper frontmatter format
- Languages: cs, de, fr, id, it, ko, nl, pl, pt, ru, sv, th, tr,
  uk, vi
- Skip ja (already correct) and es (different format)

* feat(docs): add Arabic, Hebrew, and Hindi translations

- Complete translation of 679 markdown files for each language (ar, he, hi)
- Translate all _meta.json files (104 labels per language)
- Create _nav.json navigation files for all 3 languages
- Add locale configurations to rspress.config.ts
- Copy image files to new language directories
- Add AI translation notices to all translated files
- Localize AI notice titles to each language's native text
- Fix frontmatter positioning issues

Total files added: ~2,050 per language

* fix: resolve multilingual documentation format issues

- Fix incomplete yaml code blocks (120 files)
- Fix unpaired frontmatter delimiters
- Fix AI tip positioning issues
- Add validation whitelist for confirmed files

* fix: correct frontmatter format for guide/index.md files

* fix: remove bare backticks after AI translation tips

Removed orphaned \`\`\` lines that appeared immediately after AI
translation tip blocks in 10 translated documentation files. These
bare backticks were artifacts from the translation process.

Files fixed:
- ar: email-manager (guide, template), multi-app, user-permissions
- he: collection-fdw
- id: notification-in-app-message
- ja: cache-manager, data-source-external-postgres
- ko: field-attachment
- pl: quickstart

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: resolve unclosed code blocks in translated documentation

Fixed 64 files with unclosed or mismatched code blocks across multiple languages:
- Removed orphaned backticks after frontmatter in plugin documentation
- Added missing closing backticks at end of files
- Fixed malformed code blocks in Arabic, Czech, German, Spanish, French, Hebrew, Hindi, Indonesian, Italian, Japanese, Korean, Dutch, Polish, Portuguese, Russian, Swedish, Thai, Turkish, Ukrainian, and Vietnamese translations
- Rewrote he/plugin-development/client/index.md due to corrupted translation

Total fixes:
- 54 files: added missing closing backticks
- 8 files: removed extra opening backticks
- 1 file: completely rewritten
- 1 file: removed orphaned backtick in middle of content

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: correct frontmatter structure in sv/plugins documentation

Fixed 128 plugin documentation files in Swedish translation where
frontmatter structure was corrupted. The description field content
was misplaced outside the frontmatter block.

Issue: description: | was followed immediately by --- with the actual
description text appearing after the AI translation tip block, along
with metadata fields (isFree, builtIn, defaultEnabled) appearing
outside the frontmatter.

Fix: Reorganized frontmatter to place description content correctly
inside the YAML block before the closing ---.

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(docs): remove unnecessary comment from Prometheus plugin documentation

* fix(docs): correct frontmatter format in multiple translations

Fix frontmatter structure issues across Arabic, Czech, German, Spanish, French, Hebrew, Hindi, Indonesian, Italian, Japanese, Korean, Dutch, Polish, Portuguese, Russian, Swedish, Thai, Turkish, Ukrainian, and Vietnamese documentation files.

Changes include:
- Move description field content inside frontmatter YAML block
- Ensure proper YAML formatting for boolean values (isFree, builtIn, defaultEnabled)
- Remove duplicate frontmatter delimiters
- Fix indentation and structure of metadata fields

* fix(docs): update dead links

* fix(docs): hints of ai translation

* fix(docs): meta.json in ar he hi

* chore(versions): 😊 publish v2.1.0-alpha.1

* docs: solutions

* fix: version

* chore(versions): 😊 publish v2.0.0-alpha.61

* docs: email-manager 2.0 (#8322)

* fix: update email docs

* chore: adjust email docs

* chore: adjust email docs

* docs: email en docs

* fix: refine logic for optional targetKey (#8333)

* fix: incorrect filter params for relation field Select in editable subtable (#8335)

* fix: association select record filter issue

* refactor: code improve

* chore(versions): 😊 publish v2.0.0-alpha.62

* refactor: prevent full table re-render when updating a cell (#8349)

* refactor: sub-table rerender

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: big

* fix: big

* fix: bug

* docs: update ticket-system installation guide and meta labels for clarity

* chore(versions): 😊 publish v2.0.0-alpha.63

* docs: update ticketing solution overview with roadmap

* chore(versions): 😊 publish v2.0.0-alpha.64

* docs: update ticket system design document with new update date

* docs: git submodule

* docs: git submodule readme

* Revert "docs: git submodule" changes

Revert back to keeping all languages in the main repository.
This reverts commits c4e745b176 and 1c576eedf7.

* docs: add translation contribution section and update navigation links

* docs: update links for localization content

* docs: add additional language support to locales

* fix(docs): remove locales array from rspress config for single-language builds

* fix: build error

* fix: build error

* fix: build

* fix: build

* fix: build

* fix: update dockerfile

* fix: node_modules

* fix: build

* fix: docs

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Jiann <lomo_hao@163.com>
Co-authored-by: Katherine <katherine_15995@163.com>
Co-authored-by: xilesun <2013xile@gmail.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2026-01-20 19:10:00 +08:00

37 lines
1.0 KiB
JSON

{
"name": "@nocobase/docs",
"version": "2.0.0-alpha.15",
"private": true,
"scripts": {
"build": "node rspress.mjs build",
"build-all": "./build-all.sh",
"check": "biome check --write",
"dev": "node rspress.mjs dev",
"format": "prettier --write .",
"lint": "eslint .",
"preview": "node rspress.mjs preview"
},
"dependencies": {
"@rspress/core": "^2.0.0-beta.34"
},
"devDependencies": {
"yargs": "^18.0.0",
"@biomejs/biome": "2.2.3",
"@eslint/js": "^9.35.0",
"@fontsource/nunito": "^5.2.7",
"@fortawesome/fontawesome-free": "^7.1.0",
"@iconscout/unicons": "^4.2.0",
"@rsbuild/plugin-sass": "^1.4.0",
"@rspress/plugin-algolia": "^2.0.0-beta.34",
"@rspress/plugin-llms": "^2.0.0-beta.34",
"@rspress/plugin-preview": "^2.0.0-beta.34",
"@rspress/plugin-sitemap": "^2.0.0-beta.34",
"@types/node": "^22.8.1",
"cross-env": "^10.1.0",
"eslint": "^9.35.0",
"globals": "^16.3.0",
"prettier": "^3.6.2",
"typescript-eslint": "^8.43.0"
}
}