Skip to content

Commit 5840318

Browse files
committed
chore: Fix broken relative links
1 parent 39bd915 commit 5840318

File tree

8 files changed

+15
-12
lines changed

8 files changed

+15
-12
lines changed

assets/chezmoi.io/docs/hooks.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ def on_pre_build(config: MkDocsConfig, **kwargs) -> None:
3232
output_path = docs_dir.joinpath(src_path)
3333
template_path = output_path.parent / (output_path.name + '.tmpl')
3434
data_path = output_path.parent / (output_path.name + '.yaml')
35-
args = ['go', 'run', Path(config_dir, '../../internal/cmds/execute-template')]
35+
args = [
36+
'go',
37+
'run',
38+
Path(config_dir, '../../internal/cmds/execute-template/main.go'),
39+
]
3640
if Path(data_path).exists():
3741
args.extend(['-data', data_path])
3842
args.extend(['-output', output_path, template_path])

assets/chezmoi.io/docs/reference/configuration-file/variables.md.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ sections:
294294
description: KeePassXC database
295295
mode:
296296
default: '`cache-password`'
297-
description: See [KeePassXC functions](../../templates/keepassxc-functions/)
297+
description: See [KeePassXC functions](../templates/keepassxc-functions/index.md)
298298
prompt:
299299
type: bool
300300
default: '`true`'

assets/chezmoi.io/docs/reference/templates/1password-functions/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ CLI](https://developer.1password.com/docs/cli) (`op`).
4646
!!! warning
4747

4848
Chezmoi has experimental support for [1Password secrets
49-
automation](../../user-guide/password-managers/1password.md#secrets-automation)
49+
automation](../../../user-guide/password-managers/1password.md#secrets-automation)
5050
modes. These modes change how the 1Password CLI works and affect all
5151
functions. Most notably, `account` parameters are not allowed on all
5252
1Password template functions.

assets/chezmoi.io/docs/reference/templates/1password-functions/onepassword.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ config variable.
4141
!!! warning
4242

4343
When using [1Password secrets
44-
automation](../../user-guide/password-managers/1password.md#secrets-automation),
44+
automation](../../../user-guide/password-managers/1password.md#secrets-automation),
4545
the *account* parameter is not allowed.

assets/chezmoi.io/docs/reference/templates/1password-functions/onepasswordDetailsFields.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interactively prompted to sign in.
1313
The output from `op` is cached so calling `onepasswordDetailsFields` multiple
1414
times with the same *uuid* will only invoke `op` once. If the optional
1515
*vault* is supplied, it will be passed along to the `op get` call, which
16-
can significantly improve performance. If the optional _account_ is
16+
can significantly improve performance. If the optional *account* is
1717
supplied, it will be passed along to the `op get` call, which will help it look
1818
in the right account, in case you have multiple accounts (e.g. personal and work
1919
accounts).
@@ -72,9 +72,8 @@ accounts).
7272
}
7373
```
7474

75-
7675
!!! warning
7776

7877
When using [1Password secrets
79-
automation](../../user-guide/password-managers/1password.md#secrets-automation),
78+
automation](../../../user-guide/password-managers/1password.md#secrets-automation),
8079
the *account* parameter is not allowed.

assets/chezmoi.io/docs/reference/templates/1password-functions/onepasswordDocument.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ get document $UUID` and the output from `op` is returned. The output from `op`
77
is cached so calling `onepasswordDocument` multiple times with the same *uuid*
88
will only invoke `op` once. If the optional *vault* is supplied, it will be
99
passed along to the `op get` call, which can significantly improve performance.
10-
If the optional _account_ is supplied, it will be passed along to the `op
10+
If the optional *account* is supplied, it will be passed along to the `op
1111
get` call, which will help it look in the right account, in case you have
1212
multiple accounts (e.g., personal and work accounts).
1313

@@ -25,10 +25,10 @@ interactively prompted to sign in.
2525

2626
!!! warning
2727

28-
When using [1Password Connect](../../user-guide/password-managers/1password.md#1password-connect), `onepasswordDocument` is not available.
28+
When using [1Password Connect](../../../user-guide/password-managers/1password.md#1password-connect), `onepasswordDocument` is not available.
2929

3030
!!! warning
3131

3232
When using [1Password Service
33-
Accounts](../../user-guide/password-managers/1password.md#1password-service-accounts),
33+
Accounts](../../../user-guide/password-managers/1password.md#1password-service-accounts),
3434
the *account* parameter is not allowed.

assets/chezmoi.io/docs/reference/templates/1password-functions/onepasswordItemFields.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@ interactively prompted to sign in.
7575
!!! warning
7676

7777
When using [1Password secrets
78-
automation](../../user-guide/password-managers/1password.md#secrets-automation),
78+
automation](../../../user-guide/password-managers/1password.md#secrets-automation),
7979
the *account* parameter is not allowed.

assets/chezmoi.io/docs/reference/templates/1password-functions/onepasswordRead.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ interactively prompted to sign in.
2525
!!! warning
2626

2727
When using [1Password secrets
28-
automation](../../user-guide/password-managers/1password.md#secrets-automation),
28+
automation](../../../user-guide/password-managers/1password.md#secrets-automation),
2929
the *account* parameter is not allowed.

0 commit comments

Comments
 (0)