2
0

conf.py 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Configuration file for the Sphinx documentation builder.
  2. #
  3. # This file only contains a selection of the most common options. For a full
  4. # list see the documentation:
  5. # https://www.sphinx-doc.org/en/master/usage/configuration.html
  6. # -- Path setup --------------------------------------------------------------
  7. # If extensions (or modules to document with autodoc) are in another directory,
  8. # add these directories to sys.path here. If the directory is relative to the
  9. # documentation root, use os.path.abspath to make it absolute, like shown here.
  10. #
  11. import os
  12. import sys
  13. sys.path.insert(0, os.path.abspath('../'))
  14. import sphinx_rtd_theme
  15. import cloudbridge
  16. # -- Project information -----------------------------------------------------
  17. project = 'cloudbridge'
  18. copyright = '2021, GVL and Galaxy Projects'
  19. author = 'GVL and Galaxy Projects'
  20. # The full version, including alpha/beta/rc tags
  21. release = cloudbridge.get_version()
  22. # -- General configuration ---------------------------------------------------
  23. # Add any Sphinx extension module names here, as strings. They can be
  24. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  25. # ones.
  26. extensions = [
  27. 'sphinx.ext.autodoc',
  28. 'sphinx.ext.doctest',
  29. 'sphinx.ext.todo',
  30. 'sphinx.ext.coverage',
  31. 'sphinx.ext.viewcode',
  32. ]
  33. # Add any paths that contain templates here, relative to this directory.
  34. templates_path = ['_templates']
  35. # List of patterns, relative to source directory, that match files and
  36. # directories to ignore when looking for source files.
  37. # This pattern also affects html_static_path and html_extra_path.
  38. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
  39. # -- Options for HTML output -------------------------------------------------
  40. # The theme to use for HTML and HTML Help pages. See the documentation for
  41. # a list of builtin themes.
  42. #
  43. html_theme = 'sphinx_rtd_theme'
  44. # Add any paths that contain custom themes here, relative to this directory.
  45. html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
  46. # Add any paths that contain custom static files (such as style sheets) here,
  47. # relative to this directory. They are copied after the builtin static files,
  48. # so a file named "default.css" will overwrite the builtin "default.css".
  49. # html_static_path = ['_static']
  50. # Add any extra paths that contain custom files (such as robots.txt or
  51. # .htaccess) here, relative to this directory. These files are copied
  52. # directly to the root of the documentation.
  53. html_extra_path = ['extras']