documentation for publishing