sphinxcontrib-rawfiles

0.1.1 BSD License    
  UNRATED

  239 downloads

Sphinx "rawfiles" extension

description

download

specs

sphinxcontrib-rawfiles is a Sphinx extension to copy raw files, like a CNAME.

Setting

You can get archive file at http://bitbucket.org/birkenfeld/sphinx-contrib/
Install

easy_install sphinxcontrib-rawfiles

Configure Sphinx

To enable this extension, add sphinxcontrib.rawfiles module to extensions option at conf.py and add .

import os, sys

# Path to the folder where rawfiles.py is
# NOTE: not needed if the package is installed in traditional way
# using setup.py or easy_install
sys.path.append(os.path.abspath('/path/to/sphinxcontrib.rawfiles'))

# Enabled extensions
extensions = ['sphinxcontrib.rawfiles']

# Files you want to copy
rawfiles = ['CNAME']


Repository

This code is hosted by Bitbucket.

 http://bitbucket.org/birkenfeld/sphinx-contrib/
read more   
Last updated on July 17th, 2012

0 User reviews so far.

SUBMIT

#Sphinx extension #Sphinx raw #Sphinx #extension #rawfiles #raw