lib/inochi/tasks/4-ann.rake in inochi-2.0.1 vs lib/inochi/tasks/4-ann.rake in inochi-3.0.0

- old
+ new

@@ -15,11 +15,11 @@ # fetch project description from manual task :@ann_nfo_html_nodes do unless @ann_nfo_html_nodes begin - head, body = fetch_nodes_between('h2#ABOUT', 'h1,h2,h3,h4,h5,h6') + head, body = fetch_nodes_between('h2#NAME ~ p', 'h1,h2,h3,h4,h5,h6') rescue => error error.message.insert 0, "The manual lacks a <H2> ABOUT heading.\n" raise error end @@ -53,14 +53,13 @@ # fetch authors list from manual task :@project_authors_html_nodes do unless @project_authors_html_nodes begin - head, body = fetch_nodes_between('h2#AUTHORS,h2#CREDITS', - 'h1,h2,h3,h4,h5,h6') + head, body = fetch_nodes_between('h2#AUTHORS', 'h1,h2,h3,h4,h5,h6') rescue => error error.message.insert 0, - "The manual lacks content under a <H2> AUTHORS or CREDITS heading.\n" + "The manual lacks content under a <H2> AUTHORS heading.\n" raise error end @project_authors_html_nodes = body end