Automatically close unclosed HTML tags.

Fixes an old problem with some unclosed <b> or <div> messing up
the layout of docs.

In addition to automatically closing the tags, a warning gets printed.
Extract HtmlStack class from DocFormatter.
Implement --ignore-html option.

Allows for ignoring additional HTML tags which otherwise would get
closed down by the new automatic tag closing mechanism.

Useful for ignoring ExtJS preprocessor directives: <debug>, <locale>.
Fix HtmlStack#open? method.

A silly mistake.
Improve wording of 404 page.

Don't direct people right away to JSDuck issue tracker - most likely
it's just a fault of a broken link and it's the authors of the
documentation who should fix it.
Display title text on loading screen.

Instead of using hardcoded image with text "Sencha Docs".
Default to Object when no type specified by @return.

This fixes the issue of return value docs being completely missing
in case @return wasn't followed by {TypeDef}.
Remove WebKit restriction from --touch-examples-ui.

No more does using this option restrict viewing of inline examples
to WebKit based browsers.  This check is now moved over to
eg-iframe.html in Sencha Touch codebase.
Check circular dependencies before resolving @inheritdoc.

Otherwise the documentation inheriting process will run into infinite
loop.

For example the following code cause a problem:

    /**
     * @class
     * @extends B
     */
    A = {};

    /**
     * @class
     * @extends A
     */
    B = {c: 'd'};

That's fixed now.
Up version to 4.6.0.
Mention Timo Tijhof in README thanks list.
Fix markup conflict in builtin RegExp class docs.

The "|" is used as table cell separator and inside a table cell
needs to be escaped with HTML entity.
Add :touch2 --import testing code to Rakefile.

In commented out form, to be used when needed.
Ignore hidden members when counting new ones.

The Class#find_members(:local=>true) previously also returned
the hidden members.  This resulted from the fact that internally
it was using #global_by_id and #local_by_id indexes from MembersIndex
class.  As these maps are also used internally inside MembersIndex
I'm now exposing #all_global and #all_local methods which return
the arrays instead of hashes and both without any hidden members.
Show "Nothing found" text when search fails.

That's much better than the previous flickering where before performing
the search the dropdown was shown and after getting no results it was
hidden again.

Better to just show a message "Nothing found" - this will also make
clear to the user that the search found no results and didn't just fail
for whatever reason.
Allow Markdown file to be used with --welcome.

Added additional styles for the welcome page so that when it's
rendered from Markdown, the default result will look OK.
Document ECMAScript 5 method in builtin classes.
Up version to 4.6.1
Warn when referencing missing images from guides.

Achieving this required extensive refactoring of how the images get
processed.  Previously the existance of images was looked up after
all the @img tag had been replaced.  Now the check for existance is
part of expanding the @img tag, so the check happens also for images
in guides, for which the check didn't occour previously as there is
no images copy step in there.

The old Images class has been replaced with ImageDir and ImageDirSet.
Add width and height attributes to expanded @img tags.

Include the Dimensions gem to retrieve image width/height meta-data.

Additional %w an %h placeholders to --img-tpl template.