cocos / cocos-docs

Manual docs content for Cocos Creator
https://docs.cocos.com
307 stars 462 forks source link

docs issue at: The Tutorial of Swig Workflow in Cocos Creator #3053

Open AkshayshettyS opened 1 month ago

AkshayshettyS commented 1 month ago

filePath: en/advanced-topics/jsb/swig/tutorial/index.md content:

If succeed, the files ( jsb_my_module_auto.cpp/.h ) contain JS binding code will be generated at /Users/james/NewProject/native/engine/bindings/auto directory

The generated path its trying to add is /Users/james/NewProject/native/engine/common/bindings/auto also we have to manually add the folders /bindings/auto for command to work in CC3.8.4.

Also for some reason the my_ns namespace in my-module.d.ts is not getting identified even after adding it to tsconfig.cocos.json. Any other setup required for this?

image