Restore readthedocs theme
[releng.git] / docs / etc / conf.py
index 68e847e..2d9e200 100644 (file)
@@ -1,29 +1,22 @@
-import datetime
-import sys
-import os
+'''
+Base configuration file for building OPNFV docs
 
-needs_sphinx = '1.3'
+You can override this configuration by putting 'conf.py' in the document
+directory (e.g. docs/how-to-use-docs/conf.py). If there is no 'conf.py'
+in the document directory, this file will be copied to that directory
+before the document builder jobs ('opnfv-docs-verify' and 'opnfv-docs-merge').
 
-numfig = True
+See https://wiki.opnfv.org/documentation/tools .
+'''
 
-source_suffix = '.rst'
+needs_sphinx = '1.3'
 master_doc = 'index'
 pygments_style = 'sphinx'
+
 html_use_index = False
+numfig = True
 html_logo = 'opnfv-logo.png'
+html_theme = 'sphinx_rtd_theme'
 
-pdf_documents = [('index', u'Copper', u'Copper Project', u'OPNFV')]
-pdf_fit_mode = "shrink"
-pdf_stylesheets = ['sphinx','kerning','a4']
-#latex_domain_indices = False
-#latex_use_modindex = False
-
-latex_elements = {
-    'printindex': '',
-}
+latex_domain_indices = False
 latex_logo = 'opnfv-logo.png'
-
-project = u'Copper: Virtual Infrastructure Deployment Policies'
-copyright = u'%s, OPNFV' % datetime.date.today().year
-version = u'1.0.0'
-release = u'1.0.0'