Added link to documentation

This commit is contained in:
2023-06-27 06:52:20 +02:00
parent 1229abc0b9
commit 233f41237e
3 changed files with 16 additions and 6 deletions

View File

@@ -12,7 +12,8 @@
"command": "last()", "command": "last()",
"output": "blablabla" "output": "blablabla"
} }
] ],
"documentationReferenceURL": "https://www.bing.pl"
}, },
{ {
"name": "position", "name": "position",
@@ -24,7 +25,8 @@
"command": "position()", "command": "position()",
"output": "blablabla" "output": "blablabla"
} }
] ],
"documentationReferenceURL": "wwww.google.pl"
} }
] ]
}, },
@@ -52,7 +54,8 @@
"output": "2137" "output": "2137"
} }
] ],
"documentationReferenceURL": "wwww.google.pl"
}, },
{ {
"name": "floor", "name": "floor",
@@ -70,7 +73,8 @@
"command": "floor(3.6)", "command": "floor(3.6)",
"output": "3" "output": "3"
} }
] ],
"documentationReferenceURL": "wwww.google.pl"
} }
] ]
} }

View File

@@ -13,7 +13,8 @@
} }
], ],
"output": "number", "output": "number",
"examples": [] "examples": [],
"documentationReferenceURL": "wwww.google.pl"
}, },
{ {
"name": "floor", "name": "floor",
@@ -31,7 +32,8 @@
"command": "floor(3.6)", "command": "floor(3.6)",
"output": "3" "output": "3"
} }
] ],
"documentationReferenceURL": "wwww.google.pl"
} }
] ]
} }

View File

@@ -57,6 +57,10 @@ function entryHasExamples() {
<td class="text-center">{{ ex.output }}</td> <td class="text-center">{{ ex.output }}</td>
</tr> </tr>
</table> </table>
<div>
<a :href="props.entryData.documentationReferenceURL" class="underline" target="_blank" rel="noreferrer noopener">W3C Documentation Reference</a>
</div>
</div> </div>
</div> </div>
</template> </template>