00001 # -*- coding: utf-8 -*- 00002 # 00003 # pyros documentation build configuration file 00004 # 00005 # This file is execfile()d with the current directory set to its 00006 # containing dir. 00007 # 00008 # Note that not all possible configuration values are present in this 00009 # autogenerated file. 00010 # 00011 # All configuration values have a default; values that are commented out 00012 # serve to show the default. 00013 00014 # If extensions (or modules to document with autodoc) are in another directory, 00015 # add these directories to sys.path here. If the directory is relative to the 00016 # documentation root, use os.path.abspath to make it absolute, like shown here. 00017 00018 ## get catkin package information 00019 import os 00020 import catkin_pkg.package 00021 catkin_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 00022 catkin_package = catkin_pkg.package.parse_package( 00023 os.path.join(catkin_dir, catkin_pkg.package.PACKAGE_MANIFEST_FILENAME)) 00024 00025 # -- General configuration --------------------------------------------------- 00026 00027 # If your documentation needs a minimal Sphinx version, state it here. 00028 #needs_sphinx = '1.0' 00029 00030 # Add any Sphinx extension module names here, as strings. They can be 00031 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom 00032 # ones. 00033 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 00034 'sphinx.ext.todo', 'sphinx.ext.viewcode', 'sphinx.ext.graphviz'] 00035 00036 # List automatically-documented module members in source code order. 00037 autodoc_member_order = 'bysource' 00038 00039 # Add any paths that contain templates here, relative to this directory. 00040 templates_path = ['_templates'] 00041 00042 # The suffix of source filenames. 00043 source_suffix = '.rst' 00044 00045 # The encoding of source files. 00046 #source_encoding = 'utf-8-sig' 00047 00048 # The master toctree document. 00049 master_doc = 'index' 00050 00051 # General information about the project. 00052 project = u'pyros-setup' 00053 copyright = u'2015, AlexV' 00054 00055 # The version info for the project you're documenting, acts as replacement for 00056 # |version| and |release|, also used in various other places throughout the 00057 # built documents. 00058 # 00059 # The short X.Y version. 00060 version = catkin_package.version 00061 # The full version, including alpha/beta/rc tags. 00062 release = catkin_package.version 00063 00064 # The language for content autogenerated by Sphinx. Refer to documentation 00065 # for a list of supported languages. 00066 #language = None 00067 00068 # There are two options for replacing |today|: either, you set today to some 00069 # non-false value, then it is used: 00070 #today = '' 00071 # Else, today_fmt is used as the format for a strftime call. 00072 #today_fmt = '%B %d, %Y' 00073 00074 # List of patterns, relative to source directory, that match files and 00075 # directories to ignore when looking for source files. 00076 exclude_patterns = ['weblinks.rst'] 00077 00078 # The reST default role (used for this markup: `text`) to use for all 00079 #documents. default_role = None 00080 00081 # If true, '()' will be appended to :func: etc. cross-reference text. 00082 #add_function_parentheses = True 00083 00084 # If true, the current module name will be prepended to all description 00085 # unit titles (such as .. function::). 00086 #add_module_names = True 00087 00088 # If true, sectionauthor and moduleauthor directives will be shown in the 00089 # output. They are ignored by default. 00090 #show_authors = False 00091 00092 # The name of the Pygments (syntax highlighting) style to use. 00093 pygments_style = 'sphinx' 00094 00095 # A list of ignored prefixes for module index sorting. 00096 #modindex_common_prefix = [] 00097 00098 00099 # -- Options for HTML output ----------------------------------------------- 00100 00101 # The theme to use for HTML and HTML Help pages. See the documentation for 00102 # a list of builtin themes. 00103 html_theme = 'nature' 00104 00105 # Theme options are theme-specific and customize the look and feel of a theme 00106 # further. For a list of options available for each theme, see the 00107 # documentation. 00108 #html_theme_options = {} 00109 00110 # Add any paths that contain custom themes here, relative to this directory. 00111 #html_theme_path = [] 00112 00113 # The name for this set of Sphinx documents. If None, it defaults to 00114 # "<project> v<release> documentation". 00115 #html_title = None 00116 00117 # A shorter title for the navigation bar. Default is the same as html_title. 00118 #html_short_title = None 00119 00120 # The name of an image file (relative to this directory) to place at the top 00121 # of the sidebar. 00122 #html_logo = None 00123 00124 # The name of an image file (within the static path) to use as favicon of the 00125 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 00126 # pixels large. 00127 #html_favicon = None 00128 00129 # Add any paths that contain custom static files (such as style sheets) here, 00130 # relative to this directory. They are copied after the builtin static files, 00131 # so a file named "default.css" will overwrite the builtin "default.css". 00132 #html_static_path = ['_static'] 00133 00134 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, 00135 # using the given strftime format. 00136 #html_last_updated_fmt = '%b %d, %Y' 00137 00138 # If true, SmartyPants will be used to convert quotes and dashes to 00139 # typographically correct entities. 00140 #html_use_smartypants = True 00141 00142 # Custom sidebar templates, maps document names to template names. 00143 #html_sidebars = {} 00144 00145 # Additional templates that should be rendered to pages, maps page names to 00146 # template names. 00147 #html_additional_pages = {} 00148 00149 # If false, no module index is generated. 00150 #html_domain_indices = True 00151 00152 # If false, no index is generated. 00153 #html_use_index = True 00154 00155 # If true, the index is split into individual pages for each letter. 00156 #html_split_index = False 00157 00158 # If true, links to the reST sources are added to the pages. 00159 #html_show_sourcelink = True 00160 00161 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. 00162 #html_show_sphinx = True 00163 00164 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. 00165 #html_show_copyright = True 00166 00167 # If true, an OpenSearch description file will be output, and all pages will 00168 # contain a <link> tag referring to it. The value of this option must be the 00169 # base URL from which the finished HTML is served. 00170 #html_use_opensearch = '' 00171 00172 # This is the file name suffix for HTML files (e.g. ".xhtml"). 00173 #html_file_suffix = None 00174 00175 # Output file base name for HTML help builder. 00176 htmlhelp_basename = 'pyros_test_pydoc' 00177 00178 00179 # -- Options for LaTeX output ------------------------------------------------ 00180 00181 latex_elements = { 00182 # The paper size ('letterpaper' or 'a4paper'). 00183 #'papersize': 'letterpaper', 00184 00185 # The font size ('10pt', '11pt' or '12pt'). 00186 #'pointsize': '10pt', 00187 00188 # Additional stuff for the LaTeX preamble. 00189 #'preamble': '', 00190 } 00191 00192 # Grouping the document tree into LaTeX files. List of tuples (source 00193 # start file, target name, title, author, documentclass 00194 # [howto/manual]). 00195 latex_documents = [ 00196 ('index', 'pyros-test.tex', 00197 u'Pyros.', 00198 u'AlexV', 'manual'), 00199 ] 00200 00201 # The name of an image file (relative to this directory) to place at the top of 00202 # the title page. 00203 #latex_logo = None 00204 00205 # For "manual" documents, if this is true, then toplevel headings are parts, 00206 # not chapters. 00207 #latex_use_parts = False 00208 00209 # If true, show page references after internal links. 00210 #latex_show_pagerefs = False 00211 00212 # If true, show URL addresses after external links. 00213 #latex_show_urls = False 00214 00215 # Documents to append as an appendix to all manuals. 00216 #latex_appendices = [] 00217 00218 # If false, no module index is generated. 00219 #latex_domain_indices = True 00220 00221 00222 # -- Options for manual page output ------------------------------------------ 00223 00224 # One entry per manual page. List of tuples 00225 # (source start file, name, description, authors, manual section). 00226 man_pages = [ 00227 ('index', 'pyros-test', 00228 u'Pyros', 00229 [u'AlexV'], 1) 00230 ] 00231 00232 # If true, show URL addresses after external links. 00233 #man_show_urls = False 00234 00235 00236 # -- Options for Texinfo output ---------------------------------------------- 00237 00238 # Grouping the document tree into Texinfo files. List of tuples 00239 # (source start file, target name, title, author, 00240 # dir menu entry, description, category) 00241 texinfo_documents = [ 00242 ('index', 'pyros-test', 00243 u'pyros Documentation', 00244 u'AlexV', 'pyros-test', 'pyros-test.', 00245 'Miscellaneous'), 00246 ] 00247 00248 # Documents to append as an appendix to all manuals. 00249 #texinfo_appendices = [] 00250 00251 # If false, no module index is generated. 00252 #texinfo_domain_indices = True 00253 00254 # How to display URL addresses: 'footnote', 'no', or 'inline'. 00255 #texinfo_show_urls = 'footnote' 00256 00257 00258 # Example configuration for intersphinx: refer to the Python standard library. 00259 intersphinx_mapping = {'http://docs.python.org/': None}