fix: sort files
This commit is contained in:
1 parent
674de032f8
commit
bdf12179fa
1 file changed
+1
@@ -48,6 +48,7 @@ def get_nav_from_selector(soup, selector, docs_dir):
|
|||||||
child_dir = "getting-started/install/"
|
child_dir = "getting-started/install/"
|
||||||
children = os.listdir(docs_dir + "/" + child_dir)
|
children = os.listdir(docs_dir + "/" + child_dir)
|
||||||
children = [child_dir + c for c in children]
|
children = [child_dir + c for c in children]
|
||||||
|
children.sort()
|
||||||
children.insert(
|
children.insert(
|
||||||
0, "getting-started/advanced-installation.md")
|
0, "getting-started/advanced-installation.md")
|
||||||
if os.path.exists(docs_dir + "/" + filename):
|
if os.path.exists(docs_dir + "/" + filename):
|
||||||
|
|||||||
Reference in new issue
Block a user