How to use Docco in a computer using Windows as O.S.
Docco is a new concept of document your code. If you use Docco you will have an human readable code that will improve your productivity.
-
Install Node.js
-
Install Phyton 2.7
-
Install setuptools Phyton 0.6.11
-
Add a new environment variable in your PATH, pointing to the Scripts folder in your Phyton folder. i.e.C:\Phyton27\Scripts
-
To make your computer understand the new path you need it to be restarted.
-
Install Pygments
-
Execute: easy_install Pygments
-
-
Install Docco
-
Execute: npm install -g docco
-
-
Create your project
-
Add file comments using Markdown see documentation
-
Open a CMD and move to your project directory
-
Execute: docco src/*.js
Now you will have your docs directory generated
-
I hope you enjoy it.
Comentar este post