<div dir="ltr"><div>Hello</div><div><br></div><div>I also got an error the first time I tried <span style="background-color:rgb(238,238,238)">$ make file</span> as follows:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="background-color:rgb(238,238,238)">mkdir -p build/html build/doctrees</span><br><span style="background-color:rgb(238,238,238)">LANG=C sphinx-build -b html -WT --keep-going -d build/doctrees   source build/html </span><br><span style="background-color:rgb(238,238,238)">/bin/sh: 1: sphinx-build: not found</span><br><span style="background-color:rgb(238,238,238)">Makefile:123: recipe for target 'html' failed</span><br><span style="background-color:rgb(238,238,238)">make: *** [html] Error 127</span></blockquote><div><br></div><div>After upgrading to sphinx2 as was suggested here, I still get errors after <span style="background-color:rgb(238,238,238)">$ make html :</span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="background-color:rgb(238,238,238)">mkdir -p build/html build/doctrees<br>LANG=C sphinx-build -b html -WT --keep-going -d build/doctrees   source build/html <br>Traceback (most recent call last):<br>  File "/home/valentina-t/.local/bin/sphinx-build", line 7, in <module><br>    from sphinx.cmd.build import main<br>  File "/home/valentina-t/.local/lib/python2.7/site-packages/sphinx/cmd/build.py", line 39<br>    file=stderr)<br>        ^<br>SyntaxError: invalid syntax<br>Makefile:123: recipe for target 'html' failed<br>make: *** [html] Error </span></div></blockquote></div></div><div dir="ltr"><br></div><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 30, 2019 at 6:47 PM Sanchi Vaishnavi <<a href="mailto:vaishnavi.sanchi@gmail.com" target="_blank">vaishnavi.sanchi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Sebastian,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you, it works perfectly now. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I wrongly assumed that I'd installed the latest version. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">As it happens, conda currently ships the version 1.7.4 of sphinx, as against the latest version 2.0.0. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I did this: pip install -U sphinx </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Best, </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div><div dir="ltr" class="gmail-m_-6141776801306889696gmail-m_-1955503084602708910gmail-m_-3880189502206760090gmail-m_-6579621673695403597m_-103623216960608649gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div style="font-size:small"><div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">Sanchi</span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 30, 2019 at 5:48 PM Sebastian Berg <<a href="mailto:sebastian@sipsolutions.net" target="_blank">sebastian@sipsolutions.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Sanchi,<br>
<br>
On Sat, 2019-03-30 at 15:58 +0530, Sanchi Vaishnavi wrote:<br>
> I was learning to get to $ make html to work. These are the final<br>
> steps that I used on my test branch in my numpy repo: <br>
> <br>
> > $  sphinx-build -b html doc/source builddir <br>
> > >> build succeeded, 165 warnings. <br>
> > $  make html <br>
> > >> make: *** No rule to make target `html’.  Stop.<br>
> <br>
>  <br>
> I checked one of the resultant HTML pages, and the changes had been<br>
> made as expected. <br>
> But to make sense of the last message, on reading on forums<br>
> (StackOverflow), I found that I got that error because I was in the<br>
> directory which did not contain the makefile. So: <br>
> <br>
> > $  cd doc<br>
> > $  make html<br>
> > >> sphinx-build: error: unrecognized arguments: --keep-going<br>
> > >> make: *** [html] Error 2<br>
> <br>
<br>
It sounds like your sphinx version is older and is missing the<br>
"--keep-going" argument. It would probably be best to upgrade your<br>
sphinx version.<br>
<br>
Best,<br>
<br>
Sebastian<br>
<br>
<br>
>  <br>
>  I can't make sense of the last two errors. I had followed the<br>
> instructions from NumPy and Sphinx-doc.<br>
> I realize that this question is not about NumPy, so I appreciate any<br>
> resource you can point me to.<br>
>  <br>
> Thank you! <br>
> <br>
> Sanchi<br>
> <a href="https://github.com/chelwin" rel="noreferrer" target="_blank">https://github.com/chelwin</a><br>
> _______________________________________________<br>
> NumPy-Discussion mailing list<br>
> <a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/numpy-discussion</a><br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote></div>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote></div>