From e366e7fc8649fbcf1b6d06ecc12c5f7766144c46 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Mon, 7 Oct 2024 17:45:22 +0200 Subject: [PATCH] Metrics: don't rely on Embed APIv2 (#11652) Today we enabled Addons by default. That removes the `readthedocs-sphinx-ext` that generates `.json` files which are used by Embed APIv2. Now, we are hitting the URL directly. --- readthedocs/metrics/tasks.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/readthedocs/metrics/tasks.py b/readthedocs/metrics/tasks.py index 58a4d8bdb2e..247ef4661e0 100644 --- a/readthedocs/metrics/tasks.py +++ b/readthedocs/metrics/tasks.py @@ -39,9 +39,7 @@ class CommunityMetrics5mTask(Metrics5mTaskBase): project="time-test", queue_name="build-default", version="latency-test", - doc="index", - section="Time", - doc_url=None, + doc_url="https://time-test.readthedocs.io/en/latency-test/", webhook_url="{api_host}/api/v2/webhook/{project}/{webhook_id}/", ), ]