forked from Yelp/mrjob
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.py
More file actions
126 lines (95 loc) · 3.61 KB
/
Copy pathconf.py
File metadata and controls
126 lines (95 loc) · 3.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# -*- coding: utf-8 -*-
import os
import sys
from better import better_theme_path
import mrjob
# Help sphinx find options_extension
sys.path += [os.path.abspath(os.path.split(__file__)[0])]
READ_THE_DOCS = os.environ.get('READTHEDOCS', None) == 'True'
# 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))
# -- General configuration ----------------------------------------------------
needs_sphinx = '1.0'
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'options_extension',
'sphinx.ext.intersphinx', 'sphinx.ext.ifconfig']
intersphinx_mapping = {'http://docs.python.org/2/': None}
templates_path = ['_templates']
exclude_patterns = ['_build']
source_suffix = '.rst'
#source_encoding = 'utf-8-sig'
master_doc = 'index'
pygments_style = 'sphinx'
# project info
project = u'mrjob'
copyright = u'2009-2013 Yelp and Contributors'
# The short X.Y version. Can refer to in docs with |version|.
version = mrjob.__version__.split('-')[0]
# The full version, including alpha/beta/rc tags.
# Can refer to in docs with |release|.
release = mrjob.__version__
#language = None
# -- HTML output --------------------------------------------------------------
html_theme_path = [better_theme_path]
html_static_path = ['_static']
html_theme = 'better'
html_theme_options = {
'cssfiles': ['_static/style.css'],
}
html_context = {}
html_sidebars = {
'**': ['localtoc.html', 'sidebarhelp.html', 'sourcelink.html',
'searchbox.html'],
'index': ['indexsidebar.html', 'sidebarhelp.html', 'sourcelink.html',
'searchbox.html'],
}
html_title = "%(project)s v%(release)s documentation" % {
'project': project, 'release': release}
html_short_title = "Home"
# we will set this again when sphinx-better-theme supports a logo in a good
# place
#html_logo = None
#html_favicon = None
if not READ_THE_DOCS:
html_theme_options['ga_ua'] = 'UA-42793220-2'
html_theme_options['ga_domain'] = 'pythonhosted.org'
# Necessary for best search results
html_show_sourcelink = True
# Output file base name for HTML help builder.
htmlhelp_basename = 'mrjobdoc'
# -- Options for LaTeX output -------------------------------------------------
# The paper size ('letter' or 'a4').
#latex_paper_size = 'letter'
# The font size ('10pt', '11pt' or '12pt').
#latex_font_size = '10pt'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
latex_documents = [
('index', 'mrjob.tex', u'mrjob Documentation',
u'Steve Johnson', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None
# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False
# If true, show page references after internal links.
#latex_show_pagerefs = False
# If true, show URL addresses after external links.
#latex_show_urls = False
# Additional stuff for the LaTeX preamble.
#latex_preamble = ''
# Documents to append as an appendix to all manuals.
#latex_appendices = []
# If false, no module index is generated.
#latex_domain_indices = True
# -- Options for manual page output -------------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'mrjob', u'mrjob Documentation',
[u'David Marin'], 1)
]