Skip to content

Commit

Permalink
Remove EthicalAd URLs (#11843)
Browse files Browse the repository at this point in the history
We are not serving EthicalAds from Read the Docs anymore. We are hitting
the EthicalAds server directly using Addons.

Matches readthedocs/readthedocs-ext#563
  • Loading branch information
humitos authored Dec 12, 2024
1 parent 1ebd4e5 commit dcdae52
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions readthedocs/api/v2/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Define routes between URL paths and views/endpoints."""

from django.conf import settings
from django.urls import include, path, re_path
from rest_framework import routers

Expand Down Expand Up @@ -110,11 +109,3 @@
urlpatterns += [
path("webhook/stripe/", StripeEventView.as_view(), name="api_webhook_stripe"),
]

if "readthedocsext.donate" in settings.INSTALLED_APPS:
# pylint: disable=import-error
from readthedocsext.donate.restapi.urls import urlpatterns as sustainability_urls

urlpatterns += [
path("sustainability/", include(sustainability_urls)),
]

0 comments on commit dcdae52

Please sign in to comment.