Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 18, 2014
  1. @nene

    Allow full path to markdown file in guide url field.

    nene authored
    Refactored the guide filename and path detection a bit -
    now also keeping a separate :dir field to reference the directory.
    Using "url" field for that purpose seems awkward, so replaced
    all these usages with :dir.
    
    Fixes #584
Commits on Oct 2, 2014
  1. @nene

    Fix typo in built-in class docs.

    nene authored
    Fixes #577
Commits on Jun 12, 2014
  1. @nene

    Merge pull request #559 from kt3k/feature/fix-travis-build

    nene authored
    Specify sass version.
    
    Because sass 3.3.x breaks some of the css related specs of jsduck.
    
    Although the build on ruby 1.8.7 is still failing, this change fixes the builds on ruby 1.9.3 and 2.0.0 on Travis-ci.
Commits on May 17, 2014
  1. @kt3k

    Specify sass version

    kt3k authored
Commits on Mar 23, 2014
  1. @nene
  2. @nene

    Basic auto-detect for Ext.define(function) syntax.

    nene authored
    A patch by Patrick Gleichmann.
    
    Specs by me.
    
    Refs #527
Commits on Dec 23, 2013
  1. @nene

    Improve --import option docs.

    nene authored
    Fixes #515
  2. @nene

    Remove hard-coded offset of popup menu.

    nene authored
    Instead of relying on offset values, align the top-right of the menu
    with bottom-right of the Docs app title.
    
    Fixes #516
Commits on Dec 10, 2013
  1. @nene

    Add spacer gif for old IE-s.

    nene authored
    For IE8+ and other browsers the ExtJS 4 framework supplies a data-uri,
    but for IE 6 and 7 it defaults to an URL pointing to sencha.com,
    which will cause problems when offline.
    
    Refs #511
Commits on Dec 6, 2013
  1. @nene
Commits on Dec 5, 2013
  1. @nene
  2. @nene

    Don't strip HTML from guide headings.

    nene authored
    Only do it for the generated TOC, but leave the original HTML alone.
    
    Fixes #507
Commits on Nov 27, 2013
  1. @nene

    Up version to 6.0.0.beta.

    nene authored
  2. @nene

    Add sass to list of dependencies.

    nene authored
  3. @nene

    Merge branch 'sass'

    nene authored
  4. @nene

    Leave only JavaScript builtins to default externals.

    nene authored
    Implement a special '@browser' keyword, which when used as:
    
        --external=@browser
    
    will include all the standard browser web API classes, listing
    of which taken from:
    
    https://developer.mozilla.org/en-US/docs/Web/API
    
    Fixes #502
  5. @nene
  6. @nene

    Use standard name for --external option internally.

    nene authored
    Instead of :external_classes, use :external - like the name of
    the option itself, and like it is now with all other options.
  7. @nene

    Add test for --external option.

    nene authored
  8. @nene

    Merge branch 'master' into sass

    nene authored
Commits on Nov 26, 2013
  1. @nene

    Fix +/- signs in front of warning types in help.

    nene authored
    Quite a hack... something better is surely needed.
  2. @nene

    Add parameters to :tag warning type.

    nene authored
    Allows one to supply a list of unknown tag names on which the
    warning is not shown.
    
    Fixes #500
  3. @nene

    Eliminate Logger#warn_nodoc method.

    nene authored
    Change the #warn method so it can be used for also passing in
    arguments, and then use it for reporting the :nodoc warning too.
    For this to work:
    
    - Logger#warn expects a `file` parameter instead of `filename` and
      `linenr`, which must always be a hash.
    - The fourth parameter is then free to be used as optional `args`
      array for the warning types that need it.
  4. @nene

    Eliminate the defunct :cat_old_format warning type.

    nene authored
    The support for the deprecated old format was removed a while ago,
    but the warning type was forgotten to be removed, so it hanged along
    without having any actual effect.
  5. @nene

    Don't scan for CSS files.

    nene authored
    JSDuck is really only meant for documenting JS and SCSS files.
    
    Fixes #474
  6. @nene

    Refactor options tests.

    nene authored
    Avoid repeating option names as :foo and --foo.  Instead use a
    function to transform from :foo to --foo.
  7. @nene

    Eliminate :header attribute from options.

    nene authored
    Only leave the :title and calculate later the header from it in
    Web::IndexHtml class.
  8. @nene

    Fix regression in validation of options.

    nene authored
    Was broken since we implemented names for validators.
  9. @nene

    No more access options object as Hash.

    nene authored
    Always expect it to be an object with accessor methods.
    As a default (and in tests) use OpenStruct.
  10. @nene

    Sync Options::Record field names with option names.

    nene authored
    So that the option name used inside JSDuck is the same as the --option
    used on command line.
    
    Rename the following:
    
    * categories_path --> categories
    * output_dir --> output
    * template_dir --> template
    * img_tpl --> img
    * link_tpl --> link
    * imports -->  import
Commits on Nov 25, 2013
  1. @nene

    Speed up options testing.

    nene authored
    Reset the defaults every time the Options::Parser#parse method is
    called.  This allows us to re-use the parser which is slow to instantiate.
    
    Some tests still need to re-instatiate the parser every time - move
    these to a separate suite, so only the tests that need it will run
    slower.
  2. @nene

    Write most boolean options in --[no-]opt style.

    nene authored
    Implement full tests for them all.
  3. @nene

    Add tests for command line options.

    nene authored
    Improve NullObject with the ability of values to be Proc's, which
    will be invoked to provide more complicated logic.
    
    Give names for all validators, so we can call them out by name in our
    tests.
    
    Add validator for :processes option.
  4. @nene

    Create a little DSL for describing options.

    nene authored
    Instead of calling optparser.on and opts.attribute directly, call
    option and attribute methods that simply delegate to these objects.
    This will also make it easier to refactor things in the future.
Commits on Nov 22, 2013
  1. @nene

    Describe validation rules inside Options::Parser.

    nene authored
    Eliminate the Validator class and attatch all the validation rules to
    the Options::Record object, on which we can later simply call #validate!
    to perform its own validations.
Something went wrong with that request. Please try again.