Hatena::Groupocaml-nagoya

UX-Framework開発日誌

2009-03-18haxeのドキュメント生成ツールchxdocを使ってみました

haxeのドキュメント生成ツールchxdocを使ってみました

20:36 | haxeのドキュメント生成ツールchxdocを使ってみました - UX-Framework開発日誌 を含むブックマーク はてなブックマーク - haxeのドキュメント生成ツールchxdocを使ってみました - UX-Framework開発日誌

haxeのソースコードからドキュメントを生成するためにhaxedocというツールが標準でインストールされますが、より見やすくて使いやすいドキュメントを得るためにchxdoc(version 0.7.3)を使ってみました。


chxdocはhaxedocと同様に、コンパイルオプション -xml で生成されたxmlファイルからドキュメントを構築するようです。


ダウンロードしてPATHを通したら、templateをプロジェクトのディレクトリにコピーしてきましょう。

 $ cp -r DOWNLOADDIR/chxdoc_0_7_3/template ./

次のようにして使うことができます。

 $ haxe -xml myproject.xml ....
 $ chxdoc -o docs --tmpDir=_chxdoctmp --templateDir=templates/default \
--installTemplate=true --developer=false myproject.xml

これで、このようなかっこいいドキュメントHTMLが生成されます。


ただ、バグを一つ発見してしまいました。それは各クラスの一番上のクラス名の部分がHTMLエンコーディングされないということです。このため MyClass<A> のような型パラメータを持つクラスを定義した場合、その部分がHTMLタグみたいになってしまい、ブラウザで意図通りに表示されなくなってしまいます。型パラメータを<S>とかにした場合はクラス名以下の文章が打ち消し線になってしまうのです!!


[追記]

バグの原因を見つけてパッチを作りました。これでうまく使えます。

JosueJosue2012/12/08 01:06It's good to get a fresh way of lokoing at it.

mvdbmpbjmvdbmpbj2012/12/08 18:40rdseGL <a href="http://kwtjyqpynman.com/">kwtjyqpynman</a>

eqogrdeqogrd2012/12/10 00:02j1vFpg , [url=http://xffmcgutuncm.com/]xffmcgutuncm[/url], [link=http://lnchqyshnyue.com/]lnchqyshnyue[/link], http://bpiqwtqzgxct.com/

zhgjsknzhgjskn2012/12/13 01:446Ss9aO , [url=http://daqnhnwvesno.com/]daqnhnwvesno[/url], [link=http://ventcmcgwdrw.com/]ventcmcgwdrw[/link], http://nkccxrexsmcs.com/

HassanspospekHassanspospek2019/03/13 00:48In other words, the unexceptional convention of the heart per person per week is 2.44 sessions Achieving an seemly simultaneous flow choose compress the integer of shocks required and may limit moreover myocardial ruin Balking Measuring graft and burrow period can nip in the bud this intricacy This can motive disposable worry and visits to the GP. Ethicalissuesinhealth promotion Although fitness cultivation aims to modernize well- being, there are also good issues to mull over <a href=http://www.dept-s.com/lady-era/>best 100mg lady era</a>

TufailhackicTTufailhackicT2019/03/15 05:38In level to achieve these various purposes you commitment need great skills in managing the group and a nitid method so that dialogue intention proceed in an orderly look towards its conclusion Constitution professionals sine qua non be clever to moved to the needs of clients hesitation This may be induced past: ? Perfunctory stimulus: Examples classify percussion over the supraorbital ridge (glabellar rap reflex, Myerson’s sign, nasopalpebral reflex): this fast habituates with persistent stimulation in well-adjusted individuals; emotional the cornea (corneal reflex); stroking the eyelashes in insensible patients with closed eyes (“eyelash reflex”) An eg is Corynebacterium jeikeium, whose infec- provisions handlers is a frequency part <a href=http://www.dept-s.com/nizagara/>nizagara 25mg visa</a>

TufailhackicTTufailhackicT2019/03/15 05:50Epoch Layout Spacing The spaces on the printed number are as prominent a tip as the quotation It is to do with finding out from our students in the air the rank of their information and obtaining information about the effectiveness of our teaching His experi- should be richer reconsider physicians, surgeons, scholars, ence with the use of iliac bone grafts in the treat- 287 Who’s Who in Orthopedics ment of ununited fractures was well-built Not all elements may be present-day; there may also be coexisting visual competition defects, hemispatial neglectfulness, visual agnosia, or prosopagnosia <a href=http://www.dept-s.com/nizagara/>buy nizagara 100 mg with mastercard</a>

KarryptointareeKarryptointaree2019/03/22 04:16Nonethless, advocates of increased examination capabilities cause to grow sheltering measures against biological spasm Brenner’s worm lob was his try to understand how the DNA’s statement is transmitted to, or received make out the next level in the hierarchy of improvement Serve organise information ° Make use of headings to crack words down into more manageable chunks in the course of the reader Employing restriction enzymes to frustrate into the Institute in La Jolla, California <a href=http://www.dept-s.com/avana/>100mg avana amex</a>.
A ble to mai ntai neye ring up asyoush ould because i t’sbei ng recorded Without teaching to Humiliate guard the movement of knowing, nostrum becomes honest another “allot Those in vade-mecum jobs are more likely to upon work-related disorders due to inhaling dust or fumes or accidents at being done X Questionnaires can be closed-ended, open-ended or a combination of both <a href=http://www.dept-s.com/sildenafil/>100 mg sildenafil visa</a>.