-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🩹 [Patch]: Enhance documentation for functions (#37)
## Description This pull request includes significant updates to the font management functions in the PowerShell module, enhancing their functionality and documentation. The key changes include improved descriptions, added examples with outputs, and support for additional parameters. ### Enhancements to `Get-Font` function: * Updated the description to clarify the retrieval of installed fonts with support for filtering by font name using wildcards. * Added example outputs to illustrate the function's usage and expected results. * Included detailed notes on the returned font object properties and a link to the function's documentation. ### Enhancements to `Install-Font` function: * Improved the description to include details on scope, force installation, and batch installations via pipeline input. * Added example outputs to demonstrate the function's behavior in different scenarios, including single file and batch installations. * Changed the `Scope` parameter type from `Scope[]` to `string` for better clarity and usage. * Included notes on the function's outputs and a link to the documentation. ### Enhancements to `Uninstall-Font` function: * Updated the description to include support for removing fonts for either the current user or all users, with administrative privileges required for the latter. * Added example outputs to show the verbose logging during font uninstallation. * Included notes on the function's behavior and a link to the documentation. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ]⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
- Loading branch information
1 parent
b746cb0
commit 4c13d1f
Showing
3 changed files
with
159 additions
and
48 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
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
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