1818#
1919import os
2020import sys
21- sys .path .insert (0 , os .path .abspath ('..' ))
2221
22+ sys .path .insert (0 , os .path .abspath ('..' ))
2323
2424# -- General configuration ------------------------------------------------
2525
3030# Add any Sphinx extension module names here, as strings. They can be
3131# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3232# ones.
33- extensions = ['sphinx.ext.autodoc' , 'sphinx.ext.linkcode' ]
33+ extensions = ['sphinx.ext.autodoc' , 'sphinx.ext.linkcode' ]
3434
3535# Add any paths that contain templates here, relative to this directory.
3636templates_path = ['_templates' ]
7676# If true, `todo` and `todoList` produce output, else they produce nothing.
7777todo_include_todos = False
7878
79-
8079# -- Options for HTML output ----------------------------------------------
8180
8281# The theme to use for HTML and HTML Help pages. See the documentation for
9594# so a file named "default.css" will overwrite the builtin "default.css".
9695html_static_path = ['_static' ]
9796
98-
9997# -- Options for HTMLHelp output ------------------------------------------
10098
10199# Output file base name for HTML help builder.
102100htmlhelp_basename = 'python-sdc-clientdoc'
103101
104-
105102# -- Options for LaTeX output ---------------------------------------------
106103
107104latex_elements = {
130127 u'Sysdig Inc.' , 'manual' ),
131128]
132129
133-
134130# -- Options for manual page output ---------------------------------------
135131
136132# One entry per manual page. List of tuples
140136 [author ], 1 )
141137]
142138
143-
144139# -- Options for Texinfo output -------------------------------------------
145140
146141# Grouping the document tree into Texinfo files. List of tuples
@@ -159,13 +154,12 @@ def find_line():
159154 for part in info ['fullname' ].split ('.' ):
160155 obj = getattr (obj , part )
161156 import inspect
162- fn = inspect .getsourcefile (obj )
163157 source , lineno = inspect .findsource (obj )
164158 return lineno + 1
165159
166160 if domain != 'py' or not info ['module' ]:
167161 return None
168- #tag = 'master' if 'dev' in release else ('v' + release)
162+ # tag = 'master' if 'dev' in release else ('v' + release)
169163 url = "https://github.com/draios/python-sdc-client/blob/master/sdcclient/_client.py"
170164 try :
171165 return url + '#L%d' % find_line ()
0 commit comments