I am looking for packages useful for creating a documentation for a self written package.
I have found doc
, but the documentation ltxdoc.pdf
did not give me any useful example.
Also I know of docstrip
, but reading dtxtut.pdf
was mostly scary for me. Preceding the whole documenting code with comments is not what I am looking for. (I know emacs has a special setup for docstrip
, but I do not consider to switch to emacs)
I know that many packages are documented in different classes/templates. If some of them should be packaged and documented I would like to know about them.
Best Answer
Note that
docstrip
anddoc
/ltxdoc
are used often together, but are not dependent on each other. The first is to extract files from a DTX file and strip the comments from it, the others for writing the package manual. You can use thedoc
package with other classes asltxdoc
as well.Further classes for package documentation are:
codedoc
Replacesdocstrip
.xdoc
Extendsdoc
.dox
Extendsdoc
.ltxdockit
ydoc
However, the last two are written by package authors mainly for their own packages and are not (yet) supported for the use by others.
ydoc
is written by me, not to be considered finished and almost undocumented.