- Dec 17, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
The use of #skip_white must have been a mistake.
-
Rene Saarsoo authored
Instead call it at the top level method, ensuring it will be called always after parsing any tag.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Just using the add_tag method like previously, but the actual parsing of the @tag is performed in parse_at_tag method before control flow reaches the method for parsing the concrete tag.
-
Rene Saarsoo authored
The code should be now both cleaner and faster (we're no more calling look(/regex/) repeatedly to decide which at_tag method to call).
-
Rene Saarsoo authored
Remove bunch of duplication by parsing similar tags with a more generic functions. Also avoid repeating regexes by not testing for the exact tagname any more after the first initial check. The new helper method parse_tag_as() replaces in lots of places two lines of code with just one.
-
Rene Saarsoo authored
The offical 0.11.0 seems to have some problems compiling. So stick with the latest beta instead. For windows we also use the 0.11.0beta1, so that's ceartanly a better option than defining 0.10.1 as dependency.
-
Rene Saarsoo authored
Github no more provides hosting for downloads. So switching over to SourceForge.net.
-
- Dec 13, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Generate full paths for images in guides
-
- Dec 12, 2012
-
-
Scott Whittaker authored
Suppose we're using JSDuck to generate guides from the following directory structure: somedir/ guides.json guides/ getting_started/ README.md some-image.png nested/ first_guide/ README.md one.png second_guide/ README.md one.png In JSDuck's generated HTML, image tags in the Getting Started guide will point to the correct path relative to the page (e.g. 'guides/guide_getting_started/some-image.png'). However, the nested guides will specify the wrong paths to images: JSDuck will write 'guides/first_guide/one.png' instead of the correct 'guides/guide_nested_first_guide/one.png'. This patch fixes the issue by generating the image's path based on the full name of the guide, instead of using 'File.basename' to incorrectly crop the path.
-
Rene Saarsoo authored
The strings can now contain the ] or } char without causing the parsing to end at that point. For example: @cfg {String} [foo="]"]
-
Rene Saarsoo authored
-
- Dec 08, 2012
-
- Dec 07, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Also stars for classes with new members.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Dec 06, 2012
-
- Dec 05, 2012
-
-
Rene Saarsoo authored
For some reason the 0.11.x won't compile.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
External classes can be now specified as patterns. For example 'Foo.*' to ignore all classes in Foo namespace.
-
- Nov 29, 2012
-
-
Rene Saarsoo authored
It's now ignored together with all other possible tags within code example blocks.
-
Rene Saarsoo authored
-
- Nov 28, 2012
-
-
Rene Saarsoo authored
In Ruby 1.9 string[x] returns a string but in Ruby 1.8 it returns a char code. Fixed by using sting[x,y] which always returns a string.
-
Rene Saarsoo authored
One can now write doc-comment for event before the this.fireEvent() and the event name will be picked up automatically, without any need to add @event tag.
-
Rene Saarsoo authored
When encountering an unsupported @tag, JSDuck now prints a warning. To achieve this, I've enhanced the doc-comment parser to only accept @tags when they have a space in front of them. Previously this would have been detected as @method tag: /** foo@method.com */ Now it's treated as plain text as it should be. Only when separated with spaces, the @method tag gets detected: /** foo @method .com */
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Previously --ext-namespaces only applied to detecting Ext.define.
-
Rene Saarsoo authored
For backwards compatibility with old ExtJS sources that contain @override to denote a method is overriding another one in parent.
-
- Nov 27, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
One can now just add an empty doc-comment before Ext.override and all the overrides will get detected: /** */ Ext.override(Some.Class, { foo: 1, doSomething: function(){} });
-
Rene Saarsoo authored
That is, allow to use the @override tag without accompaning @class tag to give a name for the override.
-
Rene Saarsoo authored
An off-by-one bug which prevented one from placing a comment right before some other code construct without leaving a space in between.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Injecting of comment expanders is now deferred until member doc is expanded. This considerably cuts down the time of initial loading of class docs. Hovewer, clicking the expand-all button is now really-really slow as clicking it triggers the injection of all those expanders. But I think that's a good trade-off for now.
-
- Nov 26, 2012
-
-
Rene Saarsoo authored
This allows for a way to document classes that aren't created with a standard Ext.define: createClass("Blah", /** @class Blah */ { foo: 17, doSometing: function() {}, doOtherThing: function() {} }); All the members inside the object literal will end up inside the class. Additionally this is equivalent to the functionality of @lends tag in jsdoc-toolkit, but we achieve the same without having a separate tag.
-
Rene Saarsoo authored
-