Permalink
Commits on Apr 28, 2012
  1. Add experimental {include:Object attribute} syntax to expand attribute

    values from code objects.
    
    Attribute can also be @tagname or @tagname[N], which would expand the Nth
    tag by that name on the object. In such a case, an extra attribute can
    be provided to access the tag attribute, for example, to expand the
    3rd param name of an object:
    
      {include:#method param[2] name}
    
    To get the value of a constant:
    
      {include:CONST value}
    
    By default, the attribute used is "docstring", which expands the full
    docstring of the object.
    committed Apr 28, 2012
  2. Documentation fix for tt text

    committed Apr 28, 2012
  3. TOC generation can now support toc-id and toc-title attributes in hea…

    …der tags for use in generating ids/titles
    committed Apr 28, 2012
  4. Remove List*Command and refactor handling of /list in server to use m…

    …enu definitions in fulldoc template
    committed Apr 28, 2012
Commits on Apr 27, 2012
  1. Simplify menu JS generation and add url_for_list helper to abstract U…

    …RL generation for lists
    committed Apr 27, 2012
  2. Add @!parse directive to parse arbitrary code

    Blocks are parsed in the context of where they are called,
    and you can specify the code language using the type specifier:
    
      class A
        # @!parse
        #   # A dynamic foo method
        #   def foo; end
    
        # @!parse def foo2; end
    
        # @!parse [c]
        #   void Init_Foo() { ... }
      end
    committed Apr 27, 2012
  3. Add support for lambdas in Template.extra_includes

    The proc accepts the TemplateOptions list of options
    for the template so a module can be chosen dynamically
    based on option types. For example:
    
      Template.extra_includes << lambda do |opts|
        case opts.format
        when :html; HtmlHelper
        when :text; TextHelper
        else BaseHelper
        end
      end
    committed Apr 27, 2012
Commits on Apr 26, 2012
  1. Anchor mixin name matches

    committed Apr 26, 2012
  2. Fix all specs

    committed Apr 26, 2012
  3. Fix link to loading.gif (now processing.gif)

    Closes #509
    committed Apr 26, 2012
  4. Documentation fixes

    committed Apr 26, 2012
  5. Stop creating .yardoc directories during tests and fix YRI spec to pe…

    …rform lookup in memory first.
    
    Closes #513
    committed Apr 26, 2012
  6. Require bundler for lockfile test

    Closes #512
    committed Apr 26, 2012
  7. Fix YRI spec name

    committed Apr 26, 2012
  8. Return exception messages body as Array in RackAdapter

    Signed-off-by: Loren Segal <lsegal@soen.ca>
    guns committed with Apr 26, 2012
  9. Merge i18n branch from @kou.

    This commit adds a `yard i18n` command to generate pot files
    for i18n support in YARD.
    committed Apr 26, 2012
Commits on Apr 22, 2012
  1. Merge pull request #505 from now/list-includes-in-correct-order

    Fix mixin order of multiple arguments to include
    committed Apr 22, 2012
  2. Merge pull request #510 from now/fix-links-to-operators

    Fix linking to method names that have been escaped
    committed Apr 22, 2012
Commits on Apr 11, 2012
  1. pot: add "yard i18n" command that generates .pot

    YARD::CLI::I18n inherits YARD::CLI::Yardoc because "i18n" command
    use the same options in "doc" command. But it will be better that
    we share the same options in another way because "i18n" command
    doesn't need all options in "doc" command.
    
    We need to discuss how to implement it. So I use inheritance for now.
    kou committed Apr 11, 2012
Commits on Apr 6, 2012