You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

197 lines
5.7 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
1 month ago
8 years ago
8 years ago
1 month ago
8 years ago
  1. #!/usr/bin/env python3
  2. #
  3. # python-keycloak documentation build configuration file, created by
  4. # sphinx-quickstart on Tue Aug 15 11:02:59 2017.
  5. #
  6. # This file is execfile()d with the current directory set to its
  7. # containing dir.
  8. #
  9. # Note that not all possible configuration values are present in this
  10. # autogenerated file.
  11. #
  12. # All configuration values have a default; values that are commented out
  13. # serve to show the default.
  14. # If extensions (or modules to document with autodoc) are in another directory,
  15. # add these directories to sys.path here. If the directory is relative to the
  16. # documentation root, use os.path.abspath to make it absolute, like shown here.
  17. #
  18. # import os
  19. # import sys
  20. # sys.path.insert(0, os.path.abspath('.'))
  21. """Sphinx documentation configuration."""
  22. # -- General configuration ------------------------------------------------
  23. # If your documentation needs a minimal Sphinx version, state it here.
  24. #
  25. # needs_sphinx = '1.0'
  26. # Add any Sphinx extension module names here, as strings. They can be
  27. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  28. # ones.
  29. extensions = [
  30. "sphinx.ext.autodoc",
  31. "sphinx.ext.intersphinx",
  32. "sphinx.ext.todo",
  33. "sphinx.ext.viewcode",
  34. "m2r2",
  35. "autoapi.extension",
  36. ]
  37. autoapi_type = "python"
  38. autoapi_dirs = ["../../src/keycloak"]
  39. autoapi_root = "reference"
  40. autoapi_keep_files = False
  41. autoapi_add_toctree_entry = False
  42. # Add any paths that contain templates here, relative to this directory.
  43. templates_path = ["_templates"]
  44. # The suffix(es) of source filenames.
  45. # You can specify multiple suffix as a list of string:
  46. #
  47. # source_suffix = ['.rst', '.md']
  48. source_suffix = ".rst"
  49. # The master toctree document.
  50. master_doc = "index"
  51. # General information about the project.
  52. project = "python-keycloak"
  53. copyright = "2017, Marcos Pereira"
  54. author = "Marcos Pereira"
  55. # The version info for the project you're documenting, acts as replacement for
  56. # |version| and |release|, also used in various other places throughout the
  57. # built documents.
  58. #
  59. # The short X.Y version.
  60. version = "0.0.0"
  61. # The full version, including alpha/beta/rc tags.
  62. release = "0.0.0"
  63. # The language for content autogenerated by Sphinx. Refer to documentation
  64. # for a list of supported languages.
  65. #
  66. # This is also used if you do content translation via gettext catalogs.
  67. # Usually you set "language" from the command line for these cases.
  68. language = "en"
  69. # List of patterns, relative to source directory, that match files and
  70. # directories to ignore when looking for source files.
  71. # This patterns also effect to html_static_path and html_extra_path
  72. exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
  73. suppress_warnings = ["ref.python"]
  74. add_function_parentheses = False
  75. add_module_names = True
  76. # The name of the Pygments (syntax highlighting) style to use.
  77. pygments_style = "sphinx"
  78. # If true, `todo` and `todoList` produce output, else they produce nothing.
  79. todo_include_todos = True
  80. # -- Options for HTML output ----------------------------------------------
  81. # The theme to use for HTML and HTML Help pages. See the documentation for
  82. # a list of builtin themes.
  83. #
  84. html_theme = "sphinx_rtd_theme"
  85. # Theme options are theme-specific and customize the look and feel of a theme
  86. # further. For a list of options available for each theme, see the
  87. # documentation.
  88. #
  89. # html_theme_options = {}
  90. # Add any paths that contain custom static files (such as style sheets) here,
  91. # relative to this directory. They are copied after the builtin static files,
  92. # so a file named "default.css" will overwrite the builtin "default.css".
  93. # html_static_path = ["_static"]
  94. html_use_smartypants = False
  95. html_show_sourcelink = False
  96. html_show_sphinx = False
  97. html_show_copyright = True
  98. # Custom sidebar templates, must be a dictionary that maps document names
  99. # to template names.
  100. #
  101. # This is required for the alabaster theme
  102. # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
  103. # html_sidebars = {
  104. # '**': [
  105. # 'about.html',
  106. # 'navigation.html',
  107. # 'relations.html', # needs 'show_related': True theme option to display
  108. # 'searchbox.html',
  109. # 'donate.html',
  110. # ]
  111. # }
  112. # -- Options for HTMLHelp output ------------------------------------------
  113. # Output file base name for HTML help builder.
  114. htmlhelp_basename = "python-keycloakdoc"
  115. # -- Options for LaTeX output ---------------------------------------------
  116. latex_elements = {
  117. # The paper size ('letterpaper' or 'a4paper').
  118. #
  119. # 'papersize': 'letterpaper',
  120. # The font size ('10pt', '11pt' or '12pt').
  121. #
  122. # 'pointsize': '10pt',
  123. # Additional stuff for the LaTeX preamble.
  124. #
  125. # 'preamble': '',
  126. # Latex figure (float) alignment
  127. #
  128. # 'figure_align': 'htbp',
  129. }
  130. # Grouping the document tree into LaTeX files. List of tuples
  131. # (source start file, target name, title,
  132. # author, documentclass [howto, manual, or own class]).
  133. latex_documents = [
  134. (
  135. master_doc,
  136. "python-keycloak.tex",
  137. "python-keycloak Documentation",
  138. "Marcos Pereira",
  139. "manual",
  140. ),
  141. ]
  142. # -- Options for manual page output ---------------------------------------
  143. # One entry per manual page. List of tuples
  144. # (source start file, name, description, authors, manual section).
  145. man_pages = [(master_doc, "python-keycloak", "python-keycloak Documentation", [author], 1)]
  146. # -- Options for Texinfo output -------------------------------------------
  147. # Grouping the document tree into Texinfo files. List of tuples
  148. # (source start file, target name, title, author,
  149. # dir menu entry, description, category)
  150. texinfo_documents = [
  151. (
  152. master_doc,
  153. "python-keycloak",
  154. "python-keycloak Documentation",
  155. author,
  156. "python-keycloak",
  157. "One line description of project.",
  158. "Miscellaneous",
  159. ),
  160. ]