sphinx-frontend

https://github.com/kostafey/sphinx-frontend.git

git clone 'git://github.com/kostafey/sphinx-frontend.git'
2

sphinx-frontend

sphinx-frontend provides a simple way to find closest Sphinx configuration file (conf.py) and run the Sphinx.

Installation

Add MELPA (if not yet) to your package-archives list:

(require 'package)
(add-to-list 'package-archives
             '("melpa" . "http://melpa.milkbox.net/packages/"))
(package-initialize)

Then you can install sphinx-frontend with the following command:

M-x package-install [RET] sphinx-frontend [RET]

Load sphinx-frontend:

(require 'sphinx-frontend)

Usage

List of interactive commands (added or replaced in rst-mode-map):

Key | Command | Description
——————|———————–|—————————————————— C-c h | sphinx-build-html | Compile rst files to html via sphinx
C-c l | sphinx-build-latex | Compile rst files to latex
C-c p | sphinx-run-pdflatex | Ad-hoc call pdflatex for LaTeX-builded documentation | sphinx-clean-html | Remove sphinx-output-dir-html dir | sphinx-clean-pdf | Remove sphinx-output-dir-pdf dir

License

Copyright © 2012-2013 kostafey mailto:kostafey@gmail.com

Distributed under the General Public License 2.0+