Skip to content

DOC-17059: Remove/replace cockroach links in YAML/data files#23304

Open
ebembi-crdb wants to merge 1 commit into
mainfrom
update-yaml-data-links
Open

DOC-17059: Remove/replace cockroach links in YAML/data files#23304
ebembi-crdb wants to merge 1 commit into
mainfrom
update-yaml-data-links

Conversation

@ebembi-crdb
Copy link
Copy Markdown
Contributor

Summary

  • Updates 10 non-markdown files (api-spec.json, menus.yml, 8 metrics YAMLs)
  • Shortens GitHub issue URLs in metrics YAML files
  • Removes GitHub navigation links from menus.yml

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

Jira: DOC-17059

Test plan

  • Verify metrics pages still render correctly with shortened issue URLs
  • Verify navigation menus render correctly without GitHub links
  • Run local Jekyll build

🤖 Generated with Claude Code

Update 10 non-markdown files: shorten GitHub issue URLs in metrics
YAML files, remove GitHub navigation links from menus.yml, and update
API spec references.

Part of DOC-17059.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Files changed:

  • src/api/api-spec.json
  • src/current/_data/menus.yml
  • src/current/_data/v24.2/metrics/child-metrics.yml
  • src/current/_data/v24.3/metrics/child-metrics.yml
  • src/current/_data/v25.1/metrics/multi-dimensional-metrics.yml
  • src/current/_data/v25.2/metrics/multi-dimensional-metrics.yml
  • src/current/_data/v25.3/metrics/multi-dimensional-metrics.yml
  • src/current/_data/v25.4/metrics/multi-dimensional-metrics.yml
  • src/current/_data/v26.1/metrics/multi-dimensional-metrics.yml
  • src/current/_data/v26.2/metrics/multi-dimensional-metrics.yml

@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

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

@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for cockroachdb-api-docs ready!

Name Link
🔨 Latest commit 10ccf95
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/6a032e05160dda0008d60b11
😎 Deploy Preview https://deploy-preview-23304--cockroachdb-api-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.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Netlify Preview

Name Link
🔨 Latest commit 10ccf95
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/6a032e05dc33420008320625
😎 Deploy Preview https://deploy-preview-23304--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.

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.

left a couple comments about removing references to things entirely vs just renaming link targets

also had a question / FYI for @kikiya re: package name policy (assume it's fine? but flagging because "never assume")

Comment thread src/api/api-spec.json
},
"global_reads": {
"description": "Whether transactions operating over the range(s)\nshould be configured to provide non-blocking behavior, meaning that reads\ncan be served consistently from all replicas and do not block on writes. In\nexchange, writes get pushed into the future and must wait on commit to\nensure linearizability. For more, see:\nhttps://github.com/cockroachdb/cockroach/blob/master/docs/RFCS/20200811_non_blocking_txns.md",
"description": "Whether transactions operating over the range(s)\nshould be configured to provide non-blocking behavior, meaning that reads\ncan be served consistently from all replicas and do not block on writes. In\nexchange, writes get pushed into the future and must wait on commit to\nensure linearizability. For more, see:\nhttps://github.com/cockroachdb/docs/blob/main/src/current/files/cockroach/docs/RFCS/20200811_non_blocking_txns.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 the "for more ..." line and the link, we don't need to pull that file into the docs repo

Comment thread src/api/api-spec.json
"properties": {
"constraints": {
"description": "Constrains which stores the replicas can be stored on. The\norder in which the constraints are stored is arbitrary and may change.\nhttps://github.com/cockroachdb/cockroach/blob/master/docs/RFCS/20160706_expressive_zone_config.md#constraint-system",
"description": "Constrains which stores the replicas can be stored on. The\norder in which the constraints are stored is arbitrary and may change.\nhttps://github.com/cockroachdb/docs/blob/main/src/current/files/cockroach/docs/RFCS/20160706_expressive_zone_config.md#constraint-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 the http link entirely, we don't need to pull that file into our repo

Comment thread src/api/api-spec.json
"format": "int32",
"title": "A custom type for a range replica ID.",
"x-go-package": "github.com/cockroachdb/cockroach/pkg/roachpb"
"x-go-package": "cockroachdb/cockroach/pkg/roachpb"
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 seems fine to me, but i don't have enough context on what this file even does or how it's used

also, i "assume" it's fine to still refer to Go packages at this level of specificity - seems unavoidable? but ultimately idk

cc @kikiya FYI since you may have more context on this from a policy POV

@@ -1,6 +1,6 @@
# child-metrics.yml is a manually curated file of metrics that are included in the Child Metrics.
# The metrics are in the order of appearance in the 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.

please delete this whole "the metrics are in the order of appearance in the comment ..." part

@@ -1,6 +1,6 @@
# child-metrics.yml is a manually curated file of metrics that are included in the Child Metrics.
# The metrics are in the order of appearance in the 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.

same as other comment, please delete this whole "the metrics are in the order of appearance ..." section including the issue reference

@@ -1,6 +1,6 @@
# multi-dimensional-metrics.yml is a manually curated file of metrics that are included in the Multi-Dimensional Metrics page.
# The metrics are in the order of appearance in the 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.

same as other comment, please delete this whole "the metrics are in the order of appearance ..." section including the issue reference

@@ -1,6 +1,6 @@
# multi-dimensional-metrics.yml is a manually curated file of metrics that are included in the Multi-Dimensional Metrics page.
# The metrics are in the order of appearance in the 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.

same as other comment, please delete this whole "the metrics are in the order of appearance ..." section including the issue reference

@@ -1,6 +1,6 @@
# multi-dimensional-metrics.yml is a manually curated file of metrics that are included in the Multi-Dimensional Metrics page.
# The metrics are in the order of appearance in the 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.

same as other comment, please delete this whole "the metrics are in the order of appearance ..." section including the issue reference

@@ -1,6 +1,6 @@
# multi-dimensional-metrics.yml is a manually curated file of metrics that are included in the Multi-Dimensional Metrics page.
# The metrics are in the order of appearance in the comment:
# https://github.com/cockroachdb/cockroach/issues/124343#issuecomment-2117886012
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.

same as other comment, please delete this whole "the metrics are in the order of appearance ..." section including the issue reference

@@ -1,6 +1,6 @@
# multi-dimensional-metrics.yml is a manually curated file of metrics that are included in the Multi-Dimensional Metrics page.
# The metrics are in the order of appearance in the 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.

same as other comment, please delete this whole "the metrics are in the order of appearance ..." section including the issue reference

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