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.8 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
86
87
88
89
90
91
92
  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. # Imports for auto documentation
  14. import super_gradients
  15. import super_gradients.common as common
  16. import super_gradients.training as training
  17. __all__ = ["super_gradients", "common", "training"]
  18. sys.path.insert(0, os.path.abspath("../../src"))
  19. # -- Project information -----------------------------------------------------
  20. project = "SuperGradients"
  21. copyright = "2021, SuperGradients team"
  22. author = "SuperGradients team"
  23. # The full version, including alpha/beta/rc tags
  24. release = "3.0.9"
  25. # -- General configuration ---------------------------------------------------
  26. # Add any Sphinx extension module names here, as strings. They can be
  27. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  28. # ones.
  29. # extensions = ['sphinx.ext.todo', 'sphinx.ext.viewcode', 'sphinx.ext.autodoc']
  30. extensions = []
  31. autodoc_default_options = {
  32. "member-order": "bysource",
  33. }
  34. # Add any paths that contain templates here, relative to this directory.
  35. templates_path = ["_templates"]
  36. # List of patterns, relative to source directory, that match files and
  37. # directories to ignore when looking for source files.
  38. # This pattern also affects html_static_path and html_extra_path.
  39. exclude_patterns = []
  40. pygments_style = "sphinx"
  41. todo_include_todos = False
  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. extensions.append("sphinx.ext.todo")
  47. extensions.append("sphinx.ext.autodoc")
  48. extensions.append("sphinx.ext.autosummary")
  49. extensions.append("sphinx.ext.intersphinx")
  50. extensions.append("sphinx.ext.mathjax")
  51. extensions.append("sphinx.ext.viewcode")
  52. extensions.append("sphinx.ext.graphviz")
  53. extensions.append("sphinxcontrib.napoleon")
  54. extensions.append("myst_parser")
  55. autosummary_generate = True
  56. # html_theme = 'default'
  57. # html_theme = 'alabaster'
  58. html_theme = "sphinx_rtd_theme"
  59. # Add any paths that contain custom static files (such as style sheets) here,
  60. # relative to this directory. They are copied after the builtin static files,
  61. # so a file named "default.css" will overwrite the builtin "default.css".
  62. html_static_path = ["_static"]
  63. html_css_files = [
  64. "custom.css",
  65. ]
  66. source_suffix = {
  67. ".rst": "restructuredtext",
  68. ".md": "markdown",
  69. }
Tip!

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

Comments

Loading...