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
LaTeX docs build ends in failure with Sphinx 4.5.0 #10332
Comments
Hello @befeleme , I am not a maintainer here, simply interested in helping a bit. Are you able to review the rendered document yourself? In order to work around this, you could try to run Python with the |
I wonder if that has anything to do with jinja2. https://readthedocs.org/projects/molecule/builds/16644898/
|
@ssbarnea I don't think so. I encourage you to open a separate issue. I think I see what is happening with yours but I would rather not use this issue here for an explanation. |
So you know, @ssbarnea I've commented your PR above ansible/molecule#3510 (comment) |
I've tried to omit the failing assert which moves the build a bit further but then it fails anyway.
In the CoqRefMan.log there is a lot of undefined references warnings and some errors like this, always concerting \pysigstopsignatures:
As to rendered PDF file, it failed to produce TOC and the index doesn't contain the page numbers ( This still feels like Sphinx regression, I've build the same documentation with Sphinx 4.4.0 and none of the above problems occur. |
I'm now hitting the issue too -- and with the coq documentation too, so there are two explanations:
Both require a fix in sphinx -- and the later will also need a fix in coq. It would be nice if we could extract a minimal example from this huge documentation... |
@SnarkBoojum / @befeleme -- I would really appreciate such a MRE. Please could you try deleting half of the documentation and seeing if the error occurs, and repeating etc? I'm on Windows and from the Coq documentation it seems heavily geared towards unix -- getting hopefully a single page of failing docs would be a massive help. A |
Running sphinx with
LaTeX for that first line, the grammar production, has been generated. We are looking at the line starting with "Prints" when the assertion fails. |
Here's the issue. In the coq 8.15.2 release, look at doc/tools/coqrst/coqdomain.py, lines 49-61:
That doesn't set |
There is already a coq PR to address this: coq/coq#16193 |
Sorry this one fell through -- thanks for looking into it further, looks like this isn't our bug, so closing. Thanks! A |
Describe the bug
I've built coq against Sphinx 4.5.0 as a part of Fedora's integration. The LaTeX part of documentation failed to build.
Judging by the traceback, this is possibly a Sphinx regression, as
in_desc_signature
was only introduced lately in this commit: 6768577.Traceback:
Extended traceback:
How to Reproduce
Unfortunately I'm unable to provide the steps outside of the RPM build context, I can't seem to get the upstream dev environment correctly. Happy to test any change in the RPM build system.
Expected behavior
No response
Your project
https://github.com/coq/coq
Screenshots
No response
OS
Fedora Linux 37
Python version
3.10.4
Sphinx version
4.5.0
Sphinx extensions
listed above
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: