Convert inline comments and examples to Rd documentation files