Commits

urso committed 1de039c

added some more initial 'documentation'

Comments (0)

Files changed (3)

documentation/generators.pdc

+Generators
+==========
+
+- every generator must be an object
+- must contain field 'arb', which is a function which will generate a value
+  for a given 'seed'
+- generators may have field 'shrink' to support shrinking.
+- if 'shrink' is not defined it is assumed to be 'null'. In either case 
+  the generator will not support shrinking
+- shrinking function must return new Array of possible shrinked values.
+- input to shrinking function is the 'seed' and the generated value to be
+  shrinked
+

documentation/intro.pdc

+
+Introduction
+============
+
+## What is QuickCheck ##
+bla bla bla...
+
 {
 	//d: "JsDoc",
-    d: 'docs',
+    d: 'doc',
 	a: true,
 	r: 10,
-	x: "js"
+	x: "js",
+    docs: {
+        content: [
+          {src:'documentation/intro.pdc',
+           preprocess:'pandoc',
+           title: 'Introduction'},
+          {src:'documentation/generators.pdc',
+           preprocess:'pandoc',
+           title: 'Generators'},
+          {src:'documentation/example/basicuse.html',
+           title: 'Example'}
+        ]}
 }
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.