timothycrosley / portray

Your Project with Great Documentation.
MIT License
861 stars 74 forks source link

No TOC indentation of class components #78

Open JesseWebDotCom opened 3 years ago

JesseWebDotCom commented 3 years ago

I noticed you have TOC indentation for non-class components (ex. functions): https://timothycrosley.github.io/portray/reference/portray/config/ Note how there is a 'Functions' heading and all functions below are properly indented.

But there is no TOC indentation for class components: https://timothycrosley.github.io/portray/reference/portray/exceptions/ Note how there is no indentation for any method listed below the TOC 'methods' heading

The indentation makes it easier to read/understand hierarchy.