Holzhaus / sphinx-multiversion

Sphinx extension for building self-hosted versioned docs.
https://holzhaus.github.io/sphinx-multiversion/
BSD 2-Clause "Simplified" License
148 stars 65 forks source link

copy_tree now also copy git submodules #105

Open aserechenko opened 10 months ago

aserechenko commented 10 months ago

Fixed copy_tree() now copy (with simple shutil.copytree) all submodules inside the temporary folder, as git archive doesn't add it this way. It is probably not the right solution for cases when different versions rely on different submodule commits, but in my case, it works fine.