conf.py 2.3 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 = 'CherryUSB 使用指南'
  16. copyright = '2022, sakumisu'
  17. author = 'sakumisu'
  18. # -- General configuration ---------------------------------------------------
  19. # The master toctree document.
  20. master_doc = 'index'
  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 = ['recommonmark',
  25. 'sphinx_markdown_tables',
  26. 'sphinx.ext.autosectionlabel',
  27. ]
  28. # The suffix(es) of source filenames.
  29. # You can specify multiple suffix as a list of string:
  30. source_suffix = ['.rst', 'rest', '.md']
  31. # Add any paths that contain templates here, relative to this directory.
  32. templates_path = ['_templates']
  33. # The language for content autogenerated by Sphinx. Refer to documentation
  34. # for a list of supported languages.
  35. #
  36. # This is also used if you do content translation via gettext catalogs.
  37. # Usually you set "language" from the command line for these cases.
  38. language = 'zh_CN'
  39. # List of patterns, relative to source directory, that match files and
  40. # directories to ignore when looking for source files.
  41. # This pattern also affects html_static_path and html_extra_path.
  42. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
  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']