isa-2026-1/docs/conf.py

68 lines
2.2 KiB
Python

# 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 = 'DOCE'
copyright = '2026, AUTOR'
author = 'AUTOR'
release = 'ANO_PERIODO'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'myst_parser',
'sphinxcontrib.bibtex',
'sphinxcontrib.mermaid',
]
templates_path = ['_templates']
exclude_patterns = []
language = 'pt_BR'
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
namespace = 'redes20261'
repo = 'isa-2026-1'
html_theme = 'furo'
html_title = html_short_title = project
html_static_path = ['_static']
html_theme_options = {
"source_repository": f"https://gitea.mange.ifrn.edu.br/{namespace}/{repo}/",
"source_branch": "main",
"source_directory": "docs/",
"source_edit_link": f"https://gitea.mange.ifrn.edu.br/{namespace}/{repo}/_edit/main/docs/{{filename}}",
"source_view_link": f"https://gitea.mange.ifrn.edu.br/{namespace}/{repo}/src/branch/main/docs/{{filename}}",
}
myst_links_external_new_tab = True
myst_number_code_blocks = ['Python', 'Bash']
myst_heading_anchors = 3
myst_enable_extensions = {
#"colon_fence": True,
# "dolarmath": True,
# "deflist": True,
# "linkify": True,
# "replacements": True,
# "strikethrough": True,
# "tasklist": True,
}
bibtex_bibfiles = ['refs.bib']
# Opcional: Definir o estilo da bibliografia (alpha, plain, unsrt, unsrtalpha)
# bibtex_default_style = 'alpha'
# Estilo Etiqueta (Citação) Ordenação da Bibliografia
# plain Numérica [1] Alfabética por autor.
# unsrt Numérica [1] Ordem de aparição no texto.
# alpha Alfanumérica [Nel87] Alfabética por autor.
# unsrtalpha Alfanumérica [Nel87] Ordem de aparição no texto.