vuese / vuese

🤗 One-stop solution for vue component documentation. Original org: https://github.com/vuese
https://vuese.github.io/website/
MIT License
1.69k stars 120 forks source link

Hide empty sections? #18

Closed equinusocio closed 5 years ago

equinusocio commented 5 years ago

Hi, there is a way to hide empty sections inside the generated readmes? By default it generate empty sections where no comments are found,, like that:

## Events

<!-- @vuese:Icon:events:start -->
<!-- @vuese:Icon:events:end -->

## Slots

<!-- @vuese:Icon:slots:start -->
<!-- @vuese:Icon:slots:end -->

## Methods

<!-- @vuese:Icon:methods:start -->
<!-- @vuese:Icon:methods:end -->
screenshot 2019-01-08 at 14 52 27

Resulting in ugly documentation when a component doesn't have all the data.

HcySunYang commented 5 years ago

I just released the patch version: v1.4.2

equinusocio commented 5 years ago

So fast. Thank you.