Skip to content

rootworkit/JsDoc-Toolkit.tmbundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This bundle is designed to help you write JavaScript documentation using JsDoc Toolkit. It contains commands for running JsDoc Toolkit on one or more JavaScript files in TextMate as well as snippets for each of the tags that JsDoc Toolkit supports. The bundle currently uses JsDoc Toolkit 2.4.0.

JsDoc Toolkit is an application, written in JavaScript, for automatically generating template-formatted, multi-page HTML (or XML, JSON, or any other text-based) documentation from commented JavaScript source code.

Installing from GitHub

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/csaccheri/JsDoc-Toolkit.tmbundle.git "JsDoc Toolkit.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Commands

  • Document with JsDoc Toolkit (⌃⌘D) Generates HTML documentation from commented JavaScript source code using JsDoc Toolkit and displays it in TextMate's Web Preview window. You can generate documentation from a single file, multiple selected files, or an entire directory.

  • Edit JsDoc Toolkit Configuration (⌃⌘D) Opens the configuration files used by the bundle to run JsDoc Toolkit. You can edit this file to change configuration options, such as whether to include private methods, use a different output template, etc. Read about JsDoc Toolkit command line options for more information on each option.

  • View Tag Reference (⌃⌘D) Opens the JsDoc Toolkit tag reference in TextMate's Web Preview window.

Snippets

This bundle includes a number of snippets to help you write JsDoc Toolkit-friendly comments. The docblock snippet will create a documentation comment block (starting with /**), while the other snippets are specific to the various tags JsDoc Toolkit supports.

Read the JsDoc Toolkit tag reference for more information on each tag.

Licenses

About

Now, there really is no excuse for not documenting your JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.4%
  • XML 11.6%
  • CSS 0.9%
  • Shell 0.7%
  • Java 0.6%
  • ApacheConf 0.5%
  • HTML 0.3%