Skip to main content

View your rendered Sphinx or ReStructuredText documents in a browser

Project description

Latest Published Version Build Status Documentation Build Status


View your rendered Sphinx or ReStrucutredText documents in a browser

If you’ve ever done much work with Sphinx (or any ReStructuredText) documents, you know how important it is to regularly check how they look when rendered into html. Often, you get your formatting wrong or introduce a syntax error. Constantly running sphinx-build by hand is really annoying.

There is a very nice tool called restview that can be used to view ReStructuredText files, but it doesn’t support all the sphinx keywords and features. Furthermore, it doesn’t render with a style

The sphinx-view application automatically renders the documents using the ‘alabaster’ theme. It renders them using Sphinx itself. It is even capable of rendering an entire directory at once and producing a full html page with navigation between sub-pages. This is very handy if, for instance, you are editing the docs folder of a python project.

In addition, sphinx-view will watch for changes to the documents, rebuild the pages, and refresh the browser any time you save the documents you are viewing.

Super-quick Start

  • requirements: python3.4 or greater

  • install through pip: $ pip install sphinx-view

  • view a document: $ sphinx-view README.rst

Full Documentation

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx-view-0.3.1.tar.gz (7.5 kB view hashes)

Uploaded source

Built Distribution

sphinx_view-0.3.1-py3-none-any.whl (8.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page