Permalink
Browse files

move clientside lib to lib for yuidoc, update example paths

  • Loading branch information...
1 parent f918515 commit 2d16435a0a5e5000824bbe2e6316ce18a01272d9 @kaganjd kaganjd committed Jan 29, 2016
View
@@ -95,3 +95,7 @@ function draw() {
*/
}
```
+
+### Documentation
+To generate documentation, install yuidoc (``npm install -g yuidoc``) and run
+```yuidoc -c yuidoc.json ./lib```
@@ -2,7 +2,7 @@
<head>
<meta charset="UTF-8">
<script language="javascript" type="text/javascript" src="p5.js"></script>
- <script language="javascript" type="text/javascript" src="../../p5.serialport.js"></script>
+ <script language="javascript" type="text/javascript" src="../../lib/p5.serialport.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<style> body {padding: 0; margin: 0;} </style>
</head>
@@ -2,7 +2,7 @@
<head>
<meta charset="UTF-8">
<script language="javascript" type="text/javascript" src="p5.js"></script>
- <script language="javascript" type="text/javascript" src=" p5.serialport.js"></script>
+ <script language="javascript" type="text/javascript" src="../../lib/p5.serialport.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<style> body {padding: 0; margin: 0;} </style>
</head>
@@ -7,7 +7,7 @@
<script src="libraries/p5.dom.js" type="text/javascript"></script>
<script src="libraries/p5.sound.js" type="text/javascript"></script>
- <script src="libraries/p5.serialport.js" type="text/javascript"></script>
+ <script language="javascript" type="text/javascript" src="../../lib/p5.serialport.js"></script>
<script src="sketch.js" type="text/javascript"></script>
@@ -7,7 +7,7 @@
<script src="libraries/p5.dom.js" type="text/javascript"></script>
<script src="libraries/p5.sound.js" type="text/javascript"></script>
- <script src="libraries/p5.serialport.js" type="text/javascript"></script>
+ <script language="javascript" type="text/javascript" src="../../lib/p5.serialport.js"></script>
<script src="sketch.js" type="text/javascript"></script>
@@ -2,7 +2,7 @@
<head>
<meta charset="UTF-8">
<script language="javascript" type="text/javascript" src="p5.js"></script>
- <script language="javascript" type="text/javascript" src="../../p5.serialport.js"></script>
+ <script language="javascript" type="text/javascript" src="../../lib/p5.serialport.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<style> body {padding: 0; margin: 0;} </style>
</head>
@@ -7,7 +7,7 @@
<script src="libraries/p5.dom.js" type="text/javascript"></script>
<script src="libraries/p5.sound.js" type="text/javascript"></script>
- <script src="libraries/p5.serialport.js" type="text/javascript"></script>
+ <script language="javascript" type="text/javascript" src="../../lib/p5.serialport.js"></script>
<script src="sketch.js" type="text/javascript"></script>
@@ -2,7 +2,7 @@
<head>
<meta charset="UTF-8">
<script language="javascript" type="text/javascript" src="p5.js"></script>
- <script language="javascript" type="text/javascript" src="../../p5.serialport.js"></script>
+ <script language="javascript" type="text/javascript" src="../../lib/p5.serialport.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<style> body {padding: 0; margin: 0;} </style>
</head>
File renamed without changes.
View
@@ -0,0 +1,8 @@
+{
+ "options": {
+ "outdir": "./docs",
+ "paths": "lib",
+ "exclude": "./docs/*, ./examples/*",
+ "ignorePaths": ["./examples/*"]
+ }
+}

0 comments on commit 2d16435

Please sign in to comment.