Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
Improve wording for sample notebooks (#57)
Browse files Browse the repository at this point in the history
* Update sample notebooks wording

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Update documentation links

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Fix broken links

Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 authored Aug 4, 2021
1 parent e8c8229 commit acd09f0
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 112 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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/). If you need help and are unsure where to open an issue, try [forums](https://discuss.opendistrocommunity.dev/).

## Code of Conduct

Expand Down
4 changes: 2 additions & 2 deletions dashboards-notebooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Dashboards offer a solution for a few selected use cases, and are great tools if

## Documentation

Please see our technical [documentation](https://docs-beta.opensearch.org/dashboards/notebooks/) to learn more about its features.
Please see our technical [documentation](https://opensearch.org/docs/dashboards/notebooks/) to learn more about its features.

## Contributing

Expand All @@ -14,7 +14,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/). If you need help and are unsure where to open an issue, try [forums](https://discuss.opendistrocommunity.dev/).

## Code of Conduct

Expand Down
2 changes: 1 addition & 1 deletion dashboards-notebooks/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const SELECTED_BACKEND = 'DEFAULT'; // ZEPPELIN || DEFAULT
export const DATE_FORMAT = 'MM/DD/YYYY hh:mm A';
export const FETCH_SIZE = 1000;
export const CREATE_NOTE_MESSAGE = 'Enter a name to describe the purpose of this notebook.';
export const DOCUMENTATION_URL = 'https://docs-beta.opensearch.org/dashboards/notebooks/';
export const DOCUMENTATION_URL = 'https://opensearch.org/docs/dashboards/notebooks/';

export const zeppelinURL = 'http://localhost:8080';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,11 @@ export const Paragraphs = forwardRef((props: ParagraphProps, ref) => {
};

const sqlIcon = (
<EuiLink href="https://docs-beta.opensearch.org/docs/sql/" target="_blank"> SQL <EuiIcon type="popout" size="s"/> </EuiLink>
<EuiLink href="https://opensearch.org/docs/search-plugins/sql/index/" target="_blank"> SQL <EuiIcon type="popout" size="s"/> </EuiLink>
)

const pplIcon = (
<EuiLink href="https://docs-beta.opensearch.org/docs/ppl/" target="_blank"> PPL <EuiIcon type="popout" size="s"/></EuiLink>
<EuiLink href="https://opensearch.org/docs/search-plugins/ppl/index/" target="_blank"> PPL <EuiIcon type="popout" size="s"/></EuiLink>
)

const paragraphLabel = (!para.isVizualisation) ?
Expand All @@ -452,11 +452,11 @@ export const Paragraphs = forwardRef((props: ParagraphProps, ref) => {

const queryErrorMessage = (queryParagraphErrorMessage.includes("SQL")) ? (
<EuiText size="s">
{queryParagraphErrorMessage}. Learn More <EuiLink href="https://docs-beta.opensearch.org/docs/sql/" target="_blank"><EuiIcon type="popout" size="s"/></EuiLink>
{queryParagraphErrorMessage}. Learn More <EuiLink href="https://opensearch.org/docs/search-plugins/sql/index/" target="_blank"><EuiIcon type="popout" size="s"/></EuiLink>
</EuiText>
) : (
<EuiText size="s">
{queryParagraphErrorMessage}. <EuiLink href="https://docs-beta.opensearch.org/docs/ppl/" target="_blank">Learn More <EuiIcon type="popout" size="s"/></EuiLink>
{queryParagraphErrorMessage}. <EuiLink href="https://opensearch.org/docs/search-plugins/ppl/index/" target="_blank">Learn More <EuiIcon type="popout" size="s"/></EuiLink>
</EuiText>
)

Expand Down
Loading

0 comments on commit acd09f0

Please sign in to comment.