-
-
Notifications
You must be signed in to change notification settings - Fork 743
Closed
Labels
externalProblem lies outside of TypeDocProblem lies outside of TypeDoc
Description
- I have checked issues with bug label and found no duplicates
Expected Behavior
Comments should be rendered when generating documents using globally installed typedoc. (i.e. npm install typedoc --global
)
Note that it works as expected when installed locally.
# doesn't work - documentation rendered without comments
typedoc --out docs
# works - documentation rendered with comments
node_modules/.bin/typedoc --out docs
Expected:
Actual Behavior
Comments aren't included when run using typedoc global install.
The comment section is missing from the html output:
<section class="tsd-panel tsd-comment">
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Base class for animals</p>
</div>
</div>
</section>
Steps to reproduce the bug
Command:
npm install typedoc --global
git clone https://github.com/socsieng/typedoc-plugin-typescript-declaration.git
cd typedoc-plugin-typescript-declaration/example
typedoc --out docs
open docs/classes/_index_.example.animal.html
Environment
- Typedoc version: 0.15.6
- Node.js version: 8.16.0
- npm version: 6.4.1
- nvm version: 0.34.0
- OS: macOS Catalina 10.15.1 (19B88)
Metadata
Metadata
Assignees
Labels
externalProblem lies outside of TypeDocProblem lies outside of TypeDoc