-
Notifications
You must be signed in to change notification settings - Fork 2
/
conf.py
135 lines (103 loc) · 3.76 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# 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
import os
import sys
__version__='2023.2'
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'UIBCDF - Taller de Ciencia de Datos'
copyright = ''
author = """
Liliana M. Moreno Vargas & Diego Prada Gracia | <a href= "mailto:uibcdf@gmail.com">Contáctanos</a>.
<br>
<a href="https://uibcdf.org">Unidad de Investigación en Biología Computacional y Diseño de Fármacos</a> del <a href=
"http://himfg.com.mx">Hospital Infantil de México Federico Gómez.</a>
"""
version = __version__.split('+')[0]
release = __version__
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.intersphinx',
'sphinx.ext.mathjax',
'sphinx.ext.todo',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx.ext.githubpages',
# 'sphinxcontrib.bibtex',
'sphinx.ext.extlinks',
'sphinx_copybutton',
'sphinx_design',
'sphinx_favicon',
'myst_nb',
]
# Myst extensions and options
myst_enable_extensions = [
'dollarmath',
'amsmath',
'colon_fence'
]
myst_heading_anchors = 3
# Autosummary options
autosummary_generate = True
# Napoleon settings
napoleon_numpy_docstring = True
napoleon_google_docstring = False
napoleon_use_param = False
napoleon_use_ivar = True
# sphinxcontrib-bibtex
#bibtex_bibfiles = ['bibliography.bib'] # list of *.bib files
#bibtex_default_style = 'alpha'
#bibtex_encoding = 'utf-8-sig'
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
exclude_patterns = ['**README.md', '.github/*', 'notas.md']
source_parsers={
}
source_suffix = ['.md', '.ipynb']
# The master toctree document.
master_doc = 'index'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
# language was edited to use sphinx-intl
language = 'es'
# These next two variables were incluede to use sphinx-intl
locale_dirs = ['_locale/']
gettext_compact = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'default'
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'sphinx_book_theme'
#html_theme = 'pydata_sphinx_theme'
html_theme_options = {
"logo": {"alt_text": "UIBCDF Taller Ciencia de Datos"},
"use_source_button": True,
"use_repository_button": True,
"repository_provider": "github",
"repository_url": "https://github.com/uibcdf/Taller-Ciencia-Datos"
}
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = []
html_static_path = ['_static']
html_logo = "_static/LogoUIBCDF_vectorizado.svg"
favicons = ["favicon-16x16.png",
"favicon-124x124.png",
"favicon-128x128.png",
"favicon-192x192.png",
"icon.svg"]
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# Custom css
html_css_files = [
'custom.css',
]