Skip to content
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

Sphinx subprocess source-path issue #76

Open
nicph opened this issue Jul 8, 2021 · 0 comments · May be fixed by #77
Open

Sphinx subprocess source-path issue #76

nicph opened this issue Jul 8, 2021 · 0 comments · May be fixed by #77
Labels
type:bug Something isn't working

Comments

@nicph
Copy link

nicph commented Jul 8, 2021

Currently, sphinx-multiversion passes as source-path argument an absolute path to source in the temporary clone dir.

That prevents extensions like sphinxcontrib-kroki to work properly. Here is an example of the issue we can get (shortenized for readability):

/var/.../source/index.rst:: WARNING: image file not readable: ../../../Users/nicph/sphinx-multiversion-fix/build/html/master/_images/kroki-e50a2bef1e2382a2e13a968ad2866a7485b1257b.svg

This behaviour has been introduced in 537cb23, when sphinx was not run in a subprocess.

Now that sphinx is run in its own subprocess (since 427ed23), the absolute path no longer seems necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

2 participants