I've put together a basic package which I think could be useful, and is working great. The code is simple, and I want to submit to CTAN.
However, first, I have to write documentation, and I've never written documentation for anything before. Is there a guide to best practices for what is and isn't useful in outlining features and the source code? I've seen a lot of variety in TeX package documentation, and am not sure what level of detail or information needs to be in the PDF package.
(To be clear, I'm asking about guides to writing documentation content, not the technical aspects, which are well-addressed here What is good practice when preparing a package for CTAN? )
pgfmanualis great for beginners and the second half is great for people programming (but I'd prefer if those two halves wouldn't be in the same document). – Skillmon Feb 17 '22 at 10:11interface3has a great interface documentation and is perfect for me, but it lacks introductory material for absolute beginners (a long standing issue withexpl3in general), but I'd hate if that introduction was added tointerface3. I likeacroandsiunitxfor their "for the impatient" sections. There is no general rule of what should be in the documentation. There are different levels of users, write the documentation for the level you expect to use the package. – Skillmon Feb 17 '22 at 10:14