Skip to content

Commit 1d4d942

Browse files
committed
sort main first in docs
1 parent 6708394 commit 1d4d942

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/_exts/idom_example.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ def run(self):
5959
)
6060
)
6161
else:
62-
for path in sorted(ex_files, key=lambda p: p.name):
62+
for path in sorted(
63+
ex_files, key=lambda p: "" if p.name == "main.py" else p.name
64+
):
6365
labeled_tab_items.append(
6466
(
6567
path.name,

0 commit comments

Comments
 (0)