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
Cannot open config file in simple WebSupport example #1055
Comments
From Giovanni Bajo on 2012-12-14 00:26:14+00:00 I've also added a https://bitbucket.org/birkenfeld/sphinx/pull-request/93. |
From Takayuki Shimizukawa on 2012-12-14 01:13:03+00:00 I think you need to specify absolute-path to Web application script (Flask in reference) that using WebSupport will be invoked from Apache, ngingx or other web server process. In this case, you should use the absolute path instead of relative-path. |
From Giovanni Bajo on 2012-12-14 08:12:18+00:00 It would be impossible to specify an absolute path in my setup, the application code gets relocated to different servers. But WebSupport could call |
From Takayuki Shimizukawa on 2012-12-17 09:23:19+00:00 How is it by this method?
|
From Georg Brandl on 2012-12-30 17:03:10+00:00 Closes #1055: add changelog entry for 7228c0534f0c. → <> |
Hello, I was trying the WebSupport in Sphinx, but I hit what it looks like a simple blocking bug. I prepared this simple build-docs.py script:
but when I run it, I get this:
It looks like the culprit is in sphinx/config.py:
Since it chdir inside the directory, config_file cannot work since it contains dirname. It has to be changed to filename.
I've attached a patch.
The text was updated successfully, but these errors were encountered: