1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

doc: sort commands by plugins in auto-generated files

This commit is contained in:
Sébastien Helleu
2023-03-27 22:31:02 +02:00
parent e816381777
commit 742871fd3e
8 changed files with 6513 additions and 6513 deletions
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -565,7 +565,7 @@ class AutogenDoc():
def _write_user_commands(self, commands):
"""Write commands."""
for plugin in commands:
for plugin in sorted(commands):
self.write()
self.write(f'// tag::{plugin}_commands[]')
for i, command in enumerate(sorted(commands[plugin])):
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff