From 61286b3a4af5b49202d36a20f669234df1f02db4 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Tue, 20 May 2025 22:49:28 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Update=20required?= =?UTF-8?q?=20version=20of=20Fonts=20module=20to=201.1.21=20and=20add=20ad?= =?UTF-8?q?ditional=20links=20in=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/functions/public/Get-NerdFont.ps1 | 8 ++++++++ src/functions/public/Install-NerdFont.ps1 | 11 ++++++++++- src/manifest.psd1 | 3 --- 3 files changed, 18 insertions(+), 4 deletions(-) delete mode 100644 src/manifest.psd1 diff --git a/src/functions/public/Get-NerdFont.ps1 b/src/functions/public/Get-NerdFont.ps1 index c175021..526967b 100644 --- a/src/functions/public/Get-NerdFont.ps1 +++ b/src/functions/public/Get-NerdFont.ps1 @@ -20,6 +20,14 @@ Get-NerdFonts -Name '*Code' Get the NerdFont with the name ending with 'Code'. + + .LINK + https://psmodule.io/NerdFonts/Functions/Get-NerdFont + + .NOTES + More information about the NerdFonts can be found at: + - [NerdFonts | Website](https://www.nerdfonts.com/) + - [NerdFonts | GitHub](https://github.com/ryanoasis/nerd-fonts) #> [Alias('Get-NerdFonts')] [OutputType([System.Object[]])] diff --git a/src/functions/public/Install-NerdFont.ps1 b/src/functions/public/Install-NerdFont.ps1 index 7b9ecd3..f744bf8 100644 --- a/src/functions/public/Install-NerdFont.ps1 +++ b/src/functions/public/Install-NerdFont.ps1 @@ -1,4 +1,5 @@ -#Requires -Modules @{ ModuleName = 'Fonts'; RequiredVersion = '1.1.19' } +#Requires -Modules @{ ModuleName = 'Fonts'; RequiredVersion = '1.1.21' } +#Requires -Modules @{ ModuleName = 'Admin'; RequiredVersion = '1.1.6' } function Install-NerdFont { <# @@ -27,6 +28,14 @@ function Install-NerdFont { Install-NerdFont -All Installs all Nerd Fonts to the current user. + + .LINK + https://psmodule.io/NerdFonts/Functions/Install-NerdFont + + .NOTES + More information about the NerdFonts can be found at: + - [NerdFonts | Website](https://www.nerdfonts.com/) + - [NerdFonts | GitHub](https://github.com/ryanoasis/nerd-fonts) #> [CmdletBinding( DefaultParameterSetName = 'ByName', diff --git a/src/manifest.psd1 b/src/manifest.psd1 deleted file mode 100644 index 4e2476f..0000000 --- a/src/manifest.psd1 +++ /dev/null @@ -1,3 +0,0 @@ -@{ - PowerShellVersion = '5.1' -} From 12d4289cd4e39b8b2a866558d6f2376a7001f703 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Tue, 20 May 2025 22:56:36 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Simplify=20docume?= =?UTF-8?q?ntation=20links=20in=20Get-NerdFont=20and=20Install-NerdFont=20?= =?UTF-8?q?functions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/functions/public/Get-NerdFont.ps1 | 3 +-- src/functions/public/Install-NerdFont.ps1 | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/functions/public/Get-NerdFont.ps1 b/src/functions/public/Get-NerdFont.ps1 index 526967b..4e1537a 100644 --- a/src/functions/public/Get-NerdFont.ps1 +++ b/src/functions/public/Get-NerdFont.ps1 @@ -26,8 +26,7 @@ .NOTES More information about the NerdFonts can be found at: - - [NerdFonts | Website](https://www.nerdfonts.com/) - - [NerdFonts | GitHub](https://github.com/ryanoasis/nerd-fonts) + [NerdFonts](https://www.nerdfonts.com/) | [GitHub](https://github.com/ryanoasis/nerd-fonts) #> [Alias('Get-NerdFonts')] [OutputType([System.Object[]])] diff --git a/src/functions/public/Install-NerdFont.ps1 b/src/functions/public/Install-NerdFont.ps1 index f744bf8..bece478 100644 --- a/src/functions/public/Install-NerdFont.ps1 +++ b/src/functions/public/Install-NerdFont.ps1 @@ -34,8 +34,7 @@ function Install-NerdFont { .NOTES More information about the NerdFonts can be found at: - - [NerdFonts | Website](https://www.nerdfonts.com/) - - [NerdFonts | GitHub](https://github.com/ryanoasis/nerd-fonts) + [NerdFonts](https://www.nerdfonts.com/) | [GitHub](https://github.com/ryanoasis/nerd-fonts) #> [CmdletBinding( DefaultParameterSetName = 'ByName',