robotframework-libtoc 1.4.2__tar.gz → 1.4.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: robotframework-libtoc
3
- Version: 1.4.2
3
+ Version: 1.4.3
4
4
  Summary: Docs and TOC generator for Robot Framework resources and libs
5
5
  Home-page: https://github.com/amochin/robotframework-libtoc
6
6
  License: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "robotframework-libtoc"
3
- version = "1.4.2"
3
+ version = "1.4.3"
4
4
  description = "Docs and TOC generator for Robot Framework resources and libs"
5
5
  authors = ["Andre Mochinin"]
6
6
  license = "Apache-2.0"
@@ -113,7 +113,7 @@ def add_files_from_folder(folder, base_dir_path, root=True):
113
113
  result_str += """<div class="collapsible_content">
114
114
  """
115
115
 
116
- for item in os.listdir(folder):
116
+ for item in sorted(os.listdir(folder)):
117
117
  item_path = os.path.abspath(os.path.join(folder, item))
118
118
  if item.endswith(".html"):
119
119
  name_without_ext = os.path.splitext(item)[0]