Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong urls to documentation #1278

Merged
merged 3 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/components/IndexDetail/IndexDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ const IndexDetail = (
<p>
All the settings will be handled in flat structure.{" "}
<EuiLink
href={`https://opensearch.org/docs/${docVersion}/api-reference/index-apis/get-index/#url-parameters`}
href={`https://opensearch.org/docs/${docVersion}/api-reference/index-apis/get-index/#query-parameters`}
external
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ exports[`<IndexForm /> spec render page 1`] = `

<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/latest/api-reference/index-apis/create-index#index-settings"
href="https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings"
rel="noopener noreferrer"
target="_blank"
>
Expand All @@ -438,7 +438,7 @@ exports[`<IndexForm /> spec render page 1`] = `

<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/undefined/api-reference/index-apis/get-index/#url-parameters"
href="https://opensearch.org/docs/undefined/api-reference/index-apis/get-index/#query-parameters"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export default function IndexSettings(props: SubDetailProps) {
<p>
All the settings will be handled in flat structure.{" "}
<EuiLink
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#url-parameters"
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#query-parameters"
external
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default function IndexSettings(props: SubDetailProps) {
<p>
All the settings will be handled in flat structure.{" "}
<EuiLink
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#url-parameters"
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#query-parameters"
external
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export default function IndexSettings(props: SubDetailProps) {
<p>
All the settings will be handled in flat structure.{" "}
<EuiLink
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#url-parameters"
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#query-parameters"
external
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ exports[`<CreateIndexTemplate /> spec render template pages 1`] = `

<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/latest/api-reference/index-apis/create-index#index-settings"
href="https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings"
rel="noopener noreferrer"
target="_blank"
>
Expand All @@ -478,7 +478,7 @@ exports[`<CreateIndexTemplate /> spec render template pages 1`] = `

<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#url-parameters"
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#query-parameters"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ exports[`<TemplateDetail /> spec render component in non-edit-mode 1`] = `

<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/latest/api-reference/index-apis/create-index#index-settings"
href="https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings"
rel="noopener noreferrer"
target="_blank"
>
Expand All @@ -891,7 +891,7 @@ exports[`<TemplateDetail /> spec render component in non-edit-mode 1`] = `

<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#url-parameters"
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#query-parameters"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ Object {

<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/latest/api-reference/index-apis/create-index#index-settings"
href="https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings"
rel="noopener noreferrer"
target="_blank"
>
Expand All @@ -489,7 +489,7 @@ Object {

<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/undefined/api-reference/index-apis/get-index/#url-parameters"
href="https://opensearch.org/docs/undefined/api-reference/index-apis/get-index/#query-parameters"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ exports[`<Shrink index /> spec renders the component 1`] = `
Specify a comma-delimited list of settings. 
<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/latest/api-reference/index-apis/create-index#index-settings"
href="https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
3 changes: 2 additions & 1 deletion public/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export const ACTIONS_DOCUMENTATION_URL = "https://opensearch.org/docs/im-plugin/
export const STATES_DOCUMENTATION_URL = "https://opensearch.org/docs/im-plugin/ism/policies/#states";
export const ERROR_NOTIFICATION_DOCUMENTATION_URL = "https://opensearch.org/docs/im-plugin/ism/policies/#error-notifications";
export const TRANSITION_DOCUMENTATION_URL = "https://opensearch.org/docs/im-plugin/ism/policies/#transitions";
export const INDEX_SETTINGS_URL = "https://opensearch.org/docs/latest/api-reference/index-apis/create-index#index-settings";
export const INDEX_SETTINGS_URL =
"https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings";
export const SNAPSHOT_MANAGEMENT_DOCUMENTATION_URL = "https://opensearch.org/docs/latest/opensearch/snapshots/snapshot-management/";
export const CRON_EXPRESSION_DOCUMENTATION_URL = "https://opensearch.org/docs/latest/monitoring-plugins/alerting/cron/";
export const RESTORE_SNAPSHOT_DOCUMENTATION_URL =
Expand Down
Loading