I am writing several packages in collaboration with others. In order to help the group use my packages, I want to provide them with a simple reference of function names and usage messages. How can I best do this?
Additional information:
Although I didn't originally ask for it, I'd like to be able to do the following:
- save the function names with their usage messages
- into some text-based file (e.g. LaTeX, HTML, markdown, plain text)
- that organizes the functions under section headings that specify which package they came from.
Here's what it might look like in plain text:
PackageName1
function1 :: does something
function2 :: does something else
PackageName2
function3 :: does it do something?
function4 :: does, perhaps, something
Formatted versions like LaTeX that require compiling are, perhaps, less useful to the community, but they just look so nice :)
?Your-package-context`*
and evaluate, you will get all your symbols listed as links, which, when clicked, will open usage message for a given symbol. Depending on what you want, this may or may not be sufficient. $\endgroup$#::usage & /@ Names["context`*"]
too. Related topic: 38605 $\endgroup$(#::usage) & /@ Symbol /@ Names["entropy
*"]` (had to convert the heads to Symbol). I'm going to adapt this and answer my question with a one-liner. +1 to you both, and thanks, again. $\endgroup$