Skip to content

Commit e366e7f

Browse files
authored
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.
1 parent 3ef4d4b commit e366e7f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

readthedocs/metrics/tasks.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ class CommunityMetrics5mTask(Metrics5mTaskBase):
3939
project="time-test",
4040
queue_name="build-default",
4141
version="latency-test",
42-
doc="index",
43-
section="Time",
44-
doc_url=None,
42+
doc_url="https://time-test.readthedocs.io/en/latency-test/",
4543
webhook_url="{api_host}/api/v2/webhook/{project}/{webhook_id}/",
4644
),
4745
]

0 commit comments

Comments
 (0)