Pass the name of a ReStructuredText document to restview, and it will launch a web server on localhost:random-port and open a web browser. Every time you reload the page, restview will reload the document from disk and render it. This is very convenient for previewing a document while you're editing it.
You can also pass the name of a directory, and restview will recursively look for files that end in .txt or .rst and present you with a list.
$ restview [options] /path/to/filename.txt
restview can also serve a listing of all txt and rst files in a directory tree.
$ restview [options] /path/to/directory
-l LISTEN, --listen=LISTEN
listen on a given port (or interface:port, e.g.
*:8080) [default: random port on localhost]
-b, --browser open a web browser [default: only if -l was not
In a hurry? Add it to your Download Basket!
What's New in This Release:
- Distinguish document title from section titles with a larger font. Fixes https://github.com/mgedmin/restview/issues/12.
- Minor tweaks and fixes to make restview work better on Windows (e.g. all tests now pass).