# Copyright 2025 Core Devices LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Configuration file for the Sphinx documentation builder. # # For the full list of built-in configuration values, see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = "PebbleOS" copyright = "2025, The PebbleOS Contributors" author = "The PebbleOS Contributors" release = "0.1.0" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = [ "myst_parser", "sphinx_design", ] exclude_patterns = ["_build", "legacy", "Thumbs.db", ".DS_Store"] nitpicky = True # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output html_theme = "sphinx_book_theme" html_static_path = ["_static"] html_logo = "_static/images/logo.svg" html_css_files = ["css/custom.css"] html_theme_options = { "logo": { "text": "PebbleOS", }, "repository_url": "https://github.com/pebble-dev/pebble-firmware", "repository_branch": "main", "path_to_docs": "docs", "use_repository_button": True, "use_edit_page_button": True, "use_issues_button": True, } # -- Options for myst_parser extension ----------------------------------------- # https://myst-parser.readthedocs.io/en/latest/configuration.html myst_enable_extensions = [ "colon_fence", "fieldlist", ]