History

Remove content on the index page

Nicolas Ettlin committed 4 years ago

Commit 545806a1 parent 16ccff51 file · +8 −1Browse files

Unified · Split

lib/docs/filters/scala/clean_html_v3.rb+8−1
@@ -11,7 +11,14 @@ module Docs · 10 unmodified lines
11 format_signature11 format_signature
12 format_top_links12 format_top_links
13 format_metadata13 format_metadata
14 format_members14
15 # Remove the redundant long descriptions on the main page
16 if slug == 'index'
17 css('.contents').remove
18 else
19 format_members
20 end
21
15 simplify_html22 simplify_html
16 23
17 doc24 doc