# Re: \[PATCH\] Allow git builds of Sphinx

- From: Jonathan Corbet \<corbet@lwn.net\>
- Date: 2020-02-05 17:40:41 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2020/02/5852265
- Thread: https://ratatoskr.run/linux-doc/2020/01/5843565/t.md

```text
On Fri, 24 Jan 2020 19:33:16 +0100
Stephen Kitt [ref] wrote:

> When using a non-release version of Sphinx, from a local build (with
> improvements for kernel doc handling, why not),
> 
> 	sphinx-build --version
> 
> reports versions of the form
> 
> 	sphinx-build 3.0.0+/4703d9119972
> 
> i.e. base version, a plus symbol, slash, and the start of the git hash
> of whatever repository the command is run in (no, not the hash that
> was used to build Sphinx!).
> 
> This patch fixes the installation check in sphinx-pre-install to
> recognise such version output.
> 
> Signed-off-by: Stephen Kitt <redacted>
> ---

Seems useful.  Applied, thanks.

jon
```
