Install jsdoc in Ubuntu

Source: Internet
Author: User
First, download the jsdoc-JavaScript documentation tool. Http://sourceforge.net/projects/jsdoc.
1. download and install the Perl environment, ActivePerl-5.10.0.1003-i686-linux-glibc-2.3.2-285500.deb. The website http://www.activeperl.com/has been downloaded. A few simple information may not be considered a registration.
2. Run Perl jsdoc. pl test. js. Generally, an error of the type "can't locate html/template. PM in @ INC..." will be prompted, which means you need to install the HTML: Template Perl module. This section describes how to run Perl-mcpan-e 'Install HTML: template' to complete the installation. However, after a large amount of information is prompted, the installation fails and the installation is depressing. So I downloaded HTML: Template and installed it manually.
3. Install HTML: Template
A. Perl makefile. pl
B. Make
C. Make Test
D. make install (this step requires administrator privileges)

4. Run Perl jsdoc. pl test. JS after installing HTML: Template.
After the js_docs_out folder is successfully run, the HTML generated by test. JS is displayed as follows:

For introduction to jsdoc, see the web page: http://jsdoc.sourceforge.net/

For the first time, you can directly send a message under Ubuntu.ArticleHaha.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.