Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/rdoc/generator/template/rails/_panel.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
</div>
</div>

<a id="links" href="links.html">index</a>
<a id="links" href="/panel/file_links.html">index</a>
</div>
</nav>
8 changes: 4 additions & 4 deletions lib/sdoc/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def generate
copy_resources
@json_index.generate
@json_index.generate_gzipped
generate_search_index
generate_file_links
generate_class_tree

generate_index_file
Expand Down Expand Up @@ -177,10 +177,10 @@ def generate_file_files
end

### Generate file with links for the search engine
def generate_search_index
def generate_file_links
debug_msg "Generating search engine index in #{@outputdir}"
templatefile = @template_dir + 'search_index.rhtml'
outfile = @outputdir + 'panel/links.html'
templatefile = @template_dir + 'file_links.rhtml'
outfile = @outputdir + 'panel/file_links.html'

self.render_template( templatefile, binding(), outfile ) unless @options.dry_run
end
Expand Down