djLint/docs/conf.py
Christopher Pickering bb337c09d8
added docs
2021-07-27 16:06:47 -05:00

62 lines
1.7 KiB
Python

# 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
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
from pathlib import Path
CURRENT_DIR = Path(__file__).parent
# -- Project information -----------------------------------------------------
project = "djlint"
copyright = "2021, Riverside Healthcare"
author = "Christopher Pickering"
release = "0.1.1"
version = release
# -- General configuration ---------------------------------------------------
extensions = ["myst_parser", "sphinx_copybutton"]
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# -- Options for HTML output -------------------------------------------------
html_theme = "alabaster"
html_sidebars = {
"**": [
"about.html",
"navigation.html",
"relations.html",
"searchbox.html",
]
}
html_theme_options = {
"show_related": False,
"description": "django template formatter",
"github_button": True,
"github_user": "Riverside-Healthcare",
"github_repo": "djlint",
"github_type": "star",
"show_powered_by": False,
"fixed_sidebar": True,
# "logo": "logo2.png",
}
html_static_path = ["_static"]
source_suffix = [".rst", ".md"]
pygments_style = "sphinx"