-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make html && make latexpdf fails with: *** No rule to make target 'all-pdf'. Stop. #10903
Comments
You can see same phenomenon emitting three successive commands in your shell:
I did not investigate why but if last step is replaced by I am not familiar enough with |
It appears |
All right, so it's likely related to the fact the some builders don't inform about outdated docs and they rather return a string which means effectively a rebuild: sphinx/sphinx/builders/manpage.py Lines 40 to 41 in c51a88d
sphinx/sphinx/builders/latex/__init__.py Lines 127 to 128 in c51a88d
That said, one can't effectively distinguish when a rebuild is needed or not. Thus I'm going to revert my commit. On the other hand, HTML has a more fine-grained control over the outdated docs: sphinx/sphinx/builders/html/__init__.py Lines 402 to 415 in c51a88d
|
This reverts commit b1390c4. The change is reverted because some Builders don't have a more fine-grained support for outdated docs: sphinx-doc#10903 (comment)
This reverts commit b1390c4. The change is reverted because some Builders don't have a more fine-grained support for outdated docs: sphinx-doc#10903 (comment) Fixes: sphinx-doc#10903.
I wonder if the right fix here is ensuring a consistent contract in A |
This reverts commit b1390c4. The change is reverted because some builders don't have fine-grained support for outdated docs: #10903 (comment)
I hope so, though I'm not familiar enough with the code. |
It'd sure be nice if the manpages didn't have to rebuild each time. |
Describe the bug
It's caused by my b1390c4 where now the following happens:
Where
_build/latex/
is an empty directory. Is there anything I forgot to change in the aforementioned commit or should I revert it?@AA-Turner
How to Reproduce
See steps above.
Expected behavior
No response
Your project
Sphinx
Screenshots
No response
OS
Linux
Python version
3.10
Sphinx version
master
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: