doxdox icon indicating copy to clipboard operation
doxdox copied to clipboard

Create option to not show private methods

Open taylorjdawson opened this issue 5 years ago • 3 comments

Right now private methods are generated. It's necessary to add an option to not show those private methods.

This is the line that would need changing (I think):

From ->

.filter(method => !method.ignore && method.ctx)

To ->

.filter(method => !method.ignore &&  !method.isPrivate && method.ctx)

taylorjdawson avatar Oct 08 '19 18:10 taylorjdawson

This is something I'm looking into supporting in the latest release v4. I'll post more here when I've made progress.

neogeek avatar Feb 02 '22 06:02 neogeek

@neogeek This is something I was looking for as well. I thought it was an issue on my end. Is this still on backlog ?

mcqua007 avatar Apr 03 '22 22:04 mcqua007

@mcqua007 I've actually been working towards having options for all renderers, starting with this PR https://github.com/docsbydoxdox/doxdox/pull/168. Currently it only offers the ability to hide the generated timestamp. Hiding private methods will be next.

neogeek avatar Apr 04 '22 13:04 neogeek