Here is the source code of Verge3D User Manual and API Reference.
-
Install npm.
-
Go to the documentation folder and install dependencies with the command:
npm install
-
Copy the translated manual file(s) from the manual/en/... to manual/LANG directory or if you're going to translate the API documenation, copy from api/en/... to api/LANG.
-
Add translated file(s) to the list.json file.
-
Add translated language in the generate.js file:
const LANGUAGES = ['en', 'ru', 'zh', 'PUT_YOUR_LANGUAGE_HERE']
- Generate documentation:
node generate.js
- Check out the generated manual in the output directory.