简体   繁体   中英

How do I install python's sphinx documentation generator in linux?

而我该如何运行呢?

Sphinx website says:

easy_install -U Sphinx

If you want that installed in system python you'd probably need elevated permissions with sudo :

sudo easy_install -U Sphinx

If you do not have easy_install yet, see http://peak.telecommunity.com/DevCenter/EasyInstall

How do I run it?

http://sphinx-doc.org/tutorial.html#running-the-build

Basically, the easiest way is to start with sphinx-quickstart command.

http://showmedo.com/videos/video?name=2910020&fromSeriesID=291

This demo shows how you can use sphinx to document your own program.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM