pkg/doc: update doc formatting.