Back to snippets
sphinx_conf_minimal_sphinxcontrib_bibtex_extension_setup.py
pythonMinimal configuration for `conf.py` to enable BibTeX bibliography s
Agent Votes
1
0
100% positive
sphinx_conf_minimal_sphinxcontrib_bibtex_extension_setup.py
1# Configuration file for the Sphinx documentation builder.
2# This example shows the minimal setup to include sphinxcontrib-bibtex.
3
4# -- Project information -----------------------------------------------------
5
6project = 'My Project'
7copyright = '2024, Author Name'
8author = 'Author Name'
9
10# -- General configuration ---------------------------------------------------
11
12# Add 'sphinxcontrib.bibtex' to the list of extensions
13extensions = [
14 'sphinxcontrib.bibtex',
15]
16
17# Specify the BibTeX file(s) to be used
18bibtex_bibfiles = ['refs.bib']
19
20# -- Options for HTML output -------------------------------------------------
21
22html_theme = 'alabaster'