From 9b861dfb494c4077688b9968868fc80836cdda28 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Mon, 20 Feb 2017 18:12:13 +0000 Subject: Updated documentation configuration. --- .hgignore | 3 ++- doc/conf.py | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.hgignore b/.hgignore index 20d0b42..2824396 100644 --- a/.hgignore +++ b/.hgignore @@ -1,4 +1,5 @@ \.py[co] -(build|dist)/ +(build|dist|doc/themes)/ .coverage$ +MANIFEST diff --git a/doc/conf.py b/doc/conf.py index ebb2928..2f89fe5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -94,7 +94,7 @@ pygments_style = 'sphinx' # The style sheet to use for HTML and HTML Help pages. A file of that name # must exist either in Sphinx' static/ path, or in one of the custom paths # given in html_static_path. -html_style = 'default.css' +# html_style = 'default.css' # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". @@ -115,7 +115,7 @@ html_style = 'default.css' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. @@ -152,6 +152,9 @@ html_static_path = ['_static'] # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = '' +html_theme = os.environ.get('DOCS_THEME', 'alabaster') +html_theme_path = ['themes'] + # Output file base name for HTML help builder. htmlhelp_basename = 'Logutilsdoc' -- cgit v1.2.1