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
Hi, I'm getting the following error when trying to run sphinx-multiversion -c . source build/html (where source is <source-dir> according to sphinx-build docs, but conf.py is in the directory one level up):
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/home/marya/py3venv/lib/python3.6/site-packages/sphinx/config.py", line 319, in eval_config_file
execfile_(filename, namespace)
File "/home/marya/py3venv/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 63, in execfile_
with open(filepath, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp7lb2mv5u/7687b9e76fa53a6f2197c5ab84ab1325b546d19b/source/conf.py'
It looks like the tool is still looking for conf.py in source even though I'm using -c. The same statement works when using sphinx-build instead of sphinx-multiversion so I think it might be a bug with how sphinx-multiversion handles -c.
Hi @Holzhaus, sorry for the delay. I was able to get the versions built with #13.
There is another issue (not being able to get the versions/branches/tags list to render in the side bar) that I was trying to debug, but it seems to most likely be a separate issue. So you can merge/close, thanks!
In an attempt to fix#11, the patch provided in #13 actually broke
support for repositories that did not always had sphinx-multiversion
configured. This commit restores the original behaviour of always using
the config file passed to `sphinx-multiversion`, not the config file
from the git revision that is currently built.
Resolves#15.
Hi, I'm getting the following error when trying to run
sphinx-multiversion -c . source build/html
(wheresource
is<source-dir>
according to sphinx-build docs, butconf.py
is in the directory one level up):It looks like the tool is still looking for
conf.py
insource
even though I'm using-c
. The same statement works when usingsphinx-build
instead ofsphinx-multiversion
so I think it might be a bug with how sphinx-multiversion handles-c
.Directory structure:
Versions:
The text was updated successfully, but these errors were encountered: