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

Support for @hideconstructor #15

Open
gorankarlic opened this issue Dec 3, 2020 · 0 comments
Open

Support for @hideconstructor #15

gorankarlic opened this issue Dec 3, 2020 · 0 comments

Comments

@gorankarlic
Copy link

gorankarlic commented Dec 3, 2020

Can you please add support for the @hideconstructor tag?

--- a/tmpl/method.tmpl
+++ b/tmpl/method.tmpl
@@ -19,3 +19,3 @@ var hasMethodSummary = (data.kind !== 'class')
 
-<?js if (data.kind !== 'module') { ?>
+<?js if (data.kind !== 'module' && !data.hideconstructor) { ?>
 
@@ -50,3 +50,3 @@ var hasMethodSummary = (data.kind !== 'class')
 
-<?js if (data.kind !== 'module' && data.description) { ?>
+<?js if (data.kind !== 'module' && data.description && !data.hideconstructor) { ?>
 <div class="method-description">
@@ -76,3 +76,3 @@ var hasMethodSummary = (data.kind !== 'class')
 
-<?js if (data.params && params.length) { ?>
+<?js if (data.params && params.length && !data.hideconstructor) { ?>
     <h4 class="method-heading">Parameters</h4>

Thank you!

Eroica added a commit to Eroica/tidy-jsdoc that referenced this issue Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant