Open hndgzkn opened 2 years ago
Note: This was also reported to sphinx-gallery project as https://github.com/sphinx-gallery/sphinx-gallery/issues/967.
Could you share a minimal reproducible example, please? On my local, alphacsc repo requires 20+ minutes (still in progress...)
I used this Dockerfile to reproduce the error:
FROM python:3.10-slim
RUN apt update; apt install -y build-essential curl git make unzip vim
RUN git clone https://github.com/alphacsc/alphacsc
WORKDIR /alphacsc
RUN pip install -e .[doc]
WORKDIR /alphacsc/doc
#RUN make html
RUN sphinx-build . _build/html
Note: I used sphinx-build
command instead of make html
because I got failure with given procedure.
------
> [7/7] RUN make html:
#11 0.211 mpiexec -np 1 --host localhost:50 sphinx-build -b html -d _build/doctrees . _build/html
#11 0.211 make: mpiexec: No such file or directory
#11 0.211 make: *** [Makefile:56: html] Error 127
------
Sorry for late response.
You can delete all the directories under examples
directory except csc
directory. Then it will be quick to reproduce.
Was there a solution to this for anyone (outside of downgrading sphinx)?
Describe the bug
After sphinx version 5,
reference_url
insphinx_gallery_conf
section gives the following error upon doc build:As far as I could address, for
reference_url
http://example.com/stable/"
inconf.py
,/"
at the end is treated as escape and removed.How to Reproduce
Expected behavior
No response
Your project
https://github.com/alphacsc/alphacsc
Screenshots
No response
OS
Linux
Python version
3.9.12
Sphinx version
v5.0.0
Sphinx extensions
No response
Extra tools
No response
Additional context
No response