Skip to content

Commit

Permalink
Metrics: don't rely on Embed APIv2 (#11652)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
humitos authored Oct 7, 2024
1 parent 3ef4d4b commit e366e7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions readthedocs/metrics/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}/",
),
]

0 comments on commit e366e7f

Please sign in to comment.