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

Updated Get-Help Markdown #2070

Conversation

MSAdministrator
Copy link
Contributor

Version(s) of document impacted

  • Impacts 6 document
  • Impacts 5.1 document
  • Impacts 5.0 document
  • Impacts 4.0 document
  • Impacts 3.0 document

Reason(s) for not updating all version of documents

  • The documented feature was introduced in version (list version here) of PowerShell
  • This issue only shows up in version (list version(s) here) of the document
  • This PR partially fixes the issue, and issue # tracks the remaining work

This is related to a larger body of work. This was initiated by and is related to #1511 & #1025

@saldana
Copy link
Contributor

saldana commented Jan 18, 2018

❌ Validation status: errors

File Status Preview URL Details
reference/3.0/Microsoft.PowerShell.Core/Get-Help.md ❌Error Details
❌Error Details

reference/3.0/Microsoft.PowerShell.Core/Get-Help.md

  • [Error] Unable to load file: 3.0/Microsoft.PowerShell.Core/Get-Help.md via processor: AzureCliDocumentProcessor.

  • [Error] Markdown.MAML.Transformer.HelpSchemaException: :165:(1597) '```powershell
    PS C:> Update-Help

'
 Expect Heading
   at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.GetInnerContexts(DocumentBuildParameters parameters, IEnumerable`1 processors, TemplateProcessor templateProcessor, IHostServiceCreator creator)
   at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.BuildCore(DocumentBuildParameters parameters)
   at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.BuildCore(DocumentBuildParameters parameter, IMarkdownServiceProvider markdownServiceProvider, BuildInfo currentBuildInfo, BuildInfo lastBuildInfo)
   at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.Build(IList`1 parameters, String outputDirectory)
   at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument(BuildJsonConfig config, TemplateManager templateManager, String baseDirectory, String outputDirectory, String pluginDirectory, String templateDirectory)
   at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument()

For more details, please refer to the [build report](https://opbuildstorageprod.blob.core.windows.net/report/2018%5C1%5C18%5Cbab27324-4c59-a348-1473-9c6d587e4020%5CPullRequest%5C201801180511049703-2070%5Cworkflow_report.html?sv=2015-02-21&sr=b&sig=A4q6vOIiRRUMeZpVqONLDQ%2FCoA2pty1qfjusFyiaszI%3D&st=2018-01-18T05%3A10%3A53Z&se=2018-02-18T05%3A15%3A53Z&sp=r).

**Note:** If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@MSAdministrator
Copy link
Contributor Author

I can look at this later, but I’m not seeing exactly why this failed.

@saldana
Copy link
Contributor

saldana commented Jan 18, 2018

❌ Validation status: errors

File Status Preview URL Details
reference/3.0/Microsoft.PowerShell.Core/Get-Help.md ❌Error Details
❌Error Details

reference/3.0/Microsoft.PowerShell.Core/Get-Help.md

  • [Error] Unable to load file: 3.0/Microsoft.PowerShell.Core/Get-Help.md via processor: AzureCliDocumentProcessor.

  • [Error] Markdown.MAML.Transformer.HelpSchemaException: :167:(1746) '```powershell
    PS C:> Update-Help

'
 Expect Heading
   at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.GetInnerContexts(DocumentBuildParameters parameters, IEnumerable`1 processors, TemplateProcessor templateProcessor, IHostServiceCreator creator)
   at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.BuildCore(DocumentBuildParameters parameters)
   at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.BuildCore(DocumentBuildParameters parameter, IMarkdownServiceProvider markdownServiceProvider, BuildInfo currentBuildInfo, BuildInfo lastBuildInfo)
   at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.Build(IList`1 parameters, String outputDirectory)
   at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument(BuildJsonConfig config, TemplateManager templateManager, String baseDirectory, String outputDirectory, String pluginDirectory, String templateDirectory)
   at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument()

For more details, please refer to the [build report](https://opbuildstorageprod.blob.core.windows.net/report/2018%5C1%5C18%5Cbab27324-4c59-a348-1473-9c6d587e4020%5CPullRequest%5C201801182044227745-2070%5Cworkflow_report.html?sv=2015-02-21&sr=b&sig=PeNOcEtFgXyF2DBtskEgcCB24tXsRtcpETGnfCLBjJQ%3D&st=2018-01-18T20%3A45%3A13Z&se=2018-02-18T20%3A50%3A13Z&sp=r).

**Note:** If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@sdwheeler
Copy link
Contributor

@MSAdministrator - is this a dupe of #2074? Should we close this?

@sdwheeler
Copy link
Contributor

Closing as duplicate

@sdwheeler sdwheeler closed this Jan 19, 2018
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 this pull request may close these issues.

None yet

4 participants