We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1caa4d4 commit 6c075d8Copy full SHA for 6c075d8
templates/package/content/cran.tmpl
@@ -5,7 +5,7 @@
5
<div class="field">
6
<label>{{svg "octicon-code"}} {{.locale.Tr "packages.cran.registry" | Safe}}</label>
7
<div class="markup"><pre class="code-block"><code>local({
8
- r <- list("gitea" = "{{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/cran")
+ r <- list("gitea" = "<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/cran"></gitea-origin-url>")
9
options(repos = r)
10
})</code></pre></div>
11
</div>
0 commit comments