Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: lift the review rule link corresponding to the doc change (#4600)

Tianzhou (天舟)214401b2e0c4
diff --git a/README.md b/README.md
index a597f4e1aa..66a2220148 100644
--- a/README.md
+++ b/README.md
@@ -66,7 +66,7 @@
| | |
| --- | --- |
-| <b>Standard Operating Procedure (SOP) </b><br />Standardize the database schema and data change process across different database systems, small or [large tables](https://www.bytebase.com/docs/change-database/online-schema-migration-for-mysql) and [different tenants](https://www.bytebase.com/docs/tenant-database-management/overview).<br /><br/><b>SQL Review</b><br />[100+ lint rules](https://www.bytebase.com/docs/sql-review/review-rules/overview) to detect SQL anti-patterns and enforce consistent SQL style in the organization.<br /><br /><b>GitOps</b><br />[Point-and-click GitHub and GitLab integration](https://www.bytebase.com/docs/vcs-integration/overview) to enable GitOps workflow for changing database.| <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/issue-detail.webp" /> |
+| <b>Standard Operating Procedure (SOP) </b><br />Standardize the database schema and data change process across different database systems, small or [large tables](https://www.bytebase.com/docs/change-database/online-schema-migration-for-mysql) and [different tenants](https://www.bytebase.com/docs/tenant-database-management/overview).<br /><br/><b>SQL Review</b><br />[100+ lint rules](https://www.bytebase.com/docs/sql-review/review-rules) to detect SQL anti-patterns and enforce consistent SQL style in the organization.<br /><br /><b>GitOps</b><br />[Point-and-click GitHub and GitLab integration](https://www.bytebase.com/docs/vcs-integration/overview) to enable GitOps workflow for changing database.| <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/issue-detail.webp" /> |
<br />
diff --git a/docs/design/source-code-tour.snb.md b/docs/design/source-code-tour.snb.md
index 3964d607a4..6f2005c5ce 100644
--- a/docs/design/source-code-tour.snb.md
+++ b/docs/design/source-code-tour.snb.md
@@ -110,7 +110,7 @@ This detailed history schema info enables Bytebase to implement powerful feature
Tasks may need to meet some pre-conditions before being scheduled. For example:
1. The task needs to be [approved](https://www.bytebase.com/docs/administration/environment-policy/approval-policy).
-1. The SQL statement must conform to [defined policy](https://www.bytebase.com/docs/sql-review/review-rules/overview).
+1. The SQL statement must conform to [defined policy](https://www.bytebase.com/docs/sql-review/review-rules).
This pre-condition is modeled as `Task Check`. Task checks are created before when the corresponding task becomes the next to-be-scheduled task in the pipeline:
diff --git a/frontend/src/components/SQLReview/SQLReviewPreview.vue b/frontend/src/components/SQLReview/SQLReviewPreview.vue
index a0c8d66e58..9d3acc00fa 100644
--- a/frontend/src/components/SQLReview/SQLReviewPreview.vue
+++ b/frontend/src/components/SQLReview/SQLReviewPreview.vue
@@ -47,7 +47,7 @@
:src="getEngineIcon(engine)"
/>
<a
- :href="`https://www.bytebase.com/docs/sql-review/review-rules/supported-rules#${rule.type}`"
+ :href="`https://www.bytebase.com/docs/sql-review/review-rules#${rule.type}`"
target="__blank"
class="flex flex-row space-x-2 items-center text-base text-gray-500 hover:text-gray-900"
>
diff --git a/frontend/src/components/SQLReview/components/SQLRuleConfig.vue b/frontend/src/components/SQLReview/components/SQLRuleConfig.vue
index 754c99f6c9..425ae00456 100644
--- a/frontend/src/components/SQLReview/components/SQLRuleConfig.vue
+++ b/frontend/src/components/SQLReview/components/SQLRuleConfig.vue
@@ -39,7 +39,7 @@
:src="getEngineIcon(engine)"
/>
<a
- :href="`https://www.bytebase.com/docs/sql-review/review-rules/supported-rules#${selectedRule.type}`"
+ :href="`https://www.bytebase.com/docs/sql-review/review-rules#${selectedRule.type}`"
target="__blank"
class="flex flex-row space-x-2 items-center text-base text-gray-500 hover:text-gray-900"
>
diff --git a/frontend/src/views/SettingWorkspaceSQLReview.vue b/frontend/src/views/SettingWorkspaceSQLReview.vue
index 4c697d6071..f2fb248222 100644
--- a/frontend/src/views/SettingWorkspaceSQLReview.vue
+++ b/frontend/src/views/SettingWorkspaceSQLReview.vue
@@ -3,7 +3,7 @@
<div class="textinfolabel">
{{ $t("sql-review.description") }}
<a
- href="https://www.bytebase.com/docs/sql-review/review-rules/overview"
+ href="https://www.bytebase.com/docs/sql-review/review-rules"
target="_blank"
class="normal-link inline-flex flex-row items-center"
>