# Generating documentation for haxe generated js

**URL:** https://community.haxe.org/t/generating-documentation-for-haxe-generated-js/517
**Category:** Haxe
**Tags:** haxe-js, documentation
**Created:** [March 9, 2018, 7:03pm UTC](https://community.haxe.org/t/generating-documentation-for-haxe-generated-js/517 "2018-03-09T19:03:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wighawag](https://community.haxe.org/user_avatar/community.haxe.org/wighawag/32/334_2.png) [@wighawag](https://community.haxe.org/u/wighawag)
#### Post date: [March 9, 2018, 7:03pm UTC](https://community.haxe.org/t/generating-documentation-for-haxe-generated-js/517/1 "2018-03-09T19:03:57Z")

</div>

While dox is a nice tool to generate api documentation for Haxe users, I am looking for a tool that can generate api documentation oriented towards javascript users

Does anybody know any ?

To people having their lib used by javascript user, what is your strategy to deal with documentation ?

---

<div class="post-metadata">

### Author: ![Gama11](https://community.haxe.org/user_avatar/community.haxe.org/gama11/32/7_2.png) [@Gama11](https://community.haxe.org/u/Gama11)
#### Post date: [March 10, 2018, 12:43am UTC](https://community.haxe.org/t/generating-documentation-for-haxe-generated-js/517/2 "2018-03-10T00:43:41Z")

</div>

> [@wighawag](#):
>
> generate api documentation oriented towards javascript users

What does that mean exactly?

---

<div class="post-metadata">

### Author: ![wighawag](https://community.haxe.org/user_avatar/community.haxe.org/wighawag/32/334_2.png) [@wighawag](https://community.haxe.org/u/wighawag)
#### Post date: [March 12, 2018, 8:30am UTC](https://community.haxe.org/t/generating-documentation-for-haxe-generated-js/517/3 "2018-03-12T08:30:08Z")

</div>

Currently the doc is generated with haxe “speak” :

- constructor is named “new”
- classes are grouped in "packages
- type name are CamelCase following Haxe convention
- …

These are not big differences but can be confusing for a js developers

---

<div class="post-metadata">

### Author: ![Gama11](https://community.haxe.org/user_avatar/community.haxe.org/gama11/32/7_2.png) [@Gama11](https://community.haxe.org/u/Gama11)
#### Post date: [March 12, 2018, 9:47am UTC](https://community.haxe.org/t/generating-documentation-for-haxe-generated-js/517/4 "2018-03-12T09:47:40Z")

</div>

Dox has templates that are quite customizable, you could give that a try:

> **[HaxeFoundation/dox](https://github.com/HaxeFoundation/dox/wiki/Custom-themes)**
>
> Custom-themes
