Copy raw files, like a CNAME.
You can get archive file at http://bitbucket.org/birkenfeld/sphinx-contrib/
> easy_install sphinxcontrib-rawfiles
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']
This code is hosted by Bitbucket.