<div dir="ltr"><div>Hi Miguel,<br><br></div>It is commented out.  With sphinx 1.1.3 it works fine, but with graphviz installed, this code (from astropy/astropy/sphinx/conf.py) indicates that a newer sphinx is needed (which I have installed).<br>
<span style="font-family:courier new,monospace"><br>def get_graphviz_version():<br>    try:<br>        output = subprocess.check_output(<br>            ['dot', '-V'], stdin=subprocess.PIPE,<br>            stderr=subprocess.STDOUT,<br>
            shell=True)<br>    except subprocess.CalledProcessError:<br>        return '0'<br>    tokens = output.split()<br>    for token in tokens:<br>        if re.match(b'[0-9.]*', token):<br>            return token.decode('ascii')<br>
    return '0'<br><br>graphviz_found = LooseVersion(get_graphviz_version())<br>graphviz_broken = LooseVersion('0.30')<br><br>if graphviz_found >= graphviz_broken:<br>    needs_sphinx = '1.2b2'<br>
else:</span><br><span style="font-family:courier new,monospace">    needs_sphinx = '1.1'</span><br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 6:04 PM, Miguel de Val-Borro <span dir="ltr"><<a href="mailto:miguel.deval@gmail.com" target="_blank">miguel.deval@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Russell,<br>
<br>
Can you check the setting of the "needs_sphinx" variable in the<br>
astropy/docs/conf.py configuration file? If the file has not been<br>
modified locally this line should be commented out. I have just tried to<br>
build the HTML documentation from the current master branch and it<br>
worked fine with Sphinx 1.1.3 on a Linux system.<br>
<br>
Miguel<br>
<div><div class="h5"><br>
On Wed, Nov 20, 2013 at 04:11:19PM -0500, Russell Hewett wrote:<br>
> Hi All,<br>
><br>
> I can't seem to get the docs to build, ever since I installed graphviz.  It<br>
> worked beforehand, with the older version of sphinx that comes with<br>
> anaconda.  Any ideas?<br>
><br>
> C:\Users\rhewett\research\software-projects\astropy\docs>make html<br>
> Running Sphinx v1.2b2<br>
><br>
> Sphinx version error:<br>
> This project needs at least Sphinx v1.2b2 and therefore cannot be built<br>
> with this version.<br>
><br>
> (Also doesn't work with 1.2b3)<br>
><br>
> C:\Users\rhewett\research\software-projects\astropy\docs>ipython<br>
> Python 2.7.5 |Anaconda 1.7.0 (64-bit)| (default, Jul  1 2013, 12:37:52)<br>
> [MSC v.1500 64 bit (AMD64)]<br>
> Type "copyright", "credits" or "license" for more information.<br>
><br>
> IPython 1.1.0 -- An enhanced Interactive Python.<br>
> ?         -> Introduction and overview of IPython's features.<br>
> %quickref -> Quick reference.<br>
> help      -> Python's own help system.<br>
> object?   -> Details about 'object', use 'object??' for extra details.<br>
><br>
> In [1]: import sphinx<br>
><br>
> In [2]: sphinx.__version__<br>
> Out[2]: '1.2b2'<br>
><br>
><br>
> -Russ<br>
><br>
> --<br>
> Russell J. Hewett<br>
> Postdoctoral Associate<br>
> Imaging and Computing Group<br>
> Department of Mathematics<br>
> Massachusetts Institute of Technology<br>
> <a href="http://www.russellhewett.com" target="_blank">www.russellhewett.com</a><br>
<br>
</div></div>> _______________________________________________<br>
> AstroPy mailing list<br>
> <a href="mailto:AstroPy@scipy.org">AstroPy@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/astropy" target="_blank">http://mail.scipy.org/mailman/listinfo/astropy</a><br>
<br>
_______________________________________________<br>
AstroPy mailing list<br>
<a href="mailto:AstroPy@scipy.org">AstroPy@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/astropy" target="_blank">http://mail.scipy.org/mailman/listinfo/astropy</a><br>
</blockquote></div><br></div>