documentation
documentation copied to clipboard
readme markdown injection does not include the table of contents
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.
Strange, I get one.
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.