make: sphinx-build: No such file or directory when generating Documents


(Khoa Pham) #1

I'm checking https://github.com/apple/swift as of this commit
403b46ccea0bed0150de2bbc3e6407174f31fc0c

I'm trying to use sphinx to generate documents

- brew install sphinx (sphinx/2.2.9_1)
- cd docs
- make

And I get

sphinx-build -b html -W -d _build/doctrees . _build/html
make: sphinx-build: No such file or directory
make: *** [html] Error 1

How to deal with this ?

···

--
Khoa Pham
HCMC University of Science
www.fantageek.com


(hxx) #2

You can use easy_install -U Sphinx instead of brew install sphinx as the README.md said

···

在 2015年12月6日,23:31,Khoa Pham via swift-users <swift-users@swift.org <mailto:swift-users@swift.org>> 写道:

I'm checking https://github.com/apple/swift as of this commit 403b46ccea0bed0150de2bbc3e6407174f31fc0c

I'm trying to use sphinx to generate documents

- brew install sphinx (sphinx/2.2.9_1)
- cd docs
- make

And I get

sphinx-build -b html -W -d _build/doctrees . _build/html
make: sphinx-build: No such file or directory
make: *** [html] Error 1

How to deal with this ?

--
Khoa Pham
HCMC University of Science
www.fantageek.com <http://www.fantageek.com/>
_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users


(Jordan Rose) #3

Just to sanity-check, is sphinx-build in your $PATH?

Jordan

···

On Dec 6, 2015, at 7:31, Khoa Pham via swift-users <swift-users@swift.org> wrote:

I'm checking https://github.com/apple/swift as of this commit 403b46ccea0bed0150de2bbc3e6407174f31fc0c

I'm trying to use sphinx to generate documents

- brew install sphinx (sphinx/2.2.9_1)
- cd docs
- make

And I get

sphinx-build -b html -W -d _build/doctrees . _build/html
make: sphinx-build: No such file or directory
make: *** [html] Error 1

How to deal with this ?

--
Khoa Pham
HCMC University of Science
www.fantageek.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fantageek.com&d=BQMFaQ&c=Hw-EJUFt2_D9PK5csBJ29kRV40HqSDXWTLPyZ6W8u84&r=Uz4cXYAyNwGJCFMRb5fz4zuCYPDZlR8G9kZc2ksfdI8&m=Dnh_MiZRoJWmTyNaD3lAkgpiM0sELOxsVrCd6EBgZI0&s=zyfY5ZXQEXwFm3KyNUN15kkyZcatq6TKDClwI2qjJHo&e=>


(Kevin Kim) #4

sphinx is the wrong homebrew formula. I think you want "sphinx-doc"

That said, I just used "pip install Sphinx"

-kevin

···

On Mon, Dec 7, 2015 at 14:41 Jordan Rose via swift-users < swift-users@swift.org> wrote:

Just to sanity-check, is sphinx-build in your $PATH?

Jordan

On Dec 6, 2015, at 7:31, Khoa Pham via swift-users <swift-users@swift.org> > wrote:

I'm checking https://github.com/apple/swift as of this commit
403b46ccea0bed0150de2bbc3e6407174f31fc0c

I'm trying to use sphinx to generate documents

- brew install sphinx (sphinx/2.2.9_1)
- cd docs
- make

And I get

sphinx-build -b html -W -d _build/doctrees . _build/html
make: sphinx-build: No such file or directory
make: *** [html] Error 1

How to deal with this ?

--
Khoa Pham
HCMC University of Science
www.fantageek.com
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fantageek.com&d=BQMFaQ&c=Hw-EJUFt2_D9PK5csBJ29kRV40HqSDXWTLPyZ6W8u84&r=Uz4cXYAyNwGJCFMRb5fz4zuCYPDZlR8G9kZc2ksfdI8&m=Dnh_MiZRoJWmTyNaD3lAkgpiM0sELOxsVrCd6EBgZI0&s=zyfY5ZXQEXwFm3KyNUN15kkyZcatq6TKDClwI2qjJHo&e=>

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users