UI: Remove LearnLink, use DocLink! (#18641)

* delete learn link, update links

* update documentation

* update test

* Update ui/app/templates/components/wizard/replication-setup.hbs
This commit is contained in:
claire bontempo
2023-01-10 09:07:08 -08:00
committed by GitHub
parent 3f073ae3ce
commit 582a64598c
28 changed files with 57 additions and 103 deletions

View File

@@ -3,15 +3,15 @@ import Component from '@glimmer/component';
/**
* @module ExternalLinkComponent
* `ExternalLink` components are used to render anchor links to non-cluster links. Automatically opens in a new tab with noopener noreferrer.
* To link to vaultproject.io, use DocLink. To link to learn.hashicorp.com, use LearnLink.
* To link to developer.hashicorp.com, use DocLink .
*
* @example
* ```js
<ExternalLink @href="https://hashicorp.com">Arbitrary Link</ExternalLink>
* ```
*
* @param href="https://example.com/"{String} - The full href with protocol
* @param sameTab=false {Boolean} - by default, these links open in new tab. To override, pass @sameTab={{true}}
* @param {string} href="https://example.com/" - The full href with protocol
* @param {boolean} [sameTab=false] - by default, these links open in new tab. To override, pass @sameTab={{true}}
*
*/
export default class ExternalLinkComponent extends Component {