Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build-TocHereRecursive wasn't found in ExportedCommands #1

Closed
BennyKok opened this issue Nov 21, 2020 · 3 comments · Fixed by #3
Closed

Build-TocHereRecursive wasn't found in ExportedCommands #1

BennyKok opened this issue Nov 21, 2020 · 3 comments · Fixed by #3

Comments

@BennyKok
Copy link

I installed PowerShell core 7.1, and the two modules stated in the readme Install-Module powershell-yaml Install-Module -Name docfx-toc-generator , however Build-TocHereRecursive wasn't appearing in the ExportedCommands

image
image

I'm fairly new to using powershell, so it could be me misunderstood something...

@viclin-msft
Copy link

Same issue here, PowerShell 7.1.3

@jmkloz
Copy link
Contributor

jmkloz commented Jun 24, 2021

Had the same issue as well, had to import by pointing to the docfx-toc-generator.psm1. Root module isn't specified explicitly in the .psd1 file
Import-Module $env:ProgramFiles\PowerShell\Modules\docfx-toc-generator\1.1\docfx-toc-generator.psm1

@avestura
Copy link
Member

Thanks to @DrJMKatz, it must work now (https://www.powershellgallery.com/packages/docfx-toc-generator/1.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants