'Force Sphinx for \'auto\' documentation type
This used to determine the type and automatically set the documentation
type to Sphinx for rST and Mkdocs for markdown. It now just forces
Sphinx, due to markdown support.'

def update_documentation_type(self):

    ret = 'sphinx'
    project_data = api_v2.project(self.project.pk).get()
    project_data['documentation_type'] = ret
    api_v2.project(self.project.pk).put(project_data)
    self.project.documentation_type = ret
