golds icon indicating copy to clipboard operation
golds copied to clipboard

Feature request: skip standard packages

Open rutigl opened this issue 2 years ago • 3 comments

golds has no option to create help for selected package only (not including standard packages). Could you please think of adding such an option? I mean, index.html links only package itself, not all imports, and of course the html files are generated for package only.

rutigl avatar Jan 02 '24 12:01 rutigl

the closest option might be -wdpkgs-listing=solo. With this option, docs of dependencies modules (including std packages) will still be generated but not listed in the index page.

zigo101 avatar Jan 02 '24 16:01 zigo101

Yes, thank you, at least it shows only desired package in index.html.

rutigl avatar Jan 03 '24 11:01 rutigl

A similar old issue: https://github.com/go101/golds/issues/9

Now, the docs of a depended module/package also depend on the modules/packages depend on it. This can be avoided by providing less information during docs generation, which needs much effort. I will implement it when I get enough spare time.

zigo101 avatar Jan 03 '24 13:01 zigo101