Skip to content

Commit 0cd6b8e

Browse files
committed
fix: documentation link in yasr
1 parent afd4a29 commit 0cd6b8e

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.changeset/strong-results-argue.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@zazuko/yasr": patch
3+
---
4+
5+
Fix the documentation links

packages/yasr/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ export class Yasr extends EventEmitter {
443443
this.documentationLink = document.createElement("a");
444444
addClass(this.documentationLink, "yasr_btn", "yasr_external_ref_btn");
445445
this.documentationLink.appendChild(drawSvgStringAsElement(drawFontAwesomeIconAsSvg(faQuestionCircle)));
446-
this.documentationLink.href = "//triply.cc/docs/yasgui";
446+
this.documentationLink.href = "https://docs.triply.cc/yasgui/";
447447
this.documentationLink.target = "_blank";
448448
this.documentationLink.rel = "noopener noreferrer";
449449
this.headerEl.appendChild(this.documentationLink); // We can do this as long as the help-element is the last item in the row

packages/yasr/src/plugins/response/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default class Response implements Plugin<PluginConfig> {
2727
private yasr: Yasr;
2828
label = "Response";
2929
priority = 2;
30-
helpReference = "https://triply.cc/docs/yasgui#response";
30+
helpReference = "https://docs.triply.cc/yasgui/#response";
3131
private config: DeepReadonly<PluginConfig>;
3232
private overLay: HTMLDivElement | undefined;
3333
private cm: CodeMirror.Editor | undefined;

packages/yasr/src/plugins/table/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default class Table implements Plugin<PluginConfig> {
6060
onResize: () => {};
6161
}
6262
| undefined;
63-
public helpReference = "https://triply.cc/docs/yasgui#table";
63+
public helpReference = "https://docs.triply.cc/yasgui/#table";
6464
public label = "Table";
6565
public priority = 10;
6666
public getIcon() {

0 commit comments

Comments
 (0)