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
2 weeks ago
8 years ago
2 weeks ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
2 weeks ago
8 years ago
8 years ago
2 weeks 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_book_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. # html_theme_options = {}
  89. # Add any paths that contain custom static files (such as style sheets) here,
  90. # relative to this directory. They are copied after the builtin static files,
  91. # so a file named "default.css" will overwrite the builtin "default.css".
  92. # html_static_path = ["_static"]
  93. html_use_smartypants = False
  94. html_show_sourcelink = False
  95. html_show_sphinx = False
  96. html_show_copyright = True
  97. # Custom sidebar templates, must be a dictionary that maps document names
  98. # to template names.
  99. #
  100. # This is required for the alabaster theme
  101. # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
  102. # html_sidebars = {
  103. # '**': [
  104. # 'about.html',
  105. # 'navigation.html',
  106. # 'relations.html', # needs 'show_related': True theme option to display
  107. # 'searchbox.html',
  108. # 'donate.html',
  109. # ]
  110. # }
  111. # -- Options for HTMLHelp output ------------------------------------------
  112. # Output file base name for HTML help builder.
  113. htmlhelp_basename = "python-keycloakdoc"
  114. # -- Options for LaTeX output ---------------------------------------------
  115. latex_elements = {
  116. # The paper size ('letterpaper' or 'a4paper').
  117. #
  118. # 'papersize': 'letterpaper',
  119. # The font size ('10pt', '11pt' or '12pt').
  120. #
  121. # 'pointsize': '10pt',
  122. # Additional stuff for the LaTeX preamble.
  123. #
  124. # 'preamble': '',
  125. # Latex figure (float) alignment
  126. #
  127. # 'figure_align': 'htbp',
  128. }
  129. # Grouping the document tree into LaTeX files. List of tuples
  130. # (source start file, target name, title,
  131. # author, documentclass [howto, manual, or own class]).
  132. latex_documents = [
  133. (
  134. master_doc,
  135. "python-keycloak.tex",
  136. "python-keycloak Documentation",
  137. "Marcos Pereira",
  138. "manual",
  139. ),
  140. ]
  141. # -- Options for manual page output ---------------------------------------
  142. # One entry per manual page. List of tuples
  143. # (source start file, name, description, authors, manual section).
  144. man_pages = [(master_doc, "python-keycloak", "python-keycloak Documentation", [author], 1)]
  145. # -- Options for Texinfo output -------------------------------------------
  146. # Grouping the document tree into Texinfo files. List of tuples
  147. # (source start file, target name, title, author,
  148. # dir menu entry, description, category)
  149. texinfo_documents = [
  150. (
  151. master_doc,
  152. "python-keycloak",
  153. "python-keycloak Documentation",
  154. author,
  155. "python-keycloak",
  156. "One line description of project.",
  157. "Miscellaneous",
  158. ),
  159. ]