conf.py 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 = 'FunASR'
  16. copyright = '2022, Speech Lab, Alibaba Group'
  17. author = 'Speech Lab, Alibaba Grou'
  18. # -- General configuration ---------------------------------------------------
  19. # Add any Sphinx extension module names here, as strings. They can be
  20. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  21. # ones.
  22. extensions = [
  23. "nbsphinx",
  24. "sphinx.ext.autodoc",
  25. 'sphinx.ext.napoleon',
  26. 'sphinx.ext.viewcode',
  27. "sphinx.ext.mathjax",
  28. "sphinx.ext.todo",
  29. # "sphinxarg.ext",
  30. "sphinx_markdown_tables",
  31. 'recommonmark',
  32. 'sphinx_rtd_theme',
  33. ]
  34. # Add any paths that contain templates here, relative to this directory.
  35. templates_path = ['_templates']
  36. source_suffix = [".rst", ".md"]
  37. # List of patterns, relative to source directory, that match files and
  38. # directories to ignore when looking for source files.
  39. # This pattern also affects html_static_path and html_extra_path.
  40. exclude_patterns = []
  41. # The name of the Pygments (syntax highlighting) style to use.
  42. pygments_style = "sphinx"
  43. # -- Options for HTML output -------------------------------------------------
  44. # The theme to use for HTML and HTML Help pages. See the documentation for
  45. # a list of builtin themes.
  46. #
  47. html_theme = "sphinx_rtd_theme"
  48. # Add any paths that contain custom static files (such as style sheets) here,
  49. # relative to this directory. They are copied after the builtin static files,
  50. # so a file named "default.css" will overwrite the builtin "default.css".
  51. # html_static_path = ['_static']