[{"url":"https://api.github.com/repos/real-yfprojects/sphinx-polyversion/issues/comments/3460384066","html_url":"https://github.com/real-yfprojects/sphinx-polyversion/issues/43#issuecomment-3460384066","issue_url":"https://api.github.com/repos/real-yfprojects/sphinx-polyversion/issues/43","id":3460384066,"node_id":"IC_kwDOJs2PKM7OQUVC","user":{"login":"dbeliavskij","id":47562917,"node_id":"MDQ6VXNlcjQ3NTYyOTE3","avatar_url":"https://avatars.githubusercontent.com/u/47562917?v=4","gravatar_id":"","url":"https://api.github.com/users/dbeliavskij","html_url":"https://github.com/dbeliavskij","followers_url":"https://api.github.com/users/dbeliavskij/followers","following_url":"https://api.github.com/users/dbeliavskij/following{/other_user}","gists_url":"https://api.github.com/users/dbeliavskij/gists{/gist_id}","starred_url":"https://api.github.com/users/dbeliavskij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbeliavskij/subscriptions","organizations_url":"https://api.github.com/users/dbeliavskij/orgs","repos_url":"https://api.github.com/users/dbeliavskij/repos","events_url":"https://api.github.com/users/dbeliavskij/events{/privacy}","received_events_url":"https://api.github.com/users/dbeliavskij/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2025-10-29T08:39:29Z","updated_at":"2025-10-29T08:39:29Z","body":"This is also a problem for my use case. I am trying to use polyversion, I have part of documentation in submodule and part of it in main repository.\n\nWhat I get in log is:\n```python\n  File \"C:\\Dir\\.venv\\Lib\\site-packages\\sphinx_polyversion\\driver.py\", line 337, in build_local\n    await self.vcs.checkout_local(self.root, path)\n  File \"C:\\Dir\\.venv\\Lib\\site-packages\\sphinx_polyversion\\git.py\", line 573, in checkout_local\n    shutil.copy2(source, target, follow_symlinks=False)\n  File \"C:\\Users\\user\\.pyenv\\pyenv-win\\versions\\3.12.4\\Lib\\shutil.py\", line 475, in copy2\n    copyfile(src, dst, follow_symlinks=follow_symlinks)\n  File \"C:\\Users\\user\\.pyenv\\pyenv-win\\versions\\3.12.4\\Lib\\shutil.py\", line 260, in copyfile\n    with open(src, 'rb') as fsrc:\n         ^^^^^^^^^^^^^^^\nPermissionError: [Errno 13] Permission denied: 'C:\\\\Dir\\\\submodule'\n```\n\nI've just started to setup polyversion and will try to somehow ignore the submodule for now, but it would be beneficial to support git submodule for future use","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/real-yfprojects/sphinx-polyversion/issues/comments/3460384066/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null},{"url":"https://api.github.com/repos/real-yfprojects/sphinx-polyversion/issues/comments/3905207134","html_url":"https://github.com/real-yfprojects/sphinx-polyversion/issues/43#issuecomment-3905207134","issue_url":"https://api.github.com/repos/real-yfprojects/sphinx-polyversion/issues/43","id":3905207134,"node_id":"IC_kwDOJs2PKM7oxLte","user":{"login":"real-yfprojects","id":62463991,"node_id":"MDQ6VXNlcjYyNDYzOTkx","avatar_url":"https://avatars.githubusercontent.com/u/62463991?v=4","gravatar_id":"","url":"https://api.github.com/users/real-yfprojects","html_url":"https://github.com/real-yfprojects","followers_url":"https://api.github.com/users/real-yfprojects/followers","following_url":"https://api.github.com/users/real-yfprojects/following{/other_user}","gists_url":"https://api.github.com/users/real-yfprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/real-yfprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/real-yfprojects/subscriptions","organizations_url":"https://api.github.com/users/real-yfprojects/orgs","repos_url":"https://api.github.com/users/real-yfprojects/repos","events_url":"https://api.github.com/users/real-yfprojects/events{/privacy}","received_events_url":"https://api.github.com/users/real-yfprojects/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2026-02-15T21:21:37Z","updated_at":"2026-02-15T21:25:31Z","body":"Hey @biergaizi, @dbeliavskij, sorry for keeping you waiting. Can you test #46 on your project and potentially leave some feedback.\n\nThe new branch should support submodules for both building with and without `--local`. When cloning a fresh repo without initializing the submodules, they should be initialized automatically by the tool.\n\nThank you for your help.","author_association":"OWNER","pin":null,"reactions":{"url":"https://api.github.com/repos/real-yfprojects/sphinx-polyversion/issues/comments/3905207134/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null},{"url":"https://api.github.com/repos/real-yfprojects/sphinx-polyversion/issues/comments/3983682565","html_url":"https://github.com/real-yfprojects/sphinx-polyversion/issues/43#issuecomment-3983682565","issue_url":"https://api.github.com/repos/real-yfprojects/sphinx-polyversion/issues/43","id":3983682565,"node_id":"IC_kwDOJs2PKM7tciwF","user":{"login":"biergaizi","id":1310693,"node_id":"MDQ6VXNlcjEzMTA2OTM=","avatar_url":"https://avatars.githubusercontent.com/u/1310693?v=4","gravatar_id":"","url":"https://api.github.com/users/biergaizi","html_url":"https://github.com/biergaizi","followers_url":"https://api.github.com/users/biergaizi/followers","following_url":"https://api.github.com/users/biergaizi/following{/other_user}","gists_url":"https://api.github.com/users/biergaizi/gists{/gist_id}","starred_url":"https://api.github.com/users/biergaizi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biergaizi/subscriptions","organizations_url":"https://api.github.com/users/biergaizi/orgs","repos_url":"https://api.github.com/users/biergaizi/repos","events_url":"https://api.github.com/users/biergaizi/events{/privacy}","received_events_url":"https://api.github.com/users/biergaizi/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2026-03-02T11:04:03Z","updated_at":"2026-03-02T11:04:03Z","body":"Sorry, due to the lack of submodule support, I couldn't use sphinx-polyversion, and all of my projects are already using other documentation solutions instead. As long as the original problem has been fixed, my personal recommendation is to merge submodule support into the upstream, document it as experimental, and support it on a best-effort basis. Any new problems can be fixed later when someone reports it. Although it no longer has any use for me personally, it may help others in the future.","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/real-yfprojects/sphinx-polyversion/issues/comments/3983682565/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}]