Add Creative Commons logo to docs
@@ -32,6 +32,10 @@ articles, songs, videos, photographs, paintings, and more. Using this API,
developers will be able to access the digital commons in their own
applications.
"""
+x_logo = {
+ "url": "https://mirrors.creativecommons.org/presskit/logos/cc.logo.large.png",
+ "backgroundColor": "#FFFFFF"
+}
schema_view = get_schema_view(
openapi.Info(
@@ -40,6 +44,7 @@ schema_view = get_schema_view(
description=description,
contact=openapi.Contact(email="alden@creativecommons.org"),
license=openapi.License(name="MIT License"),
+ x_logo=x_logo
),
public=True,
permission_classes=(rest_framework.permissions.AllowAny,),
