Hacker News new | ask | show | jobs
by mikem170 1752 days ago
We had some success making it easy for engineers.

User documentation was inline with the code (think perldoc/pydoc). Developer documentation (as comments) was also co-located with the relevant code.

This automatically gave us man pages at a shell prompt. We could include those man page outputs in report .zip files that got emailed to users, and push them to our website.

There's an art to keeping this organized. Always having a good trail of breadcrumbs was important, like a comment next to a variable assignment telling the developer to update the user docs if that constant is changed. Also avoiding duplications, which leads to drift/inaccuracy. We considered inaccurate documentation to be a bug. Full time employees took to this. Contractors often needed reminding.

As the project grew there was managerial pressures to get involved in other stuff like power points and sharepoint.

1 comments

I have seen several of such initiatives. They all started out well but then slowly died because management didn’t allocate long term attention, time and budget. If this is not part of the fundamental company process it will die slowly.