You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building the documentation raises a FileNotFound error.
Steps/Code to Reproduce
Checkout 563257a (or any recent commit, but this was where I branched from when I encountered the error)
cd doc
make
Expected Results
The documentation builds successfully.
Actual Results
Traceback (most recent call last):
File "/home/joshua/repos/scikit-learn/venv/lib/python3.8/site-packages/sphinx/events.py", line 110, in emit
results.append(listener.handler(self.app, *args))
File "/home/joshua/repos/scikit-learn/doc/sphinxext/custom_autosummary_new_suffix.py", line 60, in process_generate_options_custom_files
process_generate_options(app)
File "/home/joshua/repos/scikit-learn/venv/lib/python3.8/site-packages/sphinx/ext/autosummary/__init__.py", line 756, in process_generate_options
generate_autosummary_docs(genfiles, suffix=suffix, base_path=app.srcdir,
File "/home/joshua/repos/scikit-learn/venv/lib/python3.8/site-packages/sphinx/ext/autosummary/generate.py", line 388, in generate_autosummary_docs
items = find_autosummary_in_files(sources)
File "/home/joshua/repos/scikit-learn/venv/lib/python3.8/site-packages/sphinx/ext/autosummary/generate.py", line 450, in find_autosummary_in_files
with open(filename, encoding='utf-8', errors='ignore') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/joshua/repos/scikit-learn/doc/modules/generated/sklearn.covariance.oas-lowercase.rst'
Apologies, I had previously built the documentation and not removed the previous build files. Running make clean then rebuilding results in no error. Please disregard this issue.
Describe the bug
Building the documentation raises a FileNotFound error.
Steps/Code to Reproduce
cd doc
make
Expected Results
The documentation builds successfully.
Actual Results
Versions
Suspected cause
I believe this has to do with the recent changes made by #13022. But, I'm running into a different error than what @jnothman has pointed out.
The text was updated successfully, but these errors were encountered: