Forked compas repo docs error [Errno 22]

Hi!

I’m interested in making some PRs for compas docs.
while running invoke docs I came across an error I’m unable to debug.
[Errno 22] Invalid argument: ‘docs/**.rst’

Below is the error message form my terminal

Note: my forked repo is in sync with the compas repo and its up-to-date

(compas-dev) C:\Users\ccalvoba\Github_repos\compas>invoke docs
running clean
[autosummary] generating autosummary for: docs/**.rst
Traceback (most recent call last):
  File "c:\users\ccalvoba\anaconda3\envs\compas-dev\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\ccalvoba\anaconda3\envs\compas-dev\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\ccalvoba\Anaconda3\envs\compas-dev\Scripts\sphinx-autogen.exe\__main__.py", line 7, in <module>
  File "c:\users\ccalvoba\anaconda3\envs\compas-dev\lib\site-packages\sphinx\ext\autosummary\generate.py", line 476, in main
    app=app)
  File "c:\users\ccalvoba\anaconda3\envs\compas-dev\lib\site-packages\sphinx\ext\autosummary\generate.py", line 256, in generate_autosummary_docs
    items = find_autosummary_in_files(sources)
  File "c:\users\ccalvoba\anaconda3\envs\compas-dev\lib\site-packages\sphinx\ext\autosummary\generate.py", line 309, in find_autosummary_in_files
    with open(filename, encoding='utf-8', errors='ignore') as f:
OSError: [Errno 22] Invalid argument: 'docs/**.rst'

Thank you!

Thanks! this issue has been fixed in the latest commit d432c85d462c2d86f4ec5c7c5ac269b7f3b9d1fe

1 Like

Glad to hear that is solved!