Sphinx-Preview allows you to write and preview Sphinx Documentation using Atom.
Install the Sphinx-Preview Atom package with the following command:
apm install sphinx-preview
Or via the Settings View : Install
in Atom.
You also need to install the following dependencies.
This package needs Docker
and the browser-plus
Atom package. It will use
Sphinx-Server to build the documentation.
Install Docker by reading the official documentation : https://docs.docker.com/engine/installation/
Install the browser-plus
package by running the following command:
apm install browser-plus
- Open Atom at the root of your documentation.
- Press
ctrl-alt-o
on arst
file to open the preview
Sphinx-Preview pulls and runs the
Sphinx-Server. It mounts the
opened project folder. Finally, the package launches a browser-plus
panel on the active rst
file.