mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
update installation instructions (#282)
This commit is contained in:
parent
b07d19f43a
commit
f49d69e05d
18
README.md
18
README.md
@ -11,21 +11,27 @@ Want to contribute to JSDoc? Please read `CONTRIBUTING.md`.
|
|||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Download a copy of JSDoc 3 from the official GitHub repository:
|
Use git to clone the [official JSDoc repository](https://github.com/jsdoc3/jsdoc):
|
||||||
https://github.com/jsdoc3/jsdoc
|
|
||||||
|
|
||||||
Or if you have Node.js installed, use npm:
|
git clone git@github.com:jsdoc3/jsdoc.git
|
||||||
|
|
||||||
npm install -g git://github.com/jsdoc3/jsdoc.git
|
Alternatively, you can download a .zip file for the
|
||||||
|
[latest development version](https://github.com/jsdoc3/jsdoc/archive/master.zip)
|
||||||
|
or a [previous release](https://github.com/jsdoc3/jsdoc/tags).
|
||||||
|
|
||||||
|
You can also install JSDoc within a Node.js project using npm:
|
||||||
|
|
||||||
|
npm install git://github.com/jsdoc3/jsdoc.git
|
||||||
|
|
||||||
**Note**: Although you can install JSDoc with npm, JSDoc does not currently run
|
**Note**: Although you can install JSDoc with npm, JSDoc does not currently run
|
||||||
on Node.js.
|
on Node.js. In addition, installing JSDoc globally with `npm install -g` is not
|
||||||
|
currently supported.
|
||||||
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
This example assumes that your working directory is the jsdoc application base
|
This example assumes that your working directory is the JSDoc application base
|
||||||
directory:
|
directory:
|
||||||
|
|
||||||
./jsdoc yourSourceCodeFile.js
|
./jsdoc yourSourceCodeFile.js
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user