Skip to content

Commit

Permalink
Update docs links for workbench
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 committed Dec 27, 2021
1 parent 013d402 commit 06debad
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions workbench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The OpenSearch Dashboards Query Workbench enables you to query your OpenSearch d

## Documentation

Please see our technical [documentation](https://docs-beta.opensearch.org/search-plugins/sql/workbench/) to learn more about its features.
Please see our technical [documentation](https://opensearch.org/docs/latest/search-plugins/sql/workbench/) to learn more about its features.


## Contributing
Expand All @@ -16,7 +16,7 @@ See [developer guide](DEVELOPER_GUIDE.md) and [how to contribute to this project

If you find a bug, or have a feature request, please don't hesitate to open an issue in this repository.

For more information, see [project website](https://opensearch.org/) and [documentation](https://docs-beta.opensearch.org/). If you need help and are unsure where to open an issue, try [forums](https://discuss.opendistrocommunity.dev/).
For more information, see [project website](https://opensearch.org/) and [documentation](https://opensearch.org/docs/latest/). If you need help and are unsure where to open an issue, try [forums](https://discuss.opendistrocommunity.dev/).

## Code of Conduct

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ exports[`<Main /> spec click clear button 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://docs-beta.opensearch.org/search-plugins/sql/index/"
href="https://opensearch.org/docs/latest/search-plugins/sql/index/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -477,7 +477,7 @@ exports[`<Main /> spec click run button, and response causes an error 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://docs-beta.opensearch.org/search-plugins/sql/index/"
href="https://opensearch.org/docs/latest/search-plugins/sql/index/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -856,7 +856,7 @@ exports[`<Main /> spec click run button, and response is not ok 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://docs-beta.opensearch.org/search-plugins/sql/index/"
href="https://opensearch.org/docs/latest/search-plugins/sql/index/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -1235,7 +1235,7 @@ exports[`<Main /> spec click run button, and response is ok 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://docs-beta.opensearch.org/search-plugins/sql/index/"
href="https://opensearch.org/docs/latest/search-plugins/sql/index/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -1614,7 +1614,7 @@ exports[`<Main /> spec click run button, response fills null and missing values
>
<a
class="euiButton euiButton--primary"
href="https://docs-beta.opensearch.org/search-plugins/sql/index/"
href="https://opensearch.org/docs/latest/search-plugins/sql/index/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -1996,7 +1996,7 @@ exports[`<Main /> spec click translation button, and response is ok 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://docs-beta.opensearch.org/search-plugins/sql/index/"
href="https://opensearch.org/docs/latest/search-plugins/sql/index/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -2375,7 +2375,7 @@ exports[`<Main /> spec renders the component 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://docs-beta.opensearch.org/search-plugins/sql/index/"
href="https://opensearch.org/docs/latest/search-plugins/sql/index/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
4 changes: 2 additions & 2 deletions workbench/public/components/Main/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ export class Main extends React.Component<MainProps, MainState> {
updateSQLQueries={this.updateSQLQueries}
/>
);
link = 'https://docs-beta.opensearch.org/search-plugins/sql/index/';
link = 'https://opensearch.org/docs/latest/search-plugins/sql/index/';
linkTitle = 'SQL documentation';
} else {
page = (
Expand All @@ -640,7 +640,7 @@ export class Main extends React.Component<MainProps, MainState> {
updatePPLQueries={this.updatePPLQueries}
/>
);
link = 'https://docs-beta.opensearch.org/search-plugins/ppl/index/';
link = 'https://opensearch.org/docs/latest/observability/ppl/index/';
linkTitle = 'PPL documentation';
}

Expand Down

0 comments on commit 06debad

Please sign in to comment.