Repository navigation
docs: add Self-hosted deprecation notice to chart pages [OD-245] - #2784
Merged
claudiacodacy merged 5 commits intoOct 19, 2026
Merged
Conversation
The chart pages come from the codacy/chart submodule, so the notice is rendered by the theme for any page under chart/ instead of being added to that repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Up to standards ✅🟢 Issues
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
✅ No blocking issues noticed
No blocking findings were identified. No acceptance-criteria gaps were reported by the review agents.
Test suggestions
- Render a chart page in a non-Self-hosted build and verify the deprecation notice and Quickstart link are present.
- Render a chart page in a Self-hosted build and verify the deprecation notice is absent.
- Render a non-chart page and verify the new notice is absent.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Render a chart page in a non-Self-hosted build and verify the deprecation notice and Quickstart link are present.
2. Render a chart page in a Self-hosted build and verify the deprecation notice is absent.
3. Render a non-chart page and verify the new notice is absent.
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lventura-codacy
approved these changes
Oct 19, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a notice at the top of every
/chart/page saying Codacy Self-hosted is no longer available for new customers, with a "Talk to us" link (the start-chat link the docs use for upgrade prompts) for readers with specific requirements. Requested in OD-245.What changed
theme/partials/notices.html: new notice shown whenpage.urlstarts withchart/. These pages come from thecodacy/chartsubmodule, so the theme renders the notice and the chart repo doesn't change. The notice reuses the existingdocs-noticestyle, which already supports both color schemes.Not covered
/v14.0/and older) are built fromrelease/v*branches, which use the oldcodacy-mkdocs-materialtheme. They keep their existing "This documentation applies to Codacy Self-hosted" notice. Changing that copy would mean updating that repo and redeploying each release branch. Those builds already sendnoindex.MKDOCS_SELF_HOSTEDset, since those builds already show a Self-hosted notice.Checks
mkdocs build --strictpasses.site/chart/and on no other page. The 23rd file there is a redirect stub./chart/and/chart/maintenance/upgrade/at desktop width in light and dark mode, and at 375 px wide in light mode.👀 Live preview
🚧 To do
🤖 Generated with Claude Code