documentation icon indicating copy to clipboard operation
documentation copied to clipboard

readme markdown injection does not include the table of contents

Open zachlysobey opened this issue 8 years ago • 2 comments

I have [email protected] installed as a dev-dependency and am using it with an npm script configured as follows

documentation readme -s Documentation src/**

Previously I was doing:

documentation build src/** -f md -o docs.md

The README injection works like a charm. But I was a bit disappointed that I no longer get a table of contents. I'm not sure if I'm missing some relevant option, but if not, it would be awesome if this feature were supported.

zachlysobey avatar Oct 05 '17 14:10 zachlysobey

Strange, I get one.

jaydenseric avatar Feb 27 '18 04:02 jaydenseric

documentation build src/** -f md -o docs.md

I get a TOC with the above command, but not when I use the node API directly.

babaskate avatar Jun 12 '20 21:06 babaskate