Skip to content

Instantly share code, notes, and snippets.

@davglass
Created December 7, 2011 17:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davglass/1443748 to your computer and use it in GitHub Desktop.
Save davglass/1443748 to your computer and use it in GitHub Desktop.
YUIDoc with 3.5.0 install instructions
Unix Install Instructions (until it's available via npm)
git clone git://github.com/yui/yui3.git
git clone git://github.com/davglass/yuidocjs.git
cd yui3/src/yui
make npm
cd ../../../yuidocjs
git checkout -t origin/3.5.0
sudo npm -g i .
cd /usr/local/lib/node_modules/yuidocjs
sudo npm i /tmp/npm-yui
npm ls (from /usr/local/lib/node_modules/yuidocjs):
yuidocjs@0.2.4 /usr/local/lib/node_modules/yuidocjs
├─┬ graceful-fs@1.1.1
│ └── fast-list@1.0.1
├─┬ minimatch@0.0.4
│ └── lru-cache@1.0.4
├── node-markdown@0.1.0
└── yui@3.5.0pre extraneous
Windows Install Instructions (until it's available via npm)
**This assumes you have GitBash installed**
From Git Bash:
git clone git://github.com/yui/yui3.git
git clone git://github.com/davglass/yuidocjs.git
cd yui3/src/yui
make npm
cd ../../../
cp -R /tmp/npm-yui ./
cd ../yuidocjs
git checkout -t origin/3.5.0
From Windows CMD.exe
cd yuidocjs
npm -g i .
cd /c/Users/$USERNAME/AppData/Roaming/npm/node_modules/yuidocjs
sudo npm i /PATH TO WORKING DIR/npm-yui
npm ls (from /c/Users/$USERNAME/AppData/Roaming/npm/node_modules/yuidocjs):
yuidocjs@0.2.4
├─┬ graceful-fs@1.1.1
│ └── fast-list@1.0.1
├─┬ minimatch@0.0.4
│ └── lru-cache@1.0.4
├── node-markdown@0.1.0
└── yui@3.5.0pre extraneous
@tivac
Copy link

tivac commented Dec 7, 2011

I'm unable to install contextify on my windows machine

node-waf clean || (exit 0); node-waf configure build

explodes in spectacular fashion.

@davglass
Copy link
Author

davglass commented Dec 7, 2011

That should not happen if you followed all the instructions above.

Contextify is used by JSDom which is not a dependency of the new YUI 3.5.0 package so it should never be installed.

@tivac
Copy link

tivac commented Dec 7, 2011

Damn, I'll figure out where it went wrong. Thanks.

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