Add inline documentation

This is in done in preparation of a new documentation workflow.