Skip to content

Instantly share code, notes, and snippets.

@m-coding
Last active February 15, 2016 20:23
Show Gist options
  • Save m-coding/3fe244a98ab4b7f85d94 to your computer and use it in GitHub Desktop.
Save m-coding/3fe244a98ab4b7f85d94 to your computer and use it in GitHub Desktop.
How to install Docco on Windows
  1. Download Python 2.7 http://www.python.org/download/releases/
  2. Add python path to System enivorment variable
  • Create a new variable called PYTHON_PATH and add C:\Python27
  • Edit PATH environment variable, add %PYTHON_PATH% and %PYTHON_PATH%\Scripts
  • This way, you can edit just PYTHON_PATH if you change versions
  1. Download the setup tools http://pypi.python.org/pypi/setuptools
  1. Install NodeJs http://nodejs.org
  2. Open a Command Window
  3. Run npm install -g coffee-script
  4. Run easy_install pygments
  5. Run npm install -g pygments
  6. Run npm install -g docco
  7. In theory, you're done! And now should be able to run docco myFile.js

Docco Resources:

Install Python Resources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment