Commit graph

270 commits

Author SHA1 Message Date
Jürg Lehni
fbf7016e7c Update JsDoc. 2011-06-13 19:32:20 +01:00
Jürg Lehni
12179ac35c Update JsDoc Toolkit. 2011-06-13 15:55:06 +01:00
Jürg Lehni
cea60c1ad2 Add comments. 2011-06-12 23:09:41 +01:00
Jürg Lehni
a7f00398a3 Add jsdoc-toolkit as submodule. 2011-06-12 23:09:09 +01:00
Jürg Lehni
4f57dd5702 Remove embedded jsdoc-toolkit, so it can be added as submodule. 2011-06-12 23:08:05 +01:00
Jürg Lehni
4d12cb87fc Switch from "out" folder for built library to "dist". 2011-06-12 19:03:18 +01:00
Jürg Lehni
b466ac809e Provide a shell script that generates a version of out/paper.js that uses load.js to directly load the library through the seperate source files in the src directory, as required development of the library itself. 2011-06-12 18:55:29 +01:00
Jürg Lehni
7ef4575320 jsdoc: Use .html extension for template docs too, as they are not using any macros anyore. 2011-06-10 02:50:06 +01:00
Jürg Lehni
a031980556 jsdoc: Port back CSS changes from Paperjs.org. 2011-06-09 00:03:37 +01:00
Jürg Lehni
bbf2cca62f jsdoc: Add compiled paper.js file. 2011-06-09 00:03:16 +01:00
Jürg Lehni
ea1596c328 jsdoc: Move paperscript css in its own files. 2011-06-08 18:47:19 +01:00
Jürg Lehni
bbcf49f5d7 jsdoc: Do not wrap normal code in paperscript element. 2011-06-08 18:23:26 +01:00
Jürg Lehni
790ad1754a jsdoc: Use paragraph tag for example headers. 2011-06-08 18:23:01 +01:00
Jürg Lehni
088fb421bb jsdoc: Sort out bottom margins for various content elements. 2011-06-08 18:22:32 +01:00
Jürg Lehni
34a17068c4 jsdoc: Rename templatedocs to templates. 2011-06-08 17:56:08 +01:00
Jürg Lehni
501c3b56b4 jsdoc: Rename indexjs to packages. 2011-06-08 17:55:43 +01:00
Jürg Lehni
725331412c jsdoc: Clean up css styles and assets. 2011-06-08 17:53:15 +01:00
Jürg Lehni
a03fc0a3bf jsdoc: Merge code for different render modes. 2011-06-08 17:38:47 +01:00
Jürg Lehni
127b572026 jsdoc: Always use Link.filemap in order to rename _global_.html to global.html, and also the templatedocs links to that page. 2011-06-08 17:34:50 +01:00
Jürg Lehni
75da343022 jsdoc: Change the way the package-classes list is rendered by using nested <ul> tags, and have Global Scope appear outside of a nested list. 2011-06-08 15:52:32 +01:00
Jürg Lehni
39380b4c87 jsdoc: Revert unrequired change. 2011-06-08 13:56:48 +01:00
Jürg Lehni
31bef3ea14 Merge remote-tracking branch 'origin/master' 2011-06-08 13:52:49 +01:00
Jürg Lehni
2ed323a73a jsdoc: Handle renaming of _global_ scope more consistently, also in links. 2011-06-08 13:52:37 +01:00
Jürg Lehni
a62b28a6b9 Use Link() object in Render.classes(). 2011-06-08 13:37:42 +01:00
Jürg Lehni
4f5415b1e5 jsdoc: Add asCode parameter to Link() constructor, to define if it should be wrapped in <tt> or not. 2011-06-08 13:36:46 +01:00
Jonathan Puckey
b51a25486f jsdoc template: create the classes directory. 2011-06-08 13:21:17 +02:00
Jürg Lehni
16f184a9a1 Ingore TextMate project files. 2011-06-07 10:36:40 +01:00
Jürg Lehni
dc731f2d79 JSDocs: Have inheritance links be rendered bold too. 2011-06-07 10:35:39 +01:00
Jürg Lehni
bd61bf5a27 JSDocs: Correct the way links are generated in templatedocs. 2011-06-07 10:35:26 +01:00
Jürg Lehni
cb82bf3ff1 JSDocs: Clean up directory settings. 2011-06-07 10:34:53 +01:00
Jürg Lehni
ad087738cd JSDocs: Use no extensions in links for templatedocs. 2011-06-07 10:33:39 +01:00
Jürg Lehni
6249a8ba53 Remove unused .gitignore file. 2011-06-07 10:28:39 +01:00
Jürg Lehni
2d71ff9c9e JSDocs: Move Utils.publishMenu() funcitonality to Render.classes(), but have it not render the template yet, as it is requied by both docs and templatedocs, through the index rendering functions Render.index() (previoulsy Render.menu()) and Render.indexjs (previously Render.packagesjs). 2011-06-07 10:28:18 +01:00
Jürg Lehni
928cd7c39e JSDocs: Have templatedocs generate lowercased links through the use of Link.filemap. 2011-06-07 10:23:14 +01:00
Jürg Lehni
acce38b745 JSDocs: Rename _global_ to Global Scope in templates too. 2011-06-07 10:21:51 +01:00
Jürg Lehni
d28c354a6d JSDocs: Remove unused JS code. 2011-06-07 10:20:20 +01:00
Jürg Lehni
57b7da13ab JSDocs: Add '-member' to all member div ids, so they won't accidentally collide with css styles (e.g. #index). 2011-06-07 10:20:00 +01:00
Jürg Lehni
d07c95f565 Clean up code. 2011-06-07 10:17:33 +01:00
Jürg Lehni
d1db98fe68 Rename _global_ to Global Scope. 2011-06-07 10:17:02 +01:00
Jürg Lehni
9a1879fbd4 JSDocs: Clean up css styles, to reflect recent changes in Paperjs.org and Scriptographer.org (reference.css is shared). 2011-06-07 10:15:26 +01:00
Jürg Lehni
8046087c51 JSDocs: Clean up css styles, to reflect recent changes in Paperjs.org and Scriptographer.org (reference.css is shared). 2011-06-07 10:14:56 +01:00
Jürg Lehni
2144eeb25e JSDocs: Remove unused template files. 2011-06-07 00:14:57 +01:00
Jürg Lehni
5b448fbb06 JSDocs: Separate "See also" links with commas. 2011-06-07 00:14:47 +01:00
Jürg Lehni
f4bf96abec JSDocs: No need to wrap links in <tt> since they are taking care of that already. 2011-06-07 00:05:53 +01:00
Jürg Lehni
494c2f4da0 JSDocs: Separate different options with ' / ' rather than '|'. 2011-06-07 00:01:07 +01:00
Jürg Lehni
a5426403eb JSDocs: Improve the way links from arrays to their components are rendered. 2011-06-07 00:00:30 +01:00
Jonathan Puckey
7771fd8736 jsdoc template: example.tmpl: add a div around the pre code, so it receives the bottom margin. 2011-06-03 18:43:47 +02:00
Jonathan Puckey
54e98cb4e2 jsdoc template: make the paperscript examples 100 high with a split pane by default. 2011-06-03 18:42:52 +02:00
Jonathan Puckey
4235af8e35 jsdoc template: Copy the changes made to the Code / PaperScript tags on paperjs.org. 2011-06-03 18:42:13 +02:00
Jonathan Puckey
381fd61f60 jsdoc template: fix bug where paperScript object wasn't being nullified. 2011-06-03 13:23:57 +02:00
Jonathan Puckey
082ecf1a64 jsdoc template: rename Code#format and PaperScript#format to #setup. 2011-06-02 21:01:44 +02:00
Jonathan Puckey
c22d8f8f3c Merge remote branch 'origin/master' 2011-06-02 20:52:42 +02:00
Jonathan Puckey
6ddb29bd21 jsdoc template: Support inline paperscript tags for examples. 2011-06-02 20:52:02 +02:00
Jonathan Puckey
415728f7cf jsdoc template: also build paper.js and place it in the resources folder of the generated documentation. 2011-06-02 20:50:43 +02:00
Jürg Lehni
419514a7b0 Ignore local build files. 2011-06-02 15:34:28 +01:00
Jonathan Puckey
7e932368a8 jsdoc template: fix Operator.isOperator's handling of == operators. 2011-06-02 14:54:00 +02:00
Jonathan Puckey
4e227dd361 jsdoc template: remove unused allclasses template. 2011-06-02 13:35:42 +02:00
Jonathan Puckey
a32930287a jsdoc template: move src files into separate folder and make a groupTitle plugin. 2011-06-02 12:56:24 +02:00
Jonathan Puckey
4af970ed79 jsdoc template: general clean up and implement exporting of packages.js. 2011-06-01 19:49:50 +02:00
Jonathan Puckey
0c6a91a789 jsdoc: remove comments that Rhino bugs out on. 2011-06-01 19:46:39 +02:00
Jonathan Puckey
33ad03af5d jsdoc: Update Rhino. 2011-06-01 19:46:11 +02:00
Jonathan Puckey
3274102dec More jsdoc work, including exporting of templatedocs. 2011-06-01 12:19:15 +02:00
Jürg Lehni
ad2c7332de Move jsdoc creation to its own build script. 2011-05-31 22:17:13 +01:00
Jonathan Puckey
048dda45d5 jsdoc template: clean up menu html. 2011-05-31 16:36:34 +02:00
Jonathan Puckey
bcc9d4efcd jsdoc template: use html5 doctype. 2011-05-31 16:36:04 +02:00
Jonathan Puckey
fddbb07ac1 jsdoc template: add copyright footer. 2011-05-31 16:29:37 +02:00
Jonathan Puckey
41c7ae6a90 jsdoc template: cleanup publish.js a bit. 2011-05-31 15:26:33 +02:00
Jonathan Puckey
3d7ddb26bf jsdoc template: allow optional naming of symbols in the package list and name '_global_' -> 'global paper scope' 2011-05-31 15:25:21 +02:00
Jonathan Puckey
add6379ec3 jsdoc template: fix a few style discrepancies. 2011-05-31 01:27:10 +02:00
Jonathan Puckey
5341cc0855 jsdoc template: move bullet.gif to assets folder. 2011-05-31 01:01:29 +02:00
Jonathan Puckey
d2ad85f28c jsdoc template: fix rendering of packages.html. 2011-05-31 00:59:38 +02:00
Jonathan Puckey
c827888c71 jsdoc template: update bootstrap dependency. 2011-05-31 00:54:02 +02:00
Jonathan Puckey
7fe1cb84b4 jsdoc template: add missing bullet.gif resource. 2011-05-31 00:41:10 +02:00
Jonathan Puckey
14e46fe78f jsdoc template: Move helper functions into global Utils object and replace <pre> tags with <pre class='code'> to have them highlighted by CodeMirror. 2011-05-30 20:07:45 +02:00
Jonathan Puckey
df86a91d7c jsdoc template: adjust reference stylesheet. 2011-05-30 20:06:04 +02:00
Jonathan Puckey
4900b01c86 jsdoc template: remove unused allfiles.tmpl file. 2011-05-30 20:05:38 +02:00
Jonathan Puckey
5b1a5229da jsdoc template: Fix output of @return tags. 2011-05-30 17:00:39 +02:00
Jonathan Puckey
8637bc4203 jsdoc: clean up templates a bit and improve rendering of @example tags. 2011-05-30 16:52:11 +02:00
Jonathan Puckey
e3069eaaed jsdoc template: Use CodeMirror for code highlighting. 2011-05-30 14:44:08 +02:00
Jonathan Puckey
6d13b1eb5d jsdoc template: hide constructors without a description. 2011-05-30 12:31:15 +02:00
Jonathan Puckey
a3ea5e0de5 jsdoc template: Add empty .gitignore file to packages folder. 2011-05-29 20:11:22 +02:00
Jonathan Puckey
044dd34e9f jsdoc: when linking to a member of the same class, toggle it. 2011-05-29 17:23:45 +02:00
Jonathan Puckey
1bbf5e27bf jsdoc template: change title of index page. 2011-05-29 16:58:33 +02:00
Jonathan Puckey
7e34c713b0 jsdoc template: fix links and remove unnecessary rendering of template. 2011-05-29 14:00:56 +02:00
Jonathan Puckey
de9378f5c6 jsdoc: render menu and move resources into static. 2011-05-28 19:31:41 +02:00
Jonathan Puckey
3bb4e4a0c7 jsdoc template: rename title of inherited functions / properties. 2011-05-28 19:29:44 +02:00
Jonathan Puckey
33b69f3205 Jsdoc: Update the java Rhino library. 2011-05-28 19:24:08 +02:00
Jonathan Puckey
54b40faf5d jsdoc: clean up templates and publish.js. 2011-05-28 15:43:26 +02:00
Jonathan Puckey
1bcb8a3e34 jsdoc: expand (parameter,parameter) to (parameter, parameter) in Link.prototype._makeSymbolLink. 2011-05-28 03:05:23 +02:00
Jonathan Puckey
70a3300927 jsdoc: when no default value is given, just put optional. 2011-05-28 02:27:56 +02:00
Jonathan Puckey
69732bcbad jsdoc: implement constructors plugin that scans for symbols named Class#initialize or Class.Class and places them in the Constructors list in the documentation. 2011-05-28 02:13:52 +02:00
Jonathan Puckey
f78259f8de jsdoc: change parser to allow for multiply symbols of the same name. 2011-05-28 02:11:30 +02:00
Jonathan Puckey
30c92ae382 jsdoc publish.js: remove debug statement. 2011-05-27 20:27:42 +02:00
Jonathan Puckey
75620403d8 jsdoc: ignore constructor if the class is a namespace. 2011-05-27 19:59:30 +02:00
Jonathan Puckey
6e8824f7bb jsdoc: surround read only text with paragraph. 2011-05-27 19:58:59 +02:00
Jonathan Puckey
079692bdc3 More work on jsdoc method linking. 2011-05-27 19:58:31 +02:00
Jonathan Puckey
8bfc9c3e2a jsdoc: support {@link Class#method(param1, param2)} -> Class#method-param1-param2. 2011-05-27 19:43:45 +02:00
Jonathan Puckey
b98f69a75c jsdoc: support @true tag. 2011-05-27 18:40:47 +02:00
Jonathan Puckey
2f67552791 jsdoc: include parameter descriptions. 2011-05-27 18:27:01 +02:00
Jonathan Puckey
41925ea990 More docs rendering work. 2011-05-27 17:59:31 +02:00
Jonathan Puckey
f9d9847320 jsdoc: add methods and properties from inherited classes. 2011-05-27 14:59:43 +02:00
Jonathan Puckey
8887a4494c jsdoc: add support for @readonly tags. 2011-05-27 13:55:59 +02:00
Jonathan Puckey
1821dcd415 jsdoc: convert <code> blocks to <pre>. 2011-05-27 13:55:41 +02:00
Jonathan Puckey
d95342c8b8 jsdoc: Hide constructors of classes whose name match Event or Style. 2011-05-27 13:55:19 +02:00
Jonathan Puckey
4dcc320871 Implement Scriptographer docs template in jsdoc (work in progress). 2011-05-26 20:13:07 +02:00
Jonathan Puckey
d03e6b22dd Cleanup the jsdoc template a bit. 2011-05-23 15:28:31 +02:00
Jonathan Puckey
e1cfadf9a3 Remove some of the cruft from the documentation template. 2011-05-23 14:51:59 +02:00
Jonathan Puckey
713649206b jsdoc template: take out all alphabetical sorting. 2011-05-23 04:07:37 +02:00
Jonathan Puckey
c0d63b1faf jsdoc template: don't sort by name. 2011-05-23 03:54:18 +02:00
Jonathan Puckey
4db5486986 Change build.sh to also generate documentation. 2011-05-22 18:45:49 +02:00
Jonathan Puckey
4365e5620a Add jsdoc-toolkit to build directory for generating documentation. 2011-05-22 18:44:39 +02:00
Jürg Lehni
b580016232 Change name of default build. 2011-05-06 19:19:23 +01:00
Jürg Lehni
b5a3392048 Clean up build scripts and update parse-js-min.js to use uglify instead of google compiler. 2011-04-26 15:53:48 +01:00
Jürg Lehni
bab7985185 Remove Google Closure Compiler and use UglifyJS instead, as it does not break the library and yields to similar compressions results. 2011-03-07 11:10:35 +00:00
Jürg Lehni
4fffbfcaff Update closure compiler to latest version. 2011-03-07 01:00:11 +00:00
Jürg Lehni
e1a7aff2f0 Add copyright notice and license file. 2011-03-07 00:50:44 +00:00
Jürg Lehni
66f5fcc847 Merge paper.js and build.js, to make sure the global paper object exists also when including seperate files during development and when running tests. 2011-03-04 16:52:17 +00:00
Jürg Lehni
52ab361ed5 Include minified version of parse-js (25kb) inside PaperScript object. 2011-03-03 22:55:18 +00:00
Jürg Lehni
2c78a0a08b Add beginning of support for <script type="text/paperscript">, inspired by Coffee Script. 2011-03-03 18:31:56 +00:00
Jürg Lehni
80a5e4513e Add preprocessor and build scripts for production of single file Paper.js version, based on previous work for Bootstrap. 2011-03-03 13:45:21 +00:00