'Resolve a with nothing smart, just filling in the blanks'

def base_resolve_path(self, project_slug, filename, version_slug=None, language=None, private=False, single_version=None, subproject_slug=None, subdomain=None, cname=None):

    if (subdomain or cname or self._use_subdomain()):
        url = u'/'
    else:
        url = u'/docs/{project_slug}/'
    if subproject_slug:
        url += u'projects/{subproject_slug}/'
    if single_version:
        url += u'{filename}'
    else:
        url += u'{language}/{version_slug}/{filename}'
    return url.format(project_slug=project_slug, filename=filename, version_slug=version_slug, language=language, single_version=single_version, subproject_slug=subproject_slug)
