diff --git a/doc/Makefile.am b/doc/Makefile.am index 372a74df..f14a8249 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -21,7 +21,14 @@ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -EXTRA_DIST = README.rst apiref-header.rst index.rst mkapiref.py +EXTRA_DIST = README.rst apiref-header.rst index.rst mkapiref.py python.rst \ + package_README.rst + +doc_staticdir = $(docdir)/_static +dist_doc_static_DATA = _static/default2.css + +doc_templatesdir = $(docdir)/_templates +dist_doc_templates_DATA = _templates/menu.html # Makefile for Sphinx documentation # diff --git a/doc/_static/default2.css b/doc/_static/default2.css new file mode 100644 index 00000000..6afb67e9 --- /dev/null +++ b/doc/_static/default2.css @@ -0,0 +1,5 @@ +@import url(http://fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic); + +pre, tt { + font-family: "Courier New", courier, monospace; +} diff --git a/doc/conf.py.in b/doc/conf.py.in index 4282cd04..9719eba7 100644 --- a/doc/conf.py.in +++ b/doc/conf.py.in @@ -123,7 +123,8 @@ html_theme = 'default' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -#html_theme_options = {} +html_theme_options = {'bodyfont':'roboto, sans-serif', + 'headfont':'roboto, "Trebuchet MS", sans-serif'} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] @@ -244,3 +245,6 @@ man_pages = [ ('index', 'spdylay', u'Spdylay Documentation', [u'Tatsuhiro Tsujikawa'], 1) ] + +def setup(app): + app.add_stylesheet('default2.css')