Update git submodules
* Update reno from branch 'master' - sphinxext: Support rootdir discovery without git Change I49b659948f35381a44e2fb5f91dd6bf9e8ef619e provided a mechanism to include the release note cache into generated sdists. Unfortunately, attempting to build documentation with these tarballs generates the following error: Exception occurred: File ".../lib/python3.7/site-packages/dulwich/repo.py", line 1004, in discover "No git repository was found at %(path)s" % dict(path=start) dulwich.errors.NotGitRepository: No git repository was found at PATH This is because we're attempting to find the root of the git repo using dulwich, which clearly isn't possible outside of a git repo. Work around this by falling back to a search. We consider three options: '.', '..', and '../..', which will handle calling Sphinx from the rootdir, a 'docs' dir, and a 'docs/source' dir, which seem to be the most common configurations. We have no test coverage of the Sphinx integration so this is tested manually. Change-Id: Ic3a8ab8b127fd5bf51b91ac6e83d459ffc087fc4 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Story: #1520096 Task: #6724
This commit is contained in:
parent
5cc4351ff3
commit
63b16889b4
2
reno
2
reno
@ -1 +1 @@
|
||||
Subproject commit 130d9ae143ad0dd931e97ad7d6a779327658a75d
|
||||
Subproject commit a19cd28f20b642cb027c97fed7d93b6e8842dbd8
|
Loading…
Reference in New Issue
Block a user