diff --git a/Frontend/src/assets/tooltips/xpath/xpath1.json b/Frontend/src/assets/tooltips/xpath/xpath1.json index 031de3b..ee1e5bc 100644 --- a/Frontend/src/assets/tooltips/xpath/xpath1.json +++ b/Frontend/src/assets/tooltips/xpath/xpath1.json @@ -12,7 +12,8 @@ "command": "last()", "output": "blablabla" } - ] + ], + "documentationReferenceURL": "https://www.bing.pl" }, { "name": "position", @@ -24,7 +25,8 @@ "command": "position()", "output": "blablabla" } - ] + ], + "documentationReferenceURL": "wwww.google.pl" } ] }, @@ -52,7 +54,8 @@ "output": "2137" } - ] + ], + "documentationReferenceURL": "wwww.google.pl" }, { "name": "floor", @@ -70,7 +73,8 @@ "command": "floor(3.6)", "output": "3" } - ] + ], + "documentationReferenceURL": "wwww.google.pl" } ] } diff --git a/Frontend/src/assets/tooltips/xpath/xpath2.json b/Frontend/src/assets/tooltips/xpath/xpath2.json index fde2214..3f696bb 100644 --- a/Frontend/src/assets/tooltips/xpath/xpath2.json +++ b/Frontend/src/assets/tooltips/xpath/xpath2.json @@ -13,7 +13,8 @@ } ], "output": "number", - "examples": [] + "examples": [], + "documentationReferenceURL": "wwww.google.pl" }, { "name": "floor", @@ -31,7 +32,8 @@ "command": "floor(3.6)", "output": "3" } - ] + ], + "documentationReferenceURL": "wwww.google.pl" } ] } diff --git a/Frontend/src/components/xml/tooltips/TooltipEntryComponent.vue b/Frontend/src/components/xml/tooltips/TooltipEntryComponent.vue index 28911f7..75aa4eb 100644 --- a/Frontend/src/components/xml/tooltips/TooltipEntryComponent.vue +++ b/Frontend/src/components/xml/tooltips/TooltipEntryComponent.vue @@ -57,6 +57,10 @@ function entryHasExamples() {