summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2017-02-20 18:12:13 +0000
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2017-02-20 18:12:13 +0000
commit9b861dfb494c4077688b9968868fc80836cdda28 (patch)
tree02e63230e3cea4b737d946c1fb58ea12a6afc2e6
parent415a394eb5a17fcb5c2ad39629ce4e5674c99b01 (diff)
downloadlogutils-git-9b861dfb494c4077688b9968868fc80836cdda28.tar.gz
Updated documentation configuration.
-rw-r--r--.hgignore3
-rw-r--r--doc/conf.py7
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
# "<project> v<release> 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'