mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-02-13 21:00:00 +00:00
Fix doc links in agent settings (#5251)
Signed-off-by: Martin Matous <m@matous.dev>
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<InputField
|
||||
v-slot="{ id }"
|
||||
:label="$t('admin.settings.agents.capacity.capacity')"
|
||||
docs-url="docs/next/administration/agent-config#woodpecker_max_workflows"
|
||||
docs-url="docs/administration/configuration/agent#max_workflows"
|
||||
>
|
||||
<span class="text-wp-text-alt-100">{{ $t('admin.settings.agents.capacity.desc') }}</span>
|
||||
<TextField :id="id" :model-value="agent.capacity?.toString()" disabled />
|
||||
@@ -103,7 +103,7 @@ const agent = computed({
|
||||
set: (value) => emit('update:modelValue', value),
|
||||
});
|
||||
|
||||
const baseDocsUrl = 'https://woodpecker-ci.org/docs/next/administration/backends/';
|
||||
const baseDocsUrl = 'https://woodpecker-ci.org/docs/administration/configuration/backends/';
|
||||
|
||||
const backendDocsUrl = computed(() => {
|
||||
let backendUrlSuffix = agent.value.backend?.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user