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

I'm checking GitHub - apple/swift: The Swift Programming Language 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

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 GitHub - apple/swift: The Swift Programming Language 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 <fantageek.com;
_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

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 GitHub - apple/swift: The Swift Programming Language 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 <fantageek.com;

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 GitHub - apple/swift: The Swift Programming Language 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
<fantageek.com;

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