Delete generated artifacts
docdelete(d) deletes generated artifacts in the folder d.
[files,folders] = docdelete(...) returns the names of the files and folders deleted.
| Name | Description | Type | Required |
|---|---|---|---|
d➡️ |
documentation folder, as an absolute or relative path | string | yes |
➡️files |
files(s) deleted, as an absolute path | string(s) | |
➡️folders |
folders(s) deleted, as an absolute path | string(s) |
docdelete("mickey/goofy") deletes artifacts in the folder mickey/goofy. Note that this path is relative.
docconvert("C:\daisy\mickey\goofy") also deletes artifacts, this time specified using an absolute path.
The deletion consists of 4 steps:
- Delete HTML documents corresponding to Markdown documents
- Delete the resources subfolder,
resources, containing stylesheets and scripts - Delete the index files
info.xmlandhelptoc.xml - Delete the search database subfolder,
helpsearch-v4
home 🏠 | convert ➡️ | run 🏃 | index 📜 | delete ♻️ | workspace 👷 | about 🐣 | ©️ MathWorks 2024-2026