tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

[request] Some contents of the document are extremely irregular, extremely difficult to read, and there are some mistakes

Open David-Xian66 opened this issue 9 months ago • 1 comments

Question you want answered

Some parts of the document are extremely irregular

Where did you look for an answer?

Currently, I’ve noticed some documentation errors:

URL: https://tauri.app/develop/resources/#accessing-files-in-javascript
In the example configuration for “src-tauri/capabilities/default.json,” the entries “fs:allow-read-text-file” and “fs:allow-resource-read-recursive” no longer exist in the latest version.

If I’m not mistaken, this indicates that the documentation has not been updated in a timely manner, or perhaps this section was overlooked. I would suggest that in the future, you utilize the search function more effectively to quickly identify areas that need updating.

Additionally, I’ve noticed some inconsistencies in the documentation. For example, some configuration examples do not specify which folder the configuration should be placed in. This can be particularly unfriendly for beginners and developers who are eager to get started.

For instance, on https://tauri.app/reference/acl/capability/
There is no mention that these configurations should be written in the “src-tauri\tauri.conf.json” file. This omission can cause unnecessary confusion for beginners.

Page URL

https://tauri.app/develop/resources/#accessing-files-in-javascript ,https://tauri.app/reference/acl/capability/ ,......

Additional context

none

Are you willing to work on this yourself?

  • [ ] I want to work on this myself

David-Xian66 avatar Feb 03 '25 10:02 David-Xian66