Ticket #1 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Darkfish main template errors when the initial page document is empty

Reported by: deveiant Owned by: deveiant
Priority: critical Milestone: Integration with RDoc 2.3
Component: Templates Version: 1.1.5
Keywords: rdoc generator index.html readme main Cc:

Description (last modified by deveiant) (diff)

When using the Darkfish generator, an exception is raised if the initial page document is an empty file:

Error while evaluating rdoc/generator/template/darkfish/index.rhtml: 
	private method `sub' called for nil:NilClass 
	(at " a GX cluster</h1>\n\n\t\n    <div id=\"main\">\n        ")

    rdoc/generator/darkfish.rb:224:in `generate_index'
    rdoc/generator/darkfish.rb:170:in `generate_xhtml'
    rdoc/generator/darkfish.rb:135:in `generate'
    gems/rdoc-2.1.0/lib/rdoc/rdoc.rb:278:in `document'
    gems/rake-0.8.1/lib/rake/rdoctask.rb:113:in `define'

Change History

comment:1 Changed 3 years ago by deveiant

  • Version changed from 1.1.2 to 1.1.5
  • Description modified (diff)

comment:2 Changed 3 years ago by deveiant

  • Status changed from new to assigned
  • Milestone set to Integration with RDoc 2.3

comment:3 Changed 3 years ago by deveiant

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in RDoc 2.3

Note: See TracTickets for help on using tickets.