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
1111 format_signature
1212 format_top_links
1313 format_metadata
14− format_members
14+
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+
1522 simplify_html
1623
1724 doc