# File lib/yard/server/doc_server_helper.rb, line 10 def url_for(obj, anchor = nil, relative = false) return '' if obj.nil? return url_for_index if obj == '_index.html' return "/#{obj}" if String === obj File.join('', base_path(router.docs_prefix), super(obj, anchor, false)) end