File: conf.py

package info (click to toggle)
sphinx-external-toc 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 796 kB
  • sloc: python: 1,502; xml: 20; makefile: 11
file content (22 lines) | stat: -rw-r--r-- 662 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""Configuration file for the Sphinx documentation builder."""

project = "Sphinx External ToC"
copyright = "2021, Executable Book Project"
author = "Executable Book Project"

extensions = ["myst_parser", "sphinx_external_toc"]

myst_enable_extensions = ["colon_fence", "html_image"]

exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
external_toc_exclude_missing = True

html_theme = "sphinx_book_theme"
html_title = project
html_theme_options = {
    "home_page_in_toc": True,
    "use_edit_page_button": True,
    "repository_url": "https://github.com/executablebooks/sphinx-external-toc",
    "repository_branch": "main",
    "path_to_docs": "docs",
}