- Nov 14, 2011
-
-
Rene Saarsoo authored
This is similar to json export format, with the difference that only class and method names are included to exported JSON.
-
Rene Saarsoo authored
Added two classes: - JsonExporter - exports single class to JSON format file. - JsonPExporter - exports single class to JsonP format file in compact form.
-
Rene Saarsoo authored
Additionally one can now use: --output - This will produce output to stdout. Old --json is now --export=json Old --stdout is now --export=json --output=-
-
- Nov 13, 2011
-
-
Rene Saarsoo authored
The TemplateDir is now only responsible for copying or linking the tempate directory.
-
Rene Saarsoo authored
It takes care of the creation of data.js file.
-
Rene Saarsoo authored
Didn't quite work out this way. Instead now separating out the different tasks in output. For start the source code export is now fully done inside SourceWriter class, which got a write_all static method. The main chunk of the normal HTML output is done by TemplateDir class that at the moment does a bit too many things.
-
Rene Saarsoo authored
Splitting the output routines into three classes: - StdoutExporter - JsonExporter - HtmlExporter Additionally creating ClassWriter class for outputting the .js or .json files. This one isn't pretty, but I have to share the output logic between JsonExporter and StdoutExporter. Another nastiness is the format_classes method which has to run BEFORE writing out classes JSON, but AFTER the source HTML files have been created - because of the parallel stuff. Brr... At least the App class now has less responsibilities, but further refactorings are needed.
-
Rene Saarsoo authored
Welcome, Guides, Videos, Examples and Categories now all have a static #create method to be used instead of #new for instantiation. The #create returns either the corresponding object instance or NullObject which behaves as if it were the needed object, but effectively does nothing. Categories.create is a bit different - it first uses one of two strategies for creating categories: FileCategories when filename present or AutoCategories when not, then feeding the resulting categories list to actual Categories object.
-
- Nov 11, 2011
-
-
Nick Poulden authored
-
Rene Saarsoo authored
Somehow it was missing in when doing stdout export while it was nicely present in standard json export. Probably I forgot to add it there by myself.
-
Nick Poulden authored
-
Nick Poulden authored
-
- Nov 10, 2011
-
-
Rene Saarsoo authored
- words in class header. - sum of words in all class members. - average nr of words per class member.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Separate stats for all the different member types.
-
- Nov 09, 2011
-
-
Rene Saarsoo authored
Taken from: http://blog.typekit.com/2011/05/25/loading-typekit-fonts-asynchronously/ This should take care of the problem of docs app freezing for almost a minute before failing to load TypeKit font.
-
Rene Saarsoo authored
Original MDC docs listed 4 parameters - it's more accurate to list two, both of which can be of two types.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Handle case when Docs.data[something] is undefined - previously we expected it always to be an array.
-
Rene Saarsoo authored
The #m-comments had been left unreplaced with .comments-section
-
Rene Saarsoo authored
It felt like something is broken, because links were missing. Then I discovered that the links just don't appear fast enough. I see no reason to artificially slow users down. I want to scroll down to the damned method and click view-source as fast as I can.
-
Rene Saarsoo authored
I had to click too many times more-more-more to get at the end of the list.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
This has been made redundant by including word-count metric to stats module.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Turned on with --stats option, a new static tab appears that shows various statistics per class. For now there's just a table that lists: - nr of members - nr of non-inherited members - fan-in - fan-out
-
Rene Saarsoo authored
This way we can either loop or map or reduce over the items as we wish. Plus the method name is more clear in what it does. Also added #all_members - method which does the same but includes all the inherited and mixed in ones.
-
- Nov 07, 2011
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Fixes the issue of web servers that can't handle double-slashes // in URL-s.
-
Rene Saarsoo authored
Show the tab only when user is logged in as moderator. Renamed CSS class 'comments' to 'comments-div' to avoid conflict with styles to the static tab, which mush have class 'comments'.
-
- Nov 04, 2011
-
-
Nick Poulden authored
-
Nick Poulden authored
When you brush over the hover menu with the mouse on your way somewhere else it can be annoying that the hover menu shows.
-
Nick Poulden authored
-
Rene Saarsoo authored
For example: /** @class Parent */ /** @method foo */ /** @class Child @extends Parent */ /** @method foo @private */ Previously this resulted in Child class docs having method foo from Parent, as if the private foo in Child didn't exist at all. This behavior was quite far from obvious. Now the Child class docs will have no foo method at all - the parent class method gets shadowed with @private foo in subclass. This should be more like what the documentation author intended. As a bonus we now have better error messages for cases where {@link} refers to a private member, and @inheritdoc can be used to inherit docs from private members.
-
Rene Saarsoo authored
Previously it was only checked if IE >= 8, but now we do proper feature-detection. This also disables comments in Opera, so Docs app no more crashes it. Also we now hide the comment controls completely when comments are disabled. Previously the view-comments buttons were still there when comments were disabled.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Use it in all places -webkit-transition is used.
-
- Nov 03, 2011
-
-
Rene Saarsoo authored
Don't render the defined-in classname as link if the class is current class.
-
Rene Saarsoo authored
Generated accessors were missing meta tags and therefore crashed the HTML-generation of meta-tags section.
-