phcode-dev / phoenix

Phoenix is a modern open-source Code Editor for the web, built for the browser.
https://phcode.io
GNU Affero General Public License v3.0
1.78k stars 124 forks source link

docs: refine API docs for files in Command dir #1905

Closed devvaannsh closed 4 weeks ago

devvaannsh commented 4 weeks ago

The following changes are made:-

API Documentation Cleanup: Removed all internal details from the API docs. Now, only the exports.* content is included.

DefaultMenus.js Exclusion: This file is internal, so it won’t show up in the API docs anymore.

Refactor in Menus.js: The object literals inside MenuSection are now declared separately and assigned to the MenuSection object afterward. This doesn’t affect any existing functionality. The change was made because Docusaurus had trouble parsing nested object literals when generating markdown, which caused errors.

sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed

Issues
23 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud