typedoc2md / typedoc-plugin-markdown

A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.
https://typedoc-plugin-markdown.org
MIT License
714 stars 176 forks source link

If markdown plugin is resolvable, can't generate HTML #366

Closed haf closed 1 year ago

haf commented 1 year ago

I want to generate both markdown and HTML output.

    "build:docs:html": "typedoc --tsconfig tsconfig-typedoc.json --out ./docs ./src",
    "build:docs:md": "typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig-typedoc.json --disableSources --out ./md-docs ./src",
    "build:docs:md-concat": "concat-md --toc --decrease-title-levels --dir-name-as-title md-docs > README.npmjs.md",
    "build:docs": "yarn run build:docs:html && yarn run build:docs:md && yarn run build:docs:md-concat",

But when doing it like this, running build:docs:html always generates full output in Markdown.

tgreyuk commented 1 year ago

If you want to generate html you need to turn the plugin off using --plugin none on the html task.