conf.py 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 = 'statisticsTest'
  16. copyright = '2021, Ali BELLAMINE'
  17. author = 'Ali BELLAMINE'
  18. # The full version, including alpha/beta/rc tags
  19. release = '0.0.1'
  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. import sphinx_rtd_theme
  25. extensions = [
  26. 'recommonmark',
  27. 'sphinx.ext.autodoc',
  28. 'sphinx_rtd_theme'
  29. ]
  30. # Add any paths that contain templates here, relative to this directory.
  31. templates_path = ['_templates']
  32. # The language for content autogenerated by Sphinx. Refer to documentation
  33. # for a list of supported languages.
  34. #
  35. # This is also used if you do content translation via gettext catalogs.
  36. # Usually you set "language" from the command line for these cases.
  37. language = 'fr'
  38. # List of patterns, relative to source directory, that match files and
  39. # directories to ignore when looking for source files.
  40. # This pattern also affects html_static_path and html_extra_path.
  41. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
  42. # -- Options for HTML output -------------------------------------------------
  43. # The theme to use for HTML and HTML Help pages. See the documentation for
  44. # a list of builtin themes.
  45. #
  46. html_theme = 'sphinx_rtd_theme'
  47. # Add any paths that contain custom static files (such as style sheets) here,
  48. # relative to this directory. They are copied after the builtin static files,
  49. # so a file named "default.css" will overwrite the builtin "default.css".
  50. html_static_path = ['_static']