-
Notifications
You must be signed in to change notification settings - Fork 69
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
Working with git submodules #48
Comments
If this: Had an initial first try with the Or you could specify both flags at the same time and parse the output to see if there is one (no super project) or two lines (a super project):
|
I'm running into the same issue here. My docs depend on some audio files that are stored in a submodule to generate plots. A |
As you will find in #49 there are a lot of issues with trying to update this to work with git submodules. Some are limitations of git and the git commands used by sphinx-multiversion. By that I mean, the git commands chosen inside sphinx-multiversion work perfect for what it is trying to do without submodules, but those commands ignore or exclude submodules (ex. I think I had some mild success using |
I think I originally wrote this extension to get versioned builds for the Mixxx manual working (because all other extensions were broken), and it works fine for that use case, so this is not high-priority for me. If you want to contribute, feel free to do so. ;-) |
@Holzhaus Thanks for the info. My thought/idea was to use git worktree but put it in a context manager to make sure it always deleted the modified |
I also ran into another issue that is probably related to the For now I guess I will deploy only the docs generated for the latest version of my project, but in the future I plan to dive further into this issue. |
@taironemagalhaes That sounds like a bug in the extension you're using. It should generate the images in the output directory, not the source directory. Or it should use relative paths and copy the generated images to the output dir. |
Faced a similar problem: |
Here PR to enable partial support for submodules in main repo: #105 |
Duplicate of #17 |
I'm attempting to switch to sphinx-multiversion, but I've run into an issue that I don't think there is an existing solution for. If there isn't, I'm curious if this is something you'd be willing to support and how you'd like it implemented.
I have a project where the code is in one repository and the sphinx docs source files are in another. The docs repository is included in the code repository as a git submodule. So you have something like:
I'd like sphinx-multiversion to take the tags and branches it uses from the code repository (myrepos/), but because
doc/
is also a git repository itself sphinx-multiversion is only using the ones defined there. Is it possible to make sphinx-multiversion look one level up for the main repository?The text was updated successfully, but these errors were encountered: