View your rendered Sphinx or ReStructuredText documents in a browser
Project description
sphinx-view
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sphinx-view-0.3.1.tar.gz
.
File metadata
- Download URL: sphinx-view-0.3.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.10 CPython/3.8.10 Linux/5.8.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c28d1b9829e00832c4bb195d6a1f16df795d0fdcd041012a5359934efcb4fd8 |
|
MD5 | 560f6eb93868d33a84208aae8b8ffcde |
|
BLAKE2b-256 | d80db94d5641fe37a61aa2a2395c76f4569a355c80ad670902806f086bf775a6 |
File details
Details for the file sphinx_view-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: sphinx_view-0.3.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.10 CPython/3.8.10 Linux/5.8.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 202d24afa35559266a5d1be08fde040f68f299f65f6a6ea128dc20dd263ef2cc |
|
MD5 | a5fedb4318ca6cdb71d40d373982809e |
|
BLAKE2b-256 | 13f8e88d6f734fe2aa9b899f459dc7ace258073bb0437648aa4565630a98517f |