Hi all. I've written a new utility called "loghelp" that creates a log file from a Stata .sthlp help file, including running any clickable examples that appear in the help file. It will also optionally create a standalone do file from the clickable examples.
It more-or-less mimics what you'd see on the screen if you were reading the help file and clicking on the examples.
This is useful if you have a Stata package with clickable examples in the help files and you want to check that all the examples run without error. It might also be useful if you want to confirm that the examples in a help file run on a particular installation, or if you want the text of the help files including the output of the examples for some other purpose (say a web page), or if you want to create a do file from the examples that appear in a help file.
It's available on github - you can install via
net install loghelp, from(https://raw.githubusercontent.com/ma...ilities/master)
I'll wait a bit for feedback before asking Kit to put it on SSC.
It more-or-less mimics what you'd see on the screen if you were reading the help file and clicking on the examples.
This is useful if you have a Stata package with clickable examples in the help files and you want to check that all the examples run without error. It might also be useful if you want to confirm that the examples in a help file run on a particular installation, or if you want the text of the help files including the output of the examples for some other purpose (say a web page), or if you want to create a do file from the examples that appear in a help file.
It's available on github - you can install via
net install loghelp, from(https://raw.githubusercontent.com/ma...ilities/master)
I'll wait a bit for feedback before asking Kit to put it on SSC.
Comment