跳转至

Macro Rendering Error

File: dev\frontend\javascript\index.md

FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\GitHub\working\mydocs\docs\dev/front/javascript'

Traceback (most recent call last):
  File "C:\Users\Leo\.conda\envs\mkdocs\Lib\site-packages\mkdocs_macros\plugin.py", line 688, in render
    return md_template.render(**page_variables)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Leo\.conda\envs\mkdocs\Lib\site-packages\jinja2\environment.py", line 1304, in render
    self.environment.handle_exception()
  File "C:\Users\Leo\.conda\envs\mkdocs\Lib\site-packages\jinja2\environment.py", line 939, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "D:\GitHub\working\mydocs\main.py", line 69, in get_toc_tree
    return generatorObj.get_toc_tree(relativePath)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\GitHub\working\mydocs\libs\generator.py", line 525, in get_toc_tree
    return self.travel_and_generate_toc(relativePath, relativePath, 0)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\GitHub\working\mydocs\libs\generator.py", line 548, in travel_and_generate_toc
    with os.scandir(currentPath) as entries:
         ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\GitHub\\working\\mydocs\\docs\\dev/front/javascript'