conf.py 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Copyright 2025 Core Devices LLC
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # Configuration file for the Sphinx documentation builder.
  15. #
  16. # For the full list of built-in configuration values, see the documentation:
  17. # https://www.sphinx-doc.org/en/master/usage/configuration.html
  18. # -- Project information -----------------------------------------------------
  19. # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
  20. project = "PebbleOS"
  21. copyright = "2025, The PebbleOS Contributors"
  22. author = "The PebbleOS Contributors"
  23. release = "0.1.0"
  24. # -- General configuration ---------------------------------------------------
  25. # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
  26. extensions = [
  27. "myst_parser",
  28. "sphinx_design",
  29. ]
  30. exclude_patterns = ["_build", "legacy", "Thumbs.db", ".DS_Store"]
  31. nitpicky = True
  32. # -- Options for HTML output -------------------------------------------------
  33. # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
  34. html_theme = "sphinx_book_theme"
  35. html_static_path = ["_static"]
  36. html_logo = "_static/images/logo.png"
  37. html_css_files = ["css/custom.css"]
  38. html_theme_options = {
  39. "repository_url": "https://github.com/pebble-dev/pebble-firmware",
  40. "repository_branch": "main",
  41. "path_to_docs": "docs",
  42. "use_repository_button": True,
  43. "use_edit_page_button": True,
  44. "use_issues_button": True,
  45. }