Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: option to collapse all methods on the side-bar #26

Closed
warpdesign opened this issue Dec 10, 2017 · 8 comments
Closed

Suggestion: option to collapse all methods on the side-bar #26

warpdesign opened this issue Dec 10, 2017 · 8 comments
Labels
default-template feature-request v2 Fixed or implemented. To be released.

Comments

@warpdesign
Copy link
Contributor

warpdesign commented Dec 10, 2017

Let's say I have two classes displayed on the left sidebar:

MyClass
MyClass#method1
MyClass#method2
MyClass2
MyClass2#method1
MyClass2#method2
...

It would be great if there was a way to should only root level initially:

MyClass
MyClass2

Clicking on MyClass would then expand MyClass and show its methods/properties:

MyClass
MyClass#method1
MyClass#method2
MyClass2

As it is now, the list becomes quickly huge once you have several classes that have lots of methods.

Example:

capture d ecran 2017-12-10 a 18 01 55

@warpdesign
Copy link
Contributor Author

warpdesign commented Dec 10, 2017

The same thing for the right side would be great: only showing the symbol-heading initially and only show the symbol's definition after clicking on the heading.

@onury
Copy link
Owner

onury commented Dec 12, 2017

There are some improvements in the default template. We can add a feature like this but first need to complete v2 (docma core).

@onury onury added v2 Fixed or implemented. To be released. labels Dec 31, 2017
@pratiks
Copy link

pratiks commented Mar 6, 2018

+1 for this !

@onury
Copy link
Owner

onury commented Mar 6, 2018

This is already implemented. Just hang on a couple more days for v2 release.

@pratiks
Copy link

pratiks commented Mar 24, 2018

Hi - was there a plan for a release of V2?

Also - I would love to help contribute to this project.

@onury
Copy link
Owner

onury commented Mar 25, 2018

@pratiks I've been very busy. I'll try to complete version 2 this week.

You're very welcome to contribute. You can check out v2 branch for development. Maybe you'd want to wait for the release first though since this is a huge release.

@pratiks
Copy link

pratiks commented Mar 26, 2018

@onury - Sorry if that sounded pushy; wasn't sure if the release was private or through some other channel.

I will checkout the V2 branch and see where I can help. Oh ya, my man, amazing work!

@onury
Copy link
Owner

onury commented Apr 12, 2018

Docma v2.0.0 is released. The default template (now called Zebra) is also released as a node module. This still comes built-in with Docma (you don't need to install it separately).

See sidebar.itemsFolded under template options.

@onury onury closed this as completed Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
default-template feature-request v2 Fixed or implemented. To be released.
Projects
None yet
Development

No branches or pull requests

3 participants