Skip to content

docs: move Self-hosted steps off Cloud pages into the Self-hosted section [OD-1044] - #2802

Open
claudiacodacy wants to merge 1 commit into
docs-self-hosted-section-od-1044from
docs-self-hosted-off-cloud-pages-od-1044
Open

claudiacodacy wants to merge 1 commit into
docs-self-hosted-section-od-1044from
docs-self-hosted-off-cloud-pages-od-1044

Conversation

@claudiacodacy

Copy link
Copy Markdown
Contributor

Stacked on #2800: merge that first, and this PR's base becomes master.

Cloud pages now describe Codacy Cloud only, as the project decided. This PR moves the remaining "If you're using Codacy Self-hosted" notes into the Self-hosted section, and writes down the norm for where each kind goes so the next writer doesn't have to work it out again. Part of OD-1044 ("Move Self-hosted content off Cloud pages").

The norm (.claude/reference/information-architecture.md)

Where a Self-hosted note goes depends on how much the Cloud procedure has to change:

The Cloud steps on Self-hosted Where it goes
Same steps, different inputs (instance URL, pinned tool version) One section on Using Codacy tools with Codacy Self-hosted, linking to the Cloud procedure. No copied steps, so fixes reach Self-hosted readers.
The steps or UI really differ A full page in chart/using-codacy/
A Helm value or license change The chart's Configuring Codacy or Maintenance pages, with version tabs
Every case One line on What's available on Codacy Self-hosted, where Self-hosted readers start

Exception: a product-level support matrix that compares both, such as the supported Git providers FAQ.

CLAUDE.md, the docs-edit skill, and repo-map.md now point to this norm and to data/self-hosted-versions.yml instead of extra.codacy_self_hosted_version.

What moved

From the Cloud page To
Coverage Reporter: instance URL and reporter version (both pages) Delta page, #coverage-reporter, version tabs
Client-side tools include: instance URL Delta page, #client-side-tools
Using the Codacy API: instance URLs, no rate limit Delta page, #api
Using submodules: license step, "Automating user keys" section Delta page, #submodules
Duplication FAQ: Admin panel reset Delta page, #duplication
Plan FAQ: seat usage report Delta page, #seat-usage
Managing branches: the whole {% else %} Self-hosted variant New page chart/using-codacy/managing-branches.md
150 KB FAQ: changing the limit with Helm New page chart/configuration/file-size-limit.md, version tabs

Images that only those notes used moved with them. No page URL changes, so no redirects. Retired anchors: #what-about-codacy-self-hosted (150 KB FAQ), #automating-user-keys-for-new-repositories (submodules), #if-youre-using-codacy-self-hosted (plan FAQ); nothing in the repo links to them. The Analysis CLI page's #network-and-codacy-self-hosted stays pinned on its "Network" heading.

Not moved: the new Analysis CLI

The Codacy Analysis CLI page now documents @codacy/analysis-cli (Node, #2749). Self-hosted releases pin the older codacy/codacy-analysis-cli 7.9.5. The new CLI reads CODACY_API_BASE_URL and CODACY_RESULTS_API_BASE_URL (codacy/analysis-cli @e539fa9), but it calls API v3 endpoints that may postdate Self-hosted v10. So its Self-hosted lines (Analysis CLI "Network" section, running ESLint) are removed from the Cloud pages and kept as a TODO: verify on the delta page. The delta page points Self-hosted readers to the pinned CLI. CLI owners: does @codacy/analysis-cli work against Self-hosted v10–v17?

Verification

  • mkdocs build --strict passes.
  • Every relative link and image on the new and edited pages resolves in the built site. The rate-limit anchor resolves.
  • Vale is clean on the new pages and on the changed lines of edited pages, apart from the table macro line, which CI already accepts on docs: show Codacy Self-hosted facts per version on the chart pages [OD-1044] #2800.
  • Outside docs/chart/ and the release notes, the only page mentioning Self-hosted is the supported-platforms FAQ (the exception above).

👀 Live preview

🚧 To do

  • If relevant, include the Jira issue key at the end of the pull request title
  • Perform a self-review of the changes
  • Fix any issues reported by the CI/CD

🤖 Generated with Claude Code

…tion [OD-1044]

Cloud pages now describe Codacy Cloud only. Each Self-hosted note goes where the norm in
.claude/reference/information-architecture.md puts it, by how much the Cloud steps change:

- Same steps, different inputs (Coverage Reporter, client-side tools, Codacy API, submodules,
  duplication reset, seat usage): one section each on the new page "Using Codacy tools with
  Codacy Self-hosted", linking to the Cloud procedure.
- Steps that differ: "Managing branches" gets its own Self-hosted page; the
  {% if extra.self_hosted %} branch is gone from the Cloud page.
- A Helm value: the 150 KB file limit moves to chart/configuration/file-size-limit.md,
  with version tabs.
- The Analysis CLI page keeps its proxy section under "Network" (old anchor pinned); its
  Self-hosted lines, and the running-ESLint note, are for @codacy/analysis-cli, which isn't
  confirmed on Self-hosted. Kept as a TODO on the new page.
- CLAUDE.md, the docs-edit skill, and repo-map.md point to the norm and the version data
  instead of extra.codacy_self_hosted_version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@claudiacodacy
claudiacodacy requested a review from a team as a code owner October 30, 2026 12:41
@github-actions

Copy link
Copy Markdown
Contributor

Overall readability score: 54.41 (🔴 -0.03)

File Readability
using-submodules.md 64.23 (🟢 +3.22)
managing-branches.md 47.19 (🔴 -0.94)
running-eslint.md 67.93 (🟢 +0.4)
why-is-my-file-over-150-kb-missing.md 54.93 (🟢 +5.49)
why-arent-duplication-metrics-being-calculated.md 48.33 (🔴 -0.51)
how-can-i-change-or-cancel-my-plan.md 51.76 (🟢 +7.43)
index.md 51.17 (🟢 +2.28)
alternative-ways-of-running-coverage-reporter.md 60.59 (🟢 +7.68)
using-the-codacy-api.md 57.26 (🟢 +1.3)
index.md 67.29 (🔴 -0.38)
whats-available-on-codacy-self-hosted.md 48.72 (🟢 +6.7)
using-codacy-tools-with-codacy-self-hosted.md 49.09 (-)
managing-branches.md 38.24 (-)
file-size-limit.md 36.71 (-)
client-side-tool-instructions.md 40.29 (🔴 -1.36)
View detailed metrics

🟢 - Shows an increase in readability
🔴 - Shows a decrease in readability

File Readability FRE GF ARI CLI DCRS
using-submodules.md 64.23 39.23 8.97 10.9 11.82 6.55
  🟢 +3.22 🟢 +1.93 🟢 +0.58 🟢 +1 🟢 +0.3 🟢 +0.01
managing-branches.md 47.19 34.76 12.07 14.3 13.92 7.51
  🔴 -0.94 🟢 +2.03 🔴 -0.33 🟢 +1 🔴 -0.05 🔴 -0.65
running-eslint.md 67.93 53.81 9 10.4 9.63 7.32
  🟢 +0.4 🟢 +1.11 🟢 +0.13 🟢 +0.4 🟢 +0.06 🔴 -0.21
why-is-my-file-over-150-kb-missing.md 54.93 42 12.8 11.9 10.39 7.72
  🟢 +5.49 🟢 +6.63 🔴 -0.73 🟢 +1.2 🟢 +2.2 🟢 +0.25
why-arent-duplication-metrics-being-calculated.md 48.33 35.07 12.68 13.4 12.88 7.71
  🔴 -0.51 🔴 -0.4 🔴 -0.56 🟢 +0.2 🟢 +0.41 🔴 -0.11
how-can-i-change-or-cancel-my-plan.md 51.76 45.05 12.74 12 12.12 8.09
  🟢 +7.43 🟢 +9.37 🔴 -0.2 🟢 +1.6 🟢 +1.4 🟢 +0.6
index.md 51.17 34.26 11.24 14.3 13.46 6.89
  🟢 +2.28 🟢 +8.67 🟢 +0.08 🟢 +0.3 🟢 +0.17 🟢 +0.01
alternative-ways-of-running-coverage-reporter.md 60.59 37.71 9.43 11.6 11.71 7.09
  🟢 +7.68 🟢 +9.28 🟢 +0.49 🟢 +1.9 🟢 +1.51 🟢 +0.13
using-the-codacy-api.md 57.26 43.22 10.97 12.5 11.72 7.18
  🟢 +1.3 🟢 +0.81 🟢 +0.16 🟢 +0.6 🟢 +0.06 🔴 -0.02
index.md 67.29 52.49 9.93 10.9 10.04 6.55
  🔴 -0.38 🟢 +0 🔴 -0.05 🔴 -0.1 🔴 -0.06 🔴 -0.02
whats-available-on-codacy-self-hosted.md 48.72 33.41 9.85 13.5 15.18 7.96
  🟢 +6.7 🟢 +8.06 🟢 +0.55 🟢 +1 🟢 +1.22 🟢 +0.39
using-codacy-tools-with-codacy-self-hosted.md 49.09 30.06 10.26 13.5 14.09 7.93
  - - - - - -
managing-branches.md 38.24 25.9 14.25 14.9 14.62 8.1
  - - - - - -
file-size-limit.md 36.71 21.19 10.6 16.1 16.3 9
  - - - - - -
client-side-tool-instructions.md 40.29 12.83 12.33 13.5 14.27 8.6
  🔴 -1.36 🟢 +0 🔴 -0.65 🟢 +0.2 🟢 +0.17 🔴 -0.24

Averages:

  Readability FRE GF ARI CLI DCRS
Average 54.41 42.88 10.82 12.3 12.33 7.95
  🔴 -0.03 🔴 -0.01 🔴 -0.01 🟢 +0.01 🟢 +0 🟢 +0
View metric targets
Metric Range Ideal score
Flesch Reading Ease 100 (very easy read) to 0 (extremely difficult read) 60
Gunning Fog 6 (very easy read) to 17 (extremely difficult read) 8 or less
Auto. Read. Index 6 (very easy read) to 14 (extremely difficult read) 8 or less
Coleman Liau Index 6 (very easy read) to 17 (extremely difficult read) 8 or less
Dale-Chall Readability 4.9 (very easy read) to 9.9 (extremely difficult read) 6.9 or less

@github-actions
github-actions Bot temporarily deployed to Netlify October 30, 2026 12:43 Inactive
@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

⚠️ Resolve issues before merging

An existing deep-link anchor now lands on generic content instead of the Self-hosted instructions previously associated with it. This can leave bookmarked or externally referenced documentation links without the expected guidance and should be addressed before merging.

Test suggestions

  • Build the documentation with strict validation and verify all changed links, images, anchors, and navigation entries.
  • Verify Cloud pages no longer contain Self-hosted-specific instructions or conditional branches.
  • Verify the shared Self-hosted delta page renders version-specific tool and Helm instructions for every supported Self-hosted version.
  • Verify the moved branch-management, file-size-limit, API, submodule, duplication, and seat-usage instructions are reachable from the Self-hosted section.
  • Verify previously valid anchors are preserved or intentionally retired without broken internal links.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Build the documentation with strict validation and verify all changed links, images, anchors, and navigation entries.
2. Verify Cloud pages no longer contain Self-hosted-specific instructions or conditional branches.
3. Verify the shared Self-hosted delta page renders version-specific tool and Helm instructions for every supported Self-hosted version.
4. Verify the moved branch-management, file-size-limit, API, submodule, duplication, and seat-usage instructions are reachable from the Self-hosted section.
5. Verify previously valid anchors are preserved or intentionally retired without broken internal links.

TIP How was this review? Give us feedback

export CODACY_API_BASE_URL=<your Codacy instance API URL>
export CODACY_RESULTS_API_BASE_URL=<your Codacy instance results API URL>
```
## Network {: id="network-and-codacy-self-hosted"}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MEDIUM RISK

Add a compatibility note at this anchor linking to the new Self-hosted page, or otherwise preserve the Self-hosted guidance here while directing readers to its new location.

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.


# Using Codacy tools with Codacy Self-hosted

The pages for Codacy Coverage Reporter, client-side tools, the Codacy API, and submodules describe Codacy Cloud. Their steps also work on Codacy Self-hosted, with the changes on this page: your instance URL instead of `app.codacy.com`, and the tool versions for your Codacy Self-hosted version.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: Align the introduction with the additional Self-hosted-specific behavior documented later on the page, or narrow the page to the differences described in the summary.

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

This branch was previously deployed

1 inactive deployment
Netlify — d6c64f22 Deployed Oct 30, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant