/
githubmirror
/
tzdata
Обзор
Документация
Войти
/
githubmirror
/
tzdata
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2024.2
docs/conf.py
50 строк
2 KB
Paul Ganssle
Update isort to v5.5.4 in pre-commit
07 окт 2020, 23:53
Не верифицирован
07 окт 2020, 23:53
0e3d768
Код
Авторство
О чём код?
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html import sphinx_bootstrap_theme import tzdata # -- Project information ----------------------------------------------------- project = "tzdata" copyright = "2020, Python Software Foundation" author = "Python Software Foundation" version = tzdata.__version__ # -- General configuration --------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = ["sphinx.ext.intersphinx"] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = "bootstrap" html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() html_theme_options = { "bootswatch_theme": "cosmo", } # For cross-links to other documentation intersphinx_mapping = { "python": ("https://docs.python.org/3", None), "dateutil": ("https://dateutil.readthedocs.io/en/stable/", None), }