Fix up the footer and hide unneeded features

This commit is contained in:
Thomas Karpiniec 2016-06-18 12:14:24 +10:00
parent 840d5f58e7
commit 44ad940563

View File

@ -14,6 +14,7 @@
import sys import sys
import os import os
import subprocess
# If extensions (or modules to document with autodoc) are in another directory, # 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 # 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. # General information about the project.
project = u'The Unofficial GNU Social Manuals' project = u'The Unofficial GNU Social Manuals'
copyright = u'2016, Thomas Karpiniec'
author = u'Various contributors' author = u'Various contributors'
# The version info for the project you're documenting, acts as replacement for # 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. # Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = [] #html_theme_path = []