conf.py 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. # -- Project information -----------------------------------------------------
  15. project = 'uHDR'
  16. copyright = '2021, Rémi Cozot'
  17. author = 'Rémi Cozot'
  18. # The full version, including alpha/beta/rc tags
  19. release = '0.9'
  20. # -- General configuration ---------------------------------------------------
  21. # Add any Sphinx extension module names here, as strings. They can be
  22. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  23. # ones.
  24. extensions = [
  25. 'sphinx.ext.autodoc',
  26. 'sphinx.ext.autosummary'
  27. ]
  28. autosummary_generate = True
  29. autodoc_default_flags = ['class', 'members', 'inherited-members', 'show-inheritance']
  30. autodoc_member_order = 'groupwise'
  31. # Add any paths that contain templates here, relative to this directory.
  32. templates_path = ['_templates']
  33. # List of patterns, relative to source directory, that match files and
  34. # directories to ignore when looking for source files.
  35. # This pattern also affects html_static_path and html_extra_path.
  36. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '**guiQt**']
  37. # -- Options for HTML output -------------------------------------------------
  38. # The theme to use for HTML and HTML Help pages. See the documentation for
  39. # a list of builtin themes.
  40. #
  41. # html_theme = 'alabaster'
  42. # html_theme = 'nature'
  43. html_theme = 'asteroid_sphinx_theme'
  44. # Add any paths that contain custom static files (such as style sheets) here,
  45. # relative to this directory. They are copied after the builtin static files,
  46. # so a file named "default.css" will overwrite the builtin "default.css".
  47. html_static_path = ['_static']