Documentation generation, code explanation, and technical writing with automated doc generation and tutorial creation