Skip to content

DOC-17063: Replace source file/directory links#23299

Merged
ebembi-crdb merged 6 commits into
mainfrom
unlink-source-file-links
May 29, 2026
Merged

DOC-17063: Replace source file/directory links#23299
ebembi-crdb merged 6 commits into
mainfrom
unlink-source-file-links

Conversation

@ebembi-crdb
Copy link
Copy Markdown
Contributor

Summary

  • Unlinks 111 pages that reference github.com/cockroachdb/cockroach/blob or /tree paths
  • Removes hyperlinks to cockroach source code files and directories, keeping the descriptive text
  • These links pointed to internal source code that is not useful for docs readers

This is PR 9 of 10 splitting #23256 into reviewable chunks.

Jira: DOC-17063

Test plan

  • Verify unlinked text still makes sense in context
  • Run local Jekyll build and spot-check affected pages
  • Confirm no remaining github.com/cockroachdb/cockroach/blob or /tree links in affected files

🤖 Generated with Claude Code

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Cross-Version Link Check Passed

All cross-version link issues have been resolved. Good job!

@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 6d55eeb
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/6a19ac7754129e0008173e12

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Files changed:

@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 6d55eeb
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/6a19ac773c7e26000964e93b

@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Netlify Preview

Name Link
🔨 Latest commit 6d55eeb
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/6a19ac77eaa4e90008351d71
😎 Deploy Preview https://deploy-preview-23299--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Unlink 111 pages that reference github.com/cockroachdb/cockroach/blob
or /tree paths. These links pointed to cockroach source code files and
directories that are not useful for docs readers.

Part of DOC-17063.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ebembi-crdb ebembi-crdb force-pushed the unlink-source-file-links branch from 2d400cb to 75888f9 Compare May 12, 2026 15:37
ebembi-crdb and others added 2 commits May 12, 2026 21:30
Replace hardcoded images/v24.2/raw-status-endpoints.png with
images/{{ page.version.version }}/raw-status-endpoints.png in
monitoring-and-alerting.md for v25.1, v25.2, and v25.3.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use absolute /docs/images/ path with {{ page.version.version }} instead
of nesting {{ }} inside {{ }} (which Liquid can't evaluate).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread src/current/v23.1/fips.md Outdated
- [Cluster API]({% link {{ page.version.version }}/cluster-api.md %})
- [Essential Alerts]({% link {{ page.version.version }}/essential-alerts-{{ include.deployment}}.md %})
- [CockroachDB Source Code - DB Console metrics to graphs mappings (in *.tsx files)](https://github.com/cockroachdb/cockroach/tree/master/pkg/ui/workspaces/db-console/src/views/cluster/containers/nodeGraphs/dashboards)
- CockroachDB Source Code - DB Console metrics to graphs mappings (in *.tsx files)
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.

let's remove this line entirely, in this and all other versions of this file

However, for non-indexed columns (e.g., non-`PRIMARY KEY` columns), CockroachDB instead uses an encoding (known as "value encoding") which consumes less space but does not preserve ordering.

You can find more exhaustive detail in the [Encoding Tech Note](https://github.com/cockroachdb/cockroach/blob/master/docs/tech-notes/encoding.md).
You can find more exhaustive detail in [the Encoding Tech Note](https://github.com/cockroachdb/docs/blob/main/src/current/files/cockroach/docs/tech-notes/encoding.md).
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.

please remove this line entirely, we're no longer going to be referring to tech-notes or RFCs from the cockroach repo at all

Comment thread src/current/v23.1/admission-control.md Outdated
## See also

The [technical note for admission control](https://github.com/cockroachdb/cockroach/blob/master/docs/tech-notes/admission_control.md) for details on the design of the admission control system.
The [technical note for admission control](https://github.com/cockroachdb/docs/blob/main/src/current/files/cockroach/docs/tech-notes/admission_control.md) for details on the design of the admission control system.
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.

please remove this bullet entirely (here and in all other versions), we're no longer going to be referring to tech-notes/RFCs from the cockroach repo

Comment thread src/current/v23.1/fips.md

If you do not want to use the FIPS-ready CockroachDB Docker image directly, you can create a custom Docker image based on [Red Hat's Universal Base Image 8 Docker image](https://catalog.redhat.com/software/containers/ubi8/ubi/):

- You can model your Dockerfile on the one that Cockroach Labs uses to produce the [FIPS-ready Docker image](https://github.com/cockroachdb/cockroach/blob/master/build/deploy/Dockerfile) for CockroachDB.
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.

update 2026-05-26: let's just remove this bullet, we don't have the expertise to vendor this file and maintain it in docs unless/until we commit to that as a team. For now, let's remove this bullet

A number of independent factors affect performance when running CockroachDB on Kubernetes. Most are easiest to change before you create your CockroachDB cluster. If you need to modify a CockroachDB cluster that is already running on Kubernetes, extra care and testing is strongly recommended.

The following sections show how to modify excerpts from our provided Kubernetes configuration YAML files. You can find the most up-to-date versions of these files on GitHub: [one for running CockroachDB in secure mode](https://github.com/cockroachdb/cockroach/blob/master/cloud/kubernetes/cockroachdb-statefulset-secure.yaml) and one for [running CockroachDB in insecure mode](https://github.com/cockroachdb/cockroach/blob/master/cloud/kubernetes/cockroachdb-statefulset.yaml).
The following sections show how to modify excerpts from our provided Kubernetes configuration YAML files. You can find the most up-to-date versions of these files on GitHub: [one for running CockroachDB in secure mode](https://github.com/cockroachdb/docs/blob/main/src/current/files/cockroach/cloud/kubernetes/cockroachdb-statefulset-secure.yaml) and one for [running CockroachDB in insecure mode](https://github.com/cockroachdb/docs/blob/main/src/current/files/cockroach/cloud/kubernetes/cockroachdb-statefulset.yaml).
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.

i think we're vendoring stuff in #23298 in a similar way - per my comments on that PR, please change these links - nothing should ever refer to github repos or github.com or githubusercontent.com - all links to local files should use the {% link ... %} syntax we use for links in Jekyll

Comment thread src/current/v23.2/admission-control.md Outdated

- The [Overload Dashboard]({% link {{ page.version.version }}/ui-overload-dashboard.md %}) in the [DB Console]({% link {{ page.version.version }}/ui-overview.md %}).
- The [technical note for admission control](https://github.com/cockroachdb/cockroach/blob/master/docs/tech-notes/admission_control.md) for details on the design of the admission control system.
- The technical note for admission control for details on the design of the admission control system.
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.

please remove this line altogether

However, for non-indexed columns (e.g., non-`PRIMARY KEY` columns), CockroachDB instead uses an encoding (known as "value encoding") which consumes less space but does not preserve ordering.

You can find more exhaustive detail in the [Encoding Tech Note](https://github.com/cockroachdb/cockroach/blob/master/docs/tech-notes/encoding.md).
You can find more exhaustive detail in [the Encoding Tech Note](https://github.com/cockroachdb/docs/blob/main/src/current/files/cockroach/docs/tech-notes/encoding.md).
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.

please remove this line altogether

Comment thread src/current/v23.2/fips.md Outdated
If you do not want to use the FIPS-ready CockroachDB Docker image directly, you can create a custom Docker image based on [Red Hat's Universal Base Image 8 Docker image](https://catalog.redhat.com/software/containers/ubi8/ubi/):

- You can model your Dockerfile on the one that Cockroach Labs uses to produce the [FIPS-ready Docker image](https://github.com/cockroachdb/cockroach/blob/master/build/deploy/Dockerfile) for CockroachDB.
- You can model your Dockerfile on the one that Cockroach Labs uses to produce the FIPS-ready Docker image for CockroachDB.
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.

please remove this line altogether

Comment thread src/current/v24.1/fips.md Outdated
If you do not want to use the FIPS-ready CockroachDB Docker image directly, you can create a custom Docker image based on [Red Hat's Universal Base Image 8 Docker image](https://catalog.redhat.com/software/containers/ubi8/ubi/):

- You can model your Dockerfile on the one that Cockroach Labs uses to produce the [FIPS-ready Docker image](https://github.com/cockroachdb/cockroach/blob/master/build/deploy/Dockerfile) for CockroachDB.
- You can model your Dockerfile on the one that Cockroach Labs uses to produce the FIPS-ready Docker image for CockroachDB.
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.

please remove this line here and in all other versions of this file

Several endpoints return raw status meta information in JSON at `http://<host>:<http-port>/#/debug`. You can investigate and use these endpoints, but note that they are subject to change.

<img src="{{ 'images/v24.2/raw-status-endpoints.png' | relative_url }}" alt="Raw Status Endpoints" style="border:1px solid #eee;max-width:100%" />
<img src="/docs/images/{{ page.version.version }}/raw-status-endpoints.png" alt="Raw Status Endpoints" style="border:1px solid #eee;max-width:100%" />
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.

this will probably fail to build, i think these image paths need to be hardcoded (v25.1 in this case)

Copy link
Copy Markdown
Contributor

@rmloveland rmloveland left a comment

Choose a reason for hiding this comment

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

@ebembi-crdb needs a few fixes but overall direction similar to #23298 of vendoring files seems good

PS once you've addressed my comments in the existing versions please also port the changes forward to v26.3 docs (need to rebase), since #23371 beat us in

ebembi-crdb and others added 2 commits May 27, 2026 20:29
# Conflicts:
#	src/current/v25.2/monitoring-and-alerting.md
Per reviewer comments:
- Remove FIPS Dockerfile bullet from fips.md (all versions)
- Remove CockroachDB Source Code line from essential-metrics.md
- Remove Encoding Tech Note and DistSQL RFC references from sql-layer.md
- Remove Admission Control tech note references from admission-control.md
- Remove RFC links from restore.md (keep text, unlink)
- Remove "Tracking GitHub Issue" text from restore.md
- Replace GitHub links with {% link %} for vendored K8s config files
  in kubernetes-performance.md
- Fix image paths in monitoring-and-alerting.md (hardcode version)
- Replace GitHub links with {% link %} for alerts.rules.yml in
  monitoring-and-alerting.md
- Replace GitHub links with {% link %} in schedule-cockroachdb-*.md
- Remove Read Committed RFC references from read-committed.md
- Vendor K8s config files and alerts.rules.yml for {% link %} usage
- Apply all changes to v26.3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ebembi-crdb ebembi-crdb requested a review from rmloveland May 27, 2026 15:16
Copy link
Copy Markdown
Contributor

@rmloveland rmloveland left a comment

Choose a reason for hiding this comment

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

LGTM thanks @ebembi-crdb - please merge at will!

@ebembi-crdb ebembi-crdb enabled auto-merge (squash) May 29, 2026 15:11
@ebembi-crdb ebembi-crdb merged commit 27436f6 into main May 29, 2026
8 checks passed
@ebembi-crdb ebembi-crdb deleted the unlink-source-file-links branch May 29, 2026 15:19
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.

2 participants