From 44ad940563ab284be1b91391f2e1cfabaefecb54 Mon Sep 17 00:00:00 2001 From: Thomas Karpiniec Date: Sat, 18 Jun 2016 12:14:24 +1000 Subject: [PATCH] Fix up the footer and hide unneeded features --- docs/conf.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 4b8eec6..ac737c7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,6 +14,7 @@ import sys import os +import subprocess # 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 @@ -48,7 +49,6 @@ master_doc = 'index' # General information about the project. project = u'The Unofficial GNU Social Manuals' -copyright = u'2016, Thomas Karpiniec' author = u'Various contributors' # The version info for the project you're documenting, acts as replacement for @@ -118,6 +118,14 @@ html_theme_options = { } +html_context = { + 'show_sphinx': False, + 'show_copyright': False, + 'show_source': False, + 'build_id': subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]), + 'build_url': 'https://git.gnu.io/tom/social-doc' +} + # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = []