Skip to content

Commit

Permalink
other doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jul 20, 2017
1 parent 38ec4ab commit 7c7168e
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# lifelines documentation build configuration file, created by
Expand All @@ -12,9 +13,6 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os


# 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
Expand Down Expand Up @@ -48,8 +46,8 @@
master_doc = 'index'

# General information about the project.
project = u'lifelines'
copyright = u'2014, Cam Davidson-Pilon'
project = 'lifelines'
copyright = '2014, Cam Davidson-Pilon'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -201,8 +199,8 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'lifelines.tex', u'lifelines Documentation',
u'Cam Davidson-Pilon', 'manual'),
('index', 'lifelines.tex', 'lifelines Documentation',
'Cam Davidson-Pilon', 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
Expand Down Expand Up @@ -231,8 +229,8 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'lifelines', u'lifelines Documentation',
[u'Cam Davidson-Pilon'], 1)
('index', 'lifelines', 'lifelines Documentation',
['Cam Davidson-Pilon'], 1)
]

# If true, show URL addresses after external links.
Expand All @@ -245,8 +243,8 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'lifelines', u'lifelines Documentation',
u'Cam Davidson-Pilon', 'lifelines', 'Survival analysis in Python.'),
('index', 'lifelines', 'lifelines Documentation',
'Cam Davidson-Pilon', 'lifelines', 'Survival analysis in Python.'),
]

# Documents to append as an appendix to all manuals.
Expand All @@ -263,6 +261,7 @@

# use RTFD theme locally
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
import os
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd: # only import and set the theme if we're building docs locally
Expand Down

0 comments on commit 7c7168e

Please sign in to comment.