Remove content on the index page

pull/1708/head
Nicolas Ettlin 3 years ago committed by Simon Legner
parent 16ccff51ff
commit 545806a457

@ -11,7 +11,14 @@ module Docs
format_signature format_signature
format_top_links format_top_links
format_metadata format_metadata
format_members
# Remove the redundant long descriptions on the main page
if slug == 'index'
css('.contents').remove
else
format_members
end
simplify_html simplify_html
doc doc

Loading…
Cancel
Save