mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
doc: replace comma by underscore in name of option used in anchors
This commit is contained in:
+2
-1
@@ -648,7 +648,8 @@ class AutogenDoc():
|
||||
'\"/\" for italic, '
|
||||
'\"_\" for underline'
|
||||
)
|
||||
self.write(f'* [[option_{config}.{section}.{option}]] '
|
||||
option_esc = option.replace(',', '_')
|
||||
self.write(f'* [[option_{config}.{section}.{option_esc}]] '
|
||||
f'*{config}.{section}.{option}*')
|
||||
self.write('** %s: pass:none[%s]',
|
||||
_('description'), desc.replace(']', '\\]'))
|
||||
|
||||
Reference in New Issue
Block a user