Repository actions require a repo-url
navigation
websites
repo-actions lists actions to render, but no repo-url or issue-url is configured, so no links can be built.
Q-13-11 — Repository actions require a repo-url
repo-actionslists actions to render, but neitherwebsite.repo-urlnorwebsite.issue-urlis set, so no link can be built and no actions render.
What this means
repo-actions names which links to show. The links themselves are
built from the repository’s web URL, so Quarto needs to know where
the repository lives:
website:
repo-url: https://github.com/owner/repo
repo-actions: [edit, source, issue]Without repo-url there is no base to build edit and source
URLs from, and no default target for issue. The render still
succeeds; the page simply has no action links.
Why this happens
Common causes:
repo-actionsadded withoutrepo-url. The two keys are usually written together, and it is easy to add the action list while intending to fill in the URL later.repo-urlin the wrong scope. It belongs underwebsite:, not at the top level of_quarto.ymlor insideformat:.repo-urlset only in a profile file. If it lives in_quarto-<profile>.yml, renders without that profile active will not see it.
How to fix
Set website.repo-url to the repository’s web URL — the address you
would visit in a browser, without a trailing .git:
website:
repo-url: https://github.com/owner/repo
repo-branch: main # optional, defaults to main
repo-actions: [edit, source, issue]If you only want a “Report an issue” link and have no source
repository to link to, set issue-url instead — it works on its
own:
website:
issue-url: https://example.com/support
repo-actions: [issue]