conf.py 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. # -*- coding: utf-8 -*-
  2. #
  3. # import os
  4. # import sys
  5. # sys.path.insert(0, os.path.abspath('.'))
  6. # -- Project information -----------------------------------------------------
  7. import sys
  8. import os
  9. # pip install sphinx_rtd_theme
  10. # import sphinx_rtd_theme
  11. # html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
  12. # General substitutions.
  13. project = 'Inary'
  14. copyright = "2016-2019 Zaryob"
  15. # The default replacements for |version| and |release|, also used in various
  16. # other places throughout the built documents.
  17. #
  18. # The short X.Y version.
  19. version = '1.2_alpha'
  20. # The full version, including alpha/beta/rc tags.
  21. release = '1.2_alpha'
  22. # General configuration
  23. # ---------------------
  24. # Add any Sphinx extension module names here, as strings.
  25. # They can be extensions
  26. # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
  27. extensions = ['sphinx.ext.autodoc',
  28. 'sphinx.ext.intersphinx',
  29. 'sphinx.ext.todo',
  30. 'sphinx.ext.githubpages',
  31. ]
  32. # Later on, add 'sphinx.ext.viewcode' to the list if you want to have
  33. # colorized code generated too for references.
  34. # Add any paths that contain templates here, relative to this directory.
  35. templates_path = ['.templates']
  36. # The suffix of source filenames.
  37. source_suffix = '.rst'
  38. # The master toctree document.
  39. master_doc = 'index'
  40. # There are two options for replacing |today|: either, you set today to some
  41. # non-false value, then it is used:
  42. # today = ''
  43. # Else, today_fmt is used as the format for a strftime call.
  44. today_fmt = '%B %d, %Y'
  45. # List of documents that shouldn't be included in the build.
  46. # unused_docs = []
  47. # List of directories, relative to source directories, that shouldn't be
  48. # searched for source files.
  49. # exclude_dirs = []
  50. # A list of glob-style patterns that should be excluded when looking
  51. # for source files.
  52. exclude_patterns = ['modules']
  53. # The reST default role (used for this markup: `text`) to use for all
  54. # documents.
  55. # default_role = None
  56. # If true, '()' will be appended to :func: etc. cross-reference text.
  57. # add_function_parentheses = True
  58. # If true, the current module name will be prepended to all description
  59. # unit titles (such as .. function::).
  60. # add_module_names = True
  61. # If true, sectionauthor and moduleauthor directives will be shown in the
  62. # output. They are ignored by default.
  63. # show_authors = False
  64. # The name of the Pygments (syntax highlighting) style to use.
  65. pygments_style = 'sphinx'
  66. highlight_language = 'YAML+Jinja'
  67. # Substitutions, variables, entities, & shortcuts for text which do not need to link to anything.
  68. # For titles which should be a link, use the intersphinx anchors set at the index, chapter, and
  69. # section levels, such as qi_start_:
  70. rst_epilog = """
  71. """
  72. # Options for HTML output
  73. # -----------------------
  74. # -- Options for HTML output -------------------------------------------------
  75. # The theme to use for HTML and HTML Help pages. See the documentation for
  76. # a list of builtin themes.
  77. #
  78. html_theme = 'neo_rtd_theme'
  79. import sphinx_theme
  80. html_theme_path = [sphinx_theme.get_html_theme_path()]
  81. #html_theme_path = ['../_themes']
  82. #html_theme = 'highlight'
  83. #html_short_title = 'Inary Documentation'
  84. # The style sheet to use for HTML and HTML Help pages. A file of that name
  85. # must exist either in Sphinx' static/ path, or in one of the custom paths
  86. # given in html_static_path.
  87. # html_style = 'solar.css'
  88. # The name for this set of Sphinx documents. If None, it defaults to
  89. # "<project> v<release> documentation".
  90. html_title = 'Inary Documentation'
  91. # A shorter title for the navigation bar. Default is the same as html_title.
  92. html_short_title = "Inary Documentation"
  93. # The name of an image file (within the static path) to place at the top of
  94. # the sidebar.
  95. # html_logo = None
  96. # The name of an image file (within the static path) to use as favicon of the
  97. # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
  98. # pixels large.
  99. html_favicon = 'images/favicon.ico'
  100. # Add any paths that contain custom static files (such as style sheets) here,
  101. # relative to this directory. They are copied after the builtin static files,
  102. # so a file named "default.css" will overwrite the builtin "default.css".
  103. # html_static_path = ['.static']
  104. # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
  105. # using the given strftime format.
  106. html_last_updated_fmt = '%b %d, %Y'
  107. # If true, SmartyPants will be used to convert quotes and dashes to
  108. # typographically correct entities.
  109. # html_use_smartypants = True
  110. # Custom sidebar templates, maps document names to template names.
  111. # html_sidebars = {}
  112. # Additional templates that should be rendered to pages, maps page names to
  113. # template names.
  114. # html_additional_pages = {}
  115. # If false, no module index is generated.
  116. # html_use_modindex = True
  117. # If false, no index is generated.
  118. # html_use_index = True
  119. # If true, the index is split into individual pages for each letter.
  120. # html_split_index = False
  121. # If true, the reST sources are included in the HTML build as _sources/<name>.
  122. html_copy_source = False
  123. # If true, an OpenSearch description file will be output, and all pages will
  124. # contain a <link> tag referring to it. The value of this option must be the
  125. # base URL from which the finished HTML is served.
  126. html_use_opensearch = 'true'
  127. # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
  128. html_file_suffix = '.html'
  129. # Output file base name for HTML help builder.
  130. htmlhelp_basename = 'Poseidodoc'
  131. # Options for LaTeX output
  132. # ------------------------
  133. # The paper size ('letter' or 'a4').
  134. # latex_paper_size = 'letter'
  135. # The font size ('10pt', '11pt' or '12pt').
  136. # latex_font_size = '10pt'
  137. # Grouping the document tree into LaTeX files. List of tuples
  138. # (source start file, target name, title, author, document class
  139. # [howto/manual]).
  140. latex_documents = [
  141. ('index', 'ansible.tex', 'Ansible 2.2 Documentation', "Süleyman POYRAZ", 'manual'),
  142. ]
  143. source_suffix = {
  144. '.rst': 'restructuredtext',
  145. '.txt': 'restructuredtext',
  146. '.md': 'markdown',
  147. }
  148. # The name of an image file (relative to this directory) to place at the top of
  149. # the title page.
  150. # latex_logo = None
  151. # For "manual" documents, if this is true, then toplevel headings are parts,
  152. # not chapters.
  153. # latex_use_parts = False
  154. # Additional stuff for the LaTeX preamble.
  155. # latex_preamble = ''
  156. # Documents to append as an appendix to all manuals.
  157. # latex_appendices = []
  158. # If false, no module index is generated.
  159. # latex_use_modindex = True
  160. autoclass_content = 'both'