# Document generator tool for ES6

**URL:** <https://meta.discourse.org/t/document-generator-tool-for-es6/49781>\
**Category:** Development\
**Created:** [2016 年 9 月 6 日午後 1:32 UTC](https://meta.discourse.org/t/document-generator-tool-for-es6/49781 "2016-09-06T13:32:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sevenmaxis](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sevenmaxis](https://meta.discourse.org/u/sevenmaxis)\
**Post date:** [2016 年 9 月 6 日午後 1:32 UTC](https://meta.discourse.org/t/document-generator-tool-for-es6/49781/1 "2016-09-06T13:32:08Z")

</div>

I’ve tried many javascript generator tool to generate docs for JavaScript ES6, all of them had problem with new syntax of ES6.  
Is there a tested js doc generator to build documentation from Discourse sources?

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2016 年 9 月 6 日午後 1:51 UTC](https://meta.discourse.org/t/document-generator-tool-for-es6/49781/2 "2016-09-06T13:51:58Z")

</div>

> [@sevenmaxis](#):
>
> Is there a tested js doc generator to build documentation from Discourse sources?

Not that I know of. But why do you want a documentation of Discourse JS code? If you want to add a feature, I highly recommend that you write a plugin instead.

---

<div class="post-metadata">

**Author:** ![sevenmaxis](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sevenmaxis](https://meta.discourse.org/u/sevenmaxis)\
**Post date:** [2016 年 9 月 6 日午後 1:56 UTC](https://meta.discourse.org/t/document-generator-tool-for-es6/49781/3 "2016-09-06T13:56:24Z")

</div>

I want to read the nice looking documentation, there a special formatting in source for that

---

<div class="post-metadata">

**Author:** ![sevenmaxis](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sevenmaxis](https://meta.discourse.org/u/sevenmaxis)\
**Post date:** [2016 年 9 月 6 日午後 7:47 UTC](https://meta.discourse.org/t/document-generator-tool-for-es6/49781/4 "2016-09-06T19:47:31Z")

</div>

Finally I got it by [http://documentation.js.org/](http://documentation.js.org/), cool!
