conf.py 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # Configuration file for the Sphinx documentation builder.
  2. #
  3. # SPDX-License-Identifier: CC-BY-2.0-UK
  4. #
  5. # This file only contains a selection of the most common options. For a full
  6. # list see the documentation:
  7. # https://www.sphinx-doc.org/en/master/usage/configuration.html
  8. # -- Path setup --------------------------------------------------------------
  9. # If extensions (or modules to document with autodoc) are in another directory,
  10. # add these directories to sys.path here. If the directory is relative to the
  11. # documentation root, use os.path.abspath to make it absolute, like shown here.
  12. #
  13. # import os
  14. # import sys
  15. # sys.path.insert(0, os.path.abspath('.'))
  16. # -- Project information -----------------------------------------------------
  17. project = 'The Yocto Project'
  18. copyright = '2020, The Linux Foundation'
  19. author = 'The Linux Foundation'
  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. extensions = [
  25. ]
  26. # Add any paths that contain templates here, relative to this directory.
  27. templates_path = ['_templates']
  28. # List of patterns, relative to source directory, that match files and
  29. # directories to ignore when looking for source files.
  30. # This pattern also affects html_static_path and html_extra_path.
  31. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
  32. # master document name. The default changed from contents to index. so better
  33. # set it ourselves.
  34. master_doc = 'index'
  35. # -- Options for HTML output -------------------------------------------------
  36. # The theme to use for HTML and HTML Help pages. See the documentation for
  37. # a list of builtin themes.
  38. #
  39. html_theme = 'sphinx_rtd_theme'
  40. html_logo = 'sphinx-static/YoctoProject_Logo_RGB.jpg'
  41. # Add any paths that contain custom static files (such as style sheets) here,
  42. # relative to this directory. They are copied after the builtin static files,
  43. # so a file named "default.css" will overwrite the builtin "default.css".
  44. html_static_path = ['sphinx-static']
  45. html_context = {
  46. 'css_files': [
  47. '_static/theme_overrides.css',
  48. ],
  49. }