radius-project / radius-project/docs

Docs body is trying to load clarity.js but it doesn't exist

Open Beginner friendly
#1,953 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug triaged
Dominant language
Bicep
Stars
26
Forks
52
Avg merge
3d 2h
Merged PRs (30d)
3

Description

When I load any docs page, the JavaScript console shows:

Failed to load resource: the server responded with a status of 404 ()
clarity.js:1 

It looks like the body footer is trying to load /js/clarity.js but this file does not exist in the repository.

https://github.com/radius-project/docs/blob/da218554df8a9d484516479eaafaafd9d84d0edc/docs/layouts/partials/hooks/body-end.html#L13

We should either remove line 13 from body-end.html or add clarity.js to the repo.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at docs/layouts/partials/hooks/body-end.html line 13 and inspect the footer reference to /js/clarity.js. Check whether clarity.js exists elsewhere in the repository, then remove the reference or add the missing file as appropriate. Done means docs pages no longer request a missing resource and the console 404 is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
86/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.