'Make standard home pages for docs, developer docs, api and models
from templates'

def make_home_pages(self):

    with open(os.path.join(self.path, u'index.html'), u'w') as home:
        home.write(frappe.render_template(u'templates/autodoc/dev_home.html', self.app_context))
    self.models_base_path = os.path.join(self.path, u'models')
    self.make_folder(self.models_base_path, template=u'templates/autodoc/models_home.html')
    self.api_base_path = os.path.join(self.path, u'api')
    self.make_folder(self.api_base_path, template=u'templates/autodoc/api_home.html')
    user_path = os.path.join(self.docs_path, u'user')
    if (not os.path.exists(user_path)):
        os.makedirs(user_path)
    img_path = os.path.join(self.docs_path, u'assets', u'img')
    if (not os.path.exists(img_path)):
        os.makedirs(img_path)
