# PowerShell Code documentation

**URL:** <https://forums.powershell.org/t/powershell-code-documentation/15325>\
**Category:** PowerShell Help\
**Created:** [December 2, 2020, 11:36am UTC](https://forums.powershell.org/t/powershell-code-documentation/15325 "2020-12-02T11:36:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonyd](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/tonyd/32/1041_2.png) [@tonyd](https://forums.powershell.org/u/tonyd)\
**Post date:** [December 2, 2020, 11:36am UTC](https://forums.powershell.org/t/powershell-code-documentation/15325/1 "2020-12-02T11:36:43Z")

</div>

Hello All,

I have a rather large script/modules that I have been asked to document. They want something more then comments and comment based help. The preferred would be HTML format. A google search led me here:

> **[GitHub - msorens/DocTreeGenerator: Combine the help pages of your PS cmdlets...](https://github.com/msorens/DocTreeGenerator)**
>
> Combine the help pages of your PS cmdlets into a tree-structured HTML web site - GitHub - msorens/DocTreeGenerator: Combine the help pages of your PS cmdlets into a tree-structured HTML web site

I do believe this is exactly what I need, however I am unable to get it working. It always errors that no “NameSpaces” are found. Does anyone out there have any experience with this tool and if so, any ideas on what I am doing wrong?

Secondly, are there better tools that provide similar results?

Thanks in advanced for any help/guidance.

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [December 3, 2020, 3:50am UTC](https://forums.powershell.org/t/powershell-code-documentation/15325/2 "2020-12-03T03:50:42Z")

</div>

You can try exploring markdown files. It can be rendered as html page as well. Sharepoint and other similar platforms supports markdown files by default.  
You can even generate markdown help docs for PowerShell script/cmdlet/function automatically using [GitHub - PowerShell/platyPS: Write PowerShell External Help in Markdown](https://github.com/PowerShell/platyps)

---

<div class="post-metadata">

**Author:** ![tonyd](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/tonyd/32/1041_2.png) [@tonyd](https://forums.powershell.org/u/tonyd)\
**Post date:** [December 3, 2020, 5:15am UTC](https://forums.powershell.org/t/powershell-code-documentation/15325/3 "2020-12-03T05:15:08Z")

</div>

@kvprasoon … thank you very much. That worked perfectly 🙂

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:28pm UTC](https://forums.powershell.org/t/powershell-code-documentation/15325/4 "2024-05-16T20:28:15Z")

</div>


