optimize API doc toc click issue

This commit is contained in:
Neucrack
2024-11-28 10:33:24 +08:00
parent cc03f852d6
commit bebbcaa530
3 changed files with 29 additions and 12 deletions

View File

@@ -89,7 +89,7 @@ exclude: # not support regular expression, .git and __pycache__ is always
* All shared data is stored in `/maixapp/share`.
* All pictures are stored in `/maixapp/share/picture`.
* All video files are stored in `/maixapp/share/video`.
* Temporary data can be stored in `/maixapp/tmp`.
* Temporary data can be stored in `/maixapp/tmp`. Note that this directory is located on the file system (SD card), which differs from the system's `/tmp` directory. The `/tmp` directory on the system is a virtual file system in memory, offering faster read/write speeds but with limited memory size. Large files and log files that need to be stored long-term (which may grow over time) are recommended to be placed in the `/maixapp/tmp` directory.
* Font files are stored in `/maixapp/share/font`.
* Icon files are stored in `/maixapp/share/icon`.
* APP's data files created at runtime can be stored in `/maixapp/apps/app_id/data`.

View File

@@ -86,7 +86,7 @@ exclude: # 不支持正则表达式,.git 和 __pycache__ 总是会被排
* 共享数据存储在 `/maixapp/share`
* 图片文件存储在 `/maixapp/share/picture`
* 视频文件存储在 `/maixapp/share/video`
* 临时数据可以存储在 `/maixapp/tmp`
* 临时数据可以存储在 `/maixapp/tmp`,注意,和 Linux 本身的`/tmp` 目录不同的是这个目录是在文件系统SD卡上的系统`/tmp`是在内存上虚拟的文件系统,`/tmp`读写速度更快但是内存大小受限,大文件以及需要长期记录的日志文件(随着时间推移可能变得比较大)建议放在`/maixapp/tmp`目录下
* 字体文件存储在 `/maixapp/share/font`
* 图标文件存储在 `/maixapp/share/icon`
* 应用运行时创建的数据文件可以存储在 `/maixapp/apps/app_id/data`