1616import sphinx
1717
1818sys .path .insert (0 , os .path .abspath ('./../' ))
19- autodoc_mock_imports = ["alpha" ,"beta" ]
19+ autodoc_mock_imports = ["alpha" , "beta" ]
2020
21- #import sphinx.apidoc
21+
22+ # import sphinx.apidoc
2223def setup (app ):
23- sphinx .ext .apidoc .main (['-f' , '-T' , '-e' , '-M' , '-o' , './code/' , '../src' , '../src/localconfig.py' , '../src/pyff/test' ])
24+ sphinx .ext .apidoc .main (
25+ ['-f' , '-T' , '-e' , '-M' , '-o' , './code/' , '../src' , '../src/localconfig.py' , '../src/pyff/test' ]
26+ )
27+
2428
2529# If extensions (or modules to document with autodoc) are in another directory,
2630# add these directories to sys.path here. If the directory is relative to the
@@ -59,7 +63,7 @@ def setup(app):
5963# The short X.Y version.
6064version = '2.1'
6165# The full version, including alpha/beta/rc tags.
62- release = '2.1.4 '
66+ release = '2.1.6.dev0 '
6367
6468# The language for content autogenerated by Sphinx. Refer to documentation
6569# for a list of supported languages.
@@ -181,19 +185,16 @@ def setup(app):
181185latex_elements = {
182186 # The paper size ('letterpaper' or 'a4paper').
183187 #'papersize': 'letterpaper',
184-
185188 # The font size ('10pt', '11pt' or '12pt').
186189 #'pointsize': '10pt',
187-
188190 # Additional stuff for the LaTeX preamble.
189191 #'preamble': '',
190192}
191193
192194# Grouping the document tree into LaTeX files. List of tuples
193195# (source start file, target name, title, author, documentclass [howto/manual]).
194196latex_documents = [
195- ('index' , 'FederationFeeder.tex' , 'Federation Feeder Documentation' ,
196- 'Leif Johansson' , 'manual' ),
197+ ('index' , 'FederationFeeder.tex' , 'Federation Feeder Documentation' , 'Leif Johansson' , 'manual' ),
197198]
198199
199200# The name of an image file (relative to this directory) to place at the top of
@@ -221,10 +222,7 @@ def setup(app):
221222
222223# One entry per manual page. List of tuples
223224# (source start file, name, description, authors, manual section).
224- man_pages = [
225- ('index' , 'federationfeeder' , 'Federation Feeder Documentation' ,
226- ['Leif Johansson' ], 1 )
227- ]
225+ man_pages = [('index' , 'federationfeeder' , 'Federation Feeder Documentation' , ['Leif Johansson' ], 1 )]
228226
229227# If true, show URL addresses after external links.
230228# man_show_urls = False
@@ -236,9 +234,15 @@ def setup(app):
236234# (source start file, target name, title, author,
237235# dir menu entry, description, category)
238236texinfo_documents = [
239- ('index' , 'FederationFeeder' , 'Federation Feeder Documentation' ,
240- 'Leif Johansson' , 'FederationFeeder' , 'One line description of project.' ,
241- 'Miscellaneous' ),
237+ (
238+ 'index' ,
239+ 'FederationFeeder' ,
240+ 'Federation Feeder Documentation' ,
241+ 'Leif Johansson' ,
242+ 'FederationFeeder' ,
243+ 'One line description of project.' ,
244+ 'Miscellaneous' ,
245+ ),
242246]
243247
244248# Documents to append as an appendix to all manuals.
0 commit comments