mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Docs: Generate commented default configuration files
Provides the same sample config files as the locally generated ones.
This commit is contained in:
parent
1b580e8323
commit
c41a0c0290
1 changed files with 1 additions and 1 deletions
|
|
@ -508,7 +508,7 @@ def write_conf_docs(app: Any, all_kitten_names: Iterable[str]) -> None:
|
|||
|
||||
conf_name = re.sub(r'^kitten-', '', name) + '.conf'
|
||||
with open(f'generated/conf/{conf_name}', 'w', encoding='utf-8') as f:
|
||||
text = '\n'.join(definition.as_conf())
|
||||
text = '\n'.join(definition.as_conf(commented=True))
|
||||
print(text, file=f)
|
||||
|
||||
from kitty.options.definition import definition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue