You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load the existing aspiz.uk Umami tracker on goboscript documentation pages through the MkDocs Material head template. The script and analytics endpoint resolve from the domain root.
Verified with pnpm run build:docs and checked the generated install and syntax pages for the tracker tag.
No actionable comments were generated in the recent review.
Walkthrough
The MkDocs configuration now uses the overrides directory for custom templates. The template extends base.html and adds a deferred /stats.js script to the extrahead block.
Changes: MkDocs analytics script
Layer / File(s)
Summary
Enable the statistics script mkdocs.yml, overrides/main.html
The theme configuration selects overrides as the custom directory. The template adds a deferred /stats.js script with host URL / and the specified website ID.
This adds the Umami tracker tag to the documentation pages through a small template override. Whether the live host serves the script and records events can only be checked after deployment, and no code defect was found. Merge risk is minimal.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "Add Umami analytics to the docs" matches the change. The PR adds the existing Umami tracker script to the MkDocs Material docs through an overrides/main.html template, and the mkdocs.yml ch…
Description check
The description states that the existing aspiz.uk Umami tracker loads on goboscript documentation pages through the MkDocs Material head template. This matches the overrides/main.html and mkdocs.yml c…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Add Umami analytics to the docs" matches the change. The PR adds the existing Umami tracker script to the MkDocs Material docs through an overrides/main.html template, and the mkdocs.yml change sets custom_dir to overrides. The title names the main change and is specific enough for a teammate scanning history.
Full details: Description check
Explanation
The description states that the existing aspiz.uk Umami tracker loads on goboscript documentation pages through the MkDocs Material head template. This matches the overrides/main.html and mkdocs.yml changes. It also gives the verification steps (pnpm run build:docs and checking generated pages for the tracker tag). The description is related to the changeset.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: QUIET
Plan: Advanced
Run ID: 1b50514f-fa7f-47cb-8c13-11a1595a870e
Commits
Reviewing files that changed from the base of the PR and between ec3ddf3 and 470479d.
Files selected for processing: 2
mkdocs.yml
overrides/main.html
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Load the existing aspiz.uk Umami tracker on goboscript documentation pages through the MkDocs Material head template. The script and analytics endpoint resolve from the domain root.
Verified with
pnpm run build:docsand checked the generated install and syntax pages for the tracker tag.