From 0aeac93b061f208f36abd61dbb3988852c0b5f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Sun, 5 Oct 2025 20:43:25 +0200 Subject: [PATCH] fix: typo `ref` instead of `href` In HTML dependencies section, the description of `link` has a typo where `ref` is written instead of `href` --- docs/extensions/lua-api.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/extensions/lua-api.qmd b/docs/extensions/lua-api.qmd index 8dba8a88d..67101740b 100644 --- a/docs/extensions/lua-api.qmd +++ b/docs/extensions/lua-api.qmd @@ -154,7 +154,7 @@ The `dep` object passed to `quarto.doc.add_html_dependency()` has the following | `version` | Version number (as a string). Required. | | `scripts` | List of scripts to include (paths can be absolute or relative to the Lua file calling the function). Scripts can be either a simple path or a [script object](#script-object). | | `stylesheets` | List of CSS style-sheets to include (paths can be absolute or relative to the Lua file calling the function). Stylesheets can either be a simple path or a [stylesheet object](#stylesheet-object) | -| `links` | List of link tags to add to the document. Each tag should be a table with `rel` and `ref` (required) and optionally `type` | +| `links` | List of link tags to add to the document. Each tag should be a table with `rel` and `href` (required) and optionally `type` | | `resources` | Additional files to copy to the input directory (each resource is an object with `name` (target file name in input directory) and `path` (source file name relative to Lua script). | | `serviceworkers` | JavaScript serviceworker files that should be copied to the root output directory (can be a simple string file name or table with \`path\` and \`name\` for renaming the file as its copied). | | `meta` | Table of optional `key = value` meta tags to insert into the document `` | @@ -265,4 +265,4 @@ Quarto offers the following helper functions for shortcode developers, to be typ | Function | Description | |----------|-------------| | `quarto.shortcode.read_arg(args, [n])` | Returns the `n`-th argument of the shortcode invocation | -| `quarto.shortcode.error_output(name, message_or_args, context)` | Creates output to be used by shortcodes to depict an execution error, consistently with how Quarto shows such outputs | \ No newline at end of file +| `quarto.shortcode.error_output(name, message_or_args, context)` | Creates output to be used by shortcodes to depict an execution error, consistently with how Quarto shows such outputs |