Unified · Split
| @@ -11,7 +11,14 @@ module Docs · 10 unmodified lines | ||
| 11 | 11 | format_signature |
| 12 | 12 | format_top_links |
| 13 | 13 | 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 | + | |
| 15 | 22 | simplify_html |
| 16 | 23 | |
| 17 | 24 | doc |