-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor api.data.ts: Add comments and improve code clarity
- Added comments to explain the purpose and functionality of key functions. - Clarified the logic behind header parsing, slug generation, and file caching. - Documented the use of regular expressions for header cleaning and anchor extraction. - Improved readability and maintainability of the codebase.
- Loading branch information
1 parent
f7a57b8
commit 9bb7209
Showing
1 changed file
with
88 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters