Browse Source

Update HTML documentation

Thibaut 12 years ago
parent
commit
da165074a3
1 changed files with 2 additions and 3 deletions
  1. 2 3
      lib/docs/filters/html/entries.rb

+ 2 - 3
lib/docs/filters/html/entries.rb

@@ -1,10 +1,9 @@
 module Docs
   class Html
     class EntriesFilter < Docs::EntriesFilter
-      HTML5 = %w(menuitem)
+      HTML5 = %w(content element menuitem template)
       OBSOLETE = %w(frame frameset hgroup noframes)
-      ADDITIONAL_ENTRIES = {
-        'Heading_Elements' => [%w(h1), %w(h2), %w(h3), %w(h4), %w(h5), %w(h6)] }
+      ADDITIONAL_ENTRIES = { 'Heading_Elements' => (1..6).map { |n| ["h#{n}"] } }
 
       def get_name
         super.downcase