lib/docurium.rb in docurium-0.2.0 vs lib/docurium.rb in docurium-0.2.1

- old
+ new

@@ -78,10 +78,11 @@ end rocco_layout = Rocco::Layout.new(rocco, tf) rocco_layout.version = version rf = rocco_layout.render - rf_path = File.basename(file).split('.')[0..-2].join('.') + '.html' + extlen = -(File.extname(file).length + 1) + rf_path = file[0..extlen] + '.html' rel_path = "ex/#{version}/#{rf_path}" # look for function names in the examples and link id_num = 0 @data[:functions].each do |f, fdata|