Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

conf.py 2.7 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
  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('../../src'))
  14. # -- Project information -----------------------------------------------------
  15. project = 'SuperGradients'
  16. copyright = '2021, SuperGradients team'
  17. author = 'SuperGradients team'
  18. # The full version, including alpha/beta/rc tags
  19. release = '1.0'
  20. # Imports for auto documentation
  21. import super_gradients
  22. import super_gradients.common
  23. import super_gradients.training
  24. # -- General configuration ---------------------------------------------------
  25. # Add any Sphinx extension module names here, as strings. They can be
  26. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  27. # ones.
  28. # extensions = ['sphinx.ext.todo', 'sphinx.ext.viewcode', 'sphinx.ext.autodoc']
  29. extensions = []
  30. autodoc_default_options = {
  31. 'member-order': 'bysource',
  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 = []
  39. pygments_style = 'sphinx'
  40. todo_include_todos = False
  41. # -- Options for HTML output -------------------------------------------------
  42. # The theme to use for HTML and HTML Help pages. See the documentation for
  43. # a list of builtin themes.
  44. #
  45. extensions.append('sphinx.ext.todo')
  46. extensions.append('sphinx.ext.autodoc')
  47. extensions.append('sphinx.ext.autosummary')
  48. extensions.append('sphinx.ext.intersphinx')
  49. extensions.append('sphinx.ext.mathjax')
  50. extensions.append('sphinx.ext.viewcode')
  51. extensions.append('sphinx.ext.graphviz')
  52. extensions.append('sphinxcontrib.napoleon')
  53. extensions.append('myst_parser')
  54. autosummary_generate = True
  55. # html_theme = 'default'
  56. # html_theme = 'alabaster'
  57. html_theme = 'sphinx_rtd_theme'
  58. # Add any paths that contain custom static files (such as style sheets) here,
  59. # relative to this directory. They are copied after the builtin static files,
  60. # so a file named "default.css" will overwrite the builtin "default.css".
  61. html_static_path = ['_static']
  62. source_suffix = {
  63. '.rst': 'restructuredtext',
  64. '.md': 'markdown',
  65. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...