jsduck

Simple JavaScript Duckumentation generator.

  • 所有者: senchalabs/jsduck
  • 平台:
  • 許可證: GNU General Public License v3.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

JSDuck

Warning: JSDuck is no more maintained!

  • If you're looking to adopt a documentation tool, try something else.
  • If you're using JSDuck, consider moving over to something else.
  • Even Sencha itself doesn't use it any more, they use some internal tool, that's not available publicly.
  • If you'd like to take over the maintenance of JSDuck, contact me by creating an issue.

Build Status

API documentation generator for Sencha JavaScript frameworks.

JSDuck aims to be a better documentation generator for Ext JS than
the old ext-doc was. It is used by Sencha to document Ext JS
4
, Sencha Touch and several other
products.

The highlights of JSDuck are Markdown support and keeping you DRY
by inferring a lot of information from code. Read the
documentation for full overview.

New to JSDuck? Watch introductory talk by Nick Poulden:

Getting it

Standard rubygems install should do:

$ [sudo] gem install jsduck

Or download the Windows binary. When you run into problems,
see the installation guide.

Usage

For the simplest test-run just use the --builtin-classes option to
write documentation for JavaScript builtin classes like Array, String
and Object into docs directory:

$ jsduck --builtin-classes --output docs

To generate docs for Ext JS 4 add path to the corresponding src/ dir:

$ jsduck ext-4.2.1/src --output docs

And to create docs for your own Ext JS project, list the directory
with your files in addition to the Ext JS source files (this way the
docs of your classes will list all the properties and methods they
inherit from Ext JS classes):

$ jsduck ext-4.2.1/src my-project/js --output docs

Unfortunately the above will throw lots of warnings at you, as
building the full Ext JS docs requires lots of additional settings.
For start you might want to simply ignore all these warnings
originating from Ext JS source:

$ jsduck ext-4.2.1/src my-project/js --output docs \
         --warnings=-all:ext-4.2.1/src

But see the Usage guide for more information on building Ext JS 4
docs.

Documenting your code

Read the documentation and take a look at example.js.

Hacking it

See Hacking guide in wiki.

Who's using JSDuck?

These are some that we know of. Want your project listed here? Drop us a line.

Copying

JSDuck is distributed under the terms of the GNU General Public
License version 3.

JSDuck was developed by Rene Saarsoo,
with contributions from
Nick Poulden,
Ondřej Jirman,
Thomas Aylott,
Dave Thompson,
Ed Spencer,
Rob Dougan,
Scott Whittaker,
Timo Tijhof,
Brian Moeskau,
Garry Yao,
Yasin Okumus,
Nicholas Boll and
Katherine Chu.

Many thanks goes also to those who have most eagerly reported bugs:
Ryan Nauman,
Raphael Franchet,
atian25,
burnnat,
Raphael Pigulla,
Dmitry Bakaleinik,
Alan Lindsay,
Corey Butler,
Nickolay Platonov,
Matt Greer,
Richard and
Dmitry Pashkevich.

There are lots of others I haven't named here, who have provided their
input.

Changelog

See the Releases page.

More questions?

Feel free to post an issue, but read the FAQ first.

主要指標

概覽
名稱與所有者senchalabs/jsduck
主編程語言Ruby
編程語言Ruby (語言數: 5)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2010-10-04 13:40:38
推送於2020-04-16 21:37:08
最后一次提交2019-01-10 13:57:28
發布數83
最新版本名稱v6.0.0.beta (發布於 2013-11-27 16:07:47)
第一版名稱v0.1 (發布於 2010-12-27 21:54:58)
用户参与
星數1.5k
關注者數93
派生數240
提交數3.4k
已啟用問題?
問題數613
打開的問題數83
拉請求數41
打開的拉請求數3
關閉的拉請求數26
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?