mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
remove duplicate Requires section in modules (#790)
This commit is contained in:
parent
42f388f009
commit
1a975c0f6d
@ -7,7 +7,7 @@ var self = this;
|
||||
<?js if (kind === 'class') { ?>
|
||||
<h2>Constructor</h2>
|
||||
<?js } ?>
|
||||
|
||||
|
||||
<h4 class="name" id="<?js= id ?>"><?js= data.attribs + (kind === 'class' ? 'new ' : '') +
|
||||
name + (data.signature || '') ?></h4>
|
||||
|
||||
@ -50,7 +50,7 @@ var self = this;
|
||||
|
||||
<?js= this.partial('details.tmpl', data) ?>
|
||||
|
||||
<?js if (data.requires && data.requires.length) { ?>
|
||||
<?js if (data.kind !== 'module' && data.requires && data.requires.length) { ?>
|
||||
<h5>Requires:</h5>
|
||||
<ul><?js data.requires.forEach(function(r) { ?>
|
||||
<li><?js= self.linkto(r) ?></li>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user