  def include_docs_urls(
          title=None, description=None, schema_url=None, public=True,
          patterns=None, generator_class=SchemaGenerator,
          authentication_classes=api_settings.DEFAULT_AUTHENTICATION_CLASSES,
          permission_classes=api_settings.DEFAULT_PERMISSION_CLASSES):
      docs_view = get_docs_view(
          title=title,
          description=description,
          schema_url=schema_url,
          public=public,
 
</s> remove         permission_classes=api_settings.DEFAULT_PERMISSION_CLASSES):
    renderer_classes = [DocumentationRenderer, CoreJSONRenderer]
 </s> add         permission_classes=api_settings.DEFAULT_PERMISSION_CLASSES,
        renderer_classes=None):

    if renderer_classes is None:
        renderer_classes = [DocumentationRenderer, CoreJSONRenderer]
        permission_classes=api_settings.DEFAULT_PERMISSION_CLASSES,
        renderer_classes=None):
  def include_docs_urls(
          title=None, description=None, schema_url=None, public=True,
          patterns=None, generator_class=SchemaGenerator,
          authentication_classes=api_settings.DEFAULT_AUTHENTICATION_CLASSES,
        permission_classes=api_settings.DEFAULT_PERMISSION_CLASSES,
        renderer_classes=None):
      docs_view = get_docs_view(
          title=title,
          description=description,
          schema_url=schema_url,
          public=public,
keep keep keep keep replace keep keep keep keep keep
 Allowed customising API documentation code samples (#5752)

* Allowed additional languages in API documentation

* Documented renderer_classes parameter and customising languages. 
rest_framework/documentation.py