Max Rasskazov | 8a07116 | 2016-02-24 11:55:00 +0300 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
Max Rasskazov | cf8f6d8 | 2016-06-09 00:10:07 +0300 | [diff] [blame] | 2 | |
| 3 | # Copyright (c) 2015-2016, Mirantis, Inc. |
| 4 | # |
Max Rasskazov | 8a07116 | 2016-02-24 11:55:00 +0300 | [diff] [blame] | 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 14 | # implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | |
| 18 | import os |
| 19 | import sys |
| 20 | |
| 21 | sys.path.insert(0, os.path.abspath('../..')) |
| 22 | # -- General configuration ---------------------------------------------------- |
| 23 | |
| 24 | # Add any Sphinx extension module names here, as strings. They can be |
| 25 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
| 26 | extensions = [ |
| 27 | 'sphinx.ext.autodoc', |
| 28 | #'sphinx.ext.intersphinx', |
| 29 | 'oslosphinx' |
| 30 | ] |
| 31 | |
| 32 | # autodoc generation is a bit aggressive and a nuisance when doing heavy |
| 33 | # text edit cycles. |
| 34 | # execute "export SPHINX_DEBUG=1" in your terminal to disable |
| 35 | |
| 36 | # The suffix of source filenames. |
| 37 | source_suffix = '.rst' |
| 38 | |
| 39 | # The master toctree document. |
| 40 | master_doc = 'index' |
| 41 | |
| 42 | # General information about the project. |
| 43 | project = u'trsync' |
Max Rasskazov | cf8f6d8 | 2016-06-09 00:10:07 +0300 | [diff] [blame] | 44 | copyright = u'2015-2016, Mirantis, Inc.' |
Max Rasskazov | 8a07116 | 2016-02-24 11:55:00 +0300 | [diff] [blame] | 45 | |
| 46 | # If true, '()' will be appended to :func: etc. cross-reference text. |
| 47 | add_function_parentheses = True |
| 48 | |
| 49 | # If true, the current module name will be prepended to all description |
| 50 | # unit titles (such as .. function::). |
| 51 | add_module_names = True |
| 52 | |
| 53 | # The name of the Pygments (syntax highlighting) style to use. |
| 54 | pygments_style = 'sphinx' |
| 55 | |
| 56 | # -- Options for HTML output -------------------------------------------------- |
| 57 | |
| 58 | # The theme to use for HTML and HTML Help pages. Major themes that come with |
| 59 | # Sphinx are currently 'default' and 'sphinxdoc'. |
| 60 | # html_theme_path = ["."] |
| 61 | # html_theme = '_theme' |
| 62 | # html_static_path = ['static'] |
| 63 | |
| 64 | # Output file base name for HTML help builder. |
| 65 | htmlhelp_basename = '%sdoc' % project |
| 66 | |
| 67 | # Grouping the document tree into LaTeX files. List of tuples |
| 68 | # (source start file, target name, title, author, documentclass |
| 69 | # [howto/manual]). |
| 70 | latex_documents = [ |
| 71 | ('index', |
| 72 | '%s.tex' % project, |
| 73 | u'%s Documentation' % project, |
| 74 | u'OpenStack Foundation', 'manual'), |
| 75 | ] |
| 76 | |
| 77 | # Example configuration for intersphinx: refer to the Python standard library. |
Max Rasskazov | cf8f6d8 | 2016-06-09 00:10:07 +0300 | [diff] [blame] | 78 | #intersphinx_mapping = {'http://docs.python.org/': None} |