From 32002bd7e67ecd8baa04d40d0310de5c47d901d4 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Sat, 4 Jul 2015 20:26:13 +0300 Subject: [PATCH] tweaked conf.py --- Makefile | 2 +- docs/conf.py | 20 ++++++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d4f2ee3..0b169ba 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ apidoc: # copy readme to correct place in docs root copyreadme: - cp README.md docs/README.md + cp README.md docs/index.md # convert notebooks to md files convert_notebooks: diff --git a/docs/conf.py b/docs/conf.py index 30e93bb..3363339 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,14 +14,18 @@ import sys import os -import shlex - import juliadoc +#import shlex +import sphinx_rtd_theme + extensions = ['juliadoc.julia', 'juliadoc.jlhelp'] -html_theme_path = [juliadoc.get_theme_dir()] +html_theme_path = [juliadoc.get_theme_dir(), sphinx_rtd_theme.get_html_theme_path()] html_sidebars = juliadoc.default_sidebars() +primary_domain = 'jl' +highlight_language = 'julia' + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. @@ -49,7 +53,7 @@ source_suffix = ['.rst', '.md'] #source_encoding = 'utf-8-sig' # The master toctree document. -master_doc = 'README' +master_doc = 'index' # General information about the project. project = u'JuliaFEM' @@ -115,6 +119,14 @@ todo_include_todos = False # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = 'alabaster' +html_theme = 'julia' + + +# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. +html_show_sphinx = False + +# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. +html_show_copyright = False # 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