-
Notifications
You must be signed in to change notification settings - Fork 207
Relative paths of example directories not relative to doc root #50
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
Comments
I think the convention we are following is the latter, the main reason for that is that we are always building the documentation from the doc folder as far as I know. Do you see something especially wrong with that ? |
sphinx itself does allow to build the documentation everywhere and I think sphinx-gallery should not break this functionality. It is very useful to separate the source from compiled files including the docs. Always building the documentation in the source tree itself is especially annoying when calling the status of your version control, as a lot of untracked files are generated. |
Fair points. To be brutally honest, I don't see anything happening in near future on this front, just because these issues are not important enough for our use cases. Of course PRs are more than welcome! FWIW, we are generally building documenation using the Makefile in doc rather than directly issuing sphinx commands. |
This is fixed in #190 |
I have asked something similar in the closed issue #40, but I still think there is something wrong with the paths. Shouldn't they be relative to the documentation source (i.e. the location of conf.py) rather than relative to the location where
sphinx-build
is called?The output of the first
sphinx-build
call is:The text was updated successfully, but these errors were encountered: