conf.py 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. 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,
  12. # software distributed under the License is distributed on an
  13. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. # KIND, either express or implied. See the License for the
  15. # specific language governing permissions and limitations
  16. # under the License.
  17. # Configuration file for the Sphinx documentation builder.
  18. #
  19. # This file only contains a selection of the most common options. For a full
  20. # list see the documentation:
  21. # https://www.sphinx-doc.org/en/master/usage/configuration.html
  22. # -- Path setup --------------------------------------------------------------
  23. # If extensions (or modules to document with autodoc) are in another directory,
  24. # add these directories to sys.path here. If the directory is relative to the
  25. # documentation root, use os.path.abspath to make it absolute, like shown here.
  26. #
  27. # import os
  28. # import sys
  29. # sys.path.insert(0, os.path.abspath('.'))
  30. # -- Project information -----------------------------------------------------
  31. project = "pydolphinscheduler"
  32. copyright = "2022, apache"
  33. author = "apache"
  34. # The full version, including alpha/beta/rc tags
  35. release = "0.0.1"
  36. # -- General configuration ---------------------------------------------------
  37. # Add any Sphinx extension module names here, as strings. They can be
  38. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  39. # ones.
  40. extensions = [
  41. # Measures durations of Sphinx processing
  42. "sphinx.ext.duration",
  43. # Semi-automatic make docstrings to document
  44. "sphinx.ext.autodoc",
  45. "sphinx.ext.viewcode",
  46. "sphinx.ext.autosectionlabel",
  47. "sphinx_rtd_theme",
  48. # Documenting command line interface
  49. "sphinx_click.ext",
  50. # Add inline tabbed content
  51. "sphinx_inline_tabs",
  52. "sphinx_copybutton",
  53. ]
  54. # Add any paths that contain templates here, relative to this directory.
  55. templates_path = ["_templates"]
  56. # List of patterns, relative to source directory, that match files and
  57. # directories to ignore when looking for source files.
  58. # This pattern also affects html_static_path and html_extra_path.
  59. exclude_patterns = []
  60. autodoc_default_options = {
  61. "members": True,
  62. "show-inheritance": True,
  63. "private-members": True,
  64. "undoc-members": True,
  65. "member-order": "groupwise",
  66. }
  67. autosectionlabel_prefix_document = True
  68. # -- Options for HTML output -------------------------------------------------
  69. # The theme to use for HTML and HTML Help pages. See the documentation for
  70. # a list of builtin themes.
  71. #
  72. html_theme = "sphinx_rtd_theme"
  73. # Add any paths that contain custom static files (such as style sheets) here,
  74. # relative to this directory. They are copied after the builtin static files,
  75. # so a file named "default.css" will overwrite the builtin "default.css".
  76. html_static_path = ["_static"]