Skip to content

Commit

Permalink
Fixed long index
Browse files Browse the repository at this point in the history
  • Loading branch information
voloko committed Aug 14, 2009
1 parent a988866 commit de8f83a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions lib/sdoc/generator/shtml.rb
Expand Up @@ -191,13 +191,14 @@ def add_class_search_index(index)
@classes.select { |klass|
klass.document_self_or_methods
}.sort.each do |klass|
modulename = klass.module? ? '' : (klass.superclass ? (String === klass.superclass ? klass.superclass : klass.superclass.full_name) : '')
index[:searchIndex].push( search_string(klass.name) )
index[:longSearchIndex].push( search_string(klass.parent.name) )
index[:longSearchIndex].push( search_string(klass.parent.full_name) )
index[:info].push([
klass.name,
klass.parent.full_name,
klass.path,
klass.module? ? '' : (klass.superclass ? " < #{String === klass.superclass ? klass.superclass : klass.superclass.full_name}" : ''),
modulename ? " < #{modulename}" : '',
snippet(klass.comment),
TYPE_CLASS
])
Expand Down
4 changes: 2 additions & 2 deletions sdoc.gemspec
Expand Up @@ -2,11 +2,11 @@

Gem::Specification.new do |s|
s.name = %q{sdoc}
s.version = "0.2.13"
s.version = "0.2.14"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Volodya Kolesnikov"]
s.date = %q{2009-06-17}
s.date = %q{2009-08-14}
s.email = %q{voloko@gmail.com}
s.executables = ["sdoc", "sdoc-merge"]
s.extra_rdoc_files = [
Expand Down

0 comments on commit de8f83a

Please sign in to comment.