Debian Codegraph @

doc/source/conf.py

raw symbols SCIP
1 import hmmlearn
2
3 needs_sphinx = '2.0'
4 extensions = [
5 'sphinx.ext.autodoc',
6 'sphinx.ext.autosummary',
7 'sphinx.ext.intersphinx',
8 'sphinx.ext.napoleon',
9 'sphinx_gallery.gen_gallery',
10 ]
11
12 project = 'hmmlearn'
13 copyright = '2010-present, hmmlearn developers (BSD License)'
14 version = release = hmmlearn.__version__
15 default_role = 'py:obj'
16 pygments_style = 'sphinx'
17 language = 'en'
18
19 # -- Options for extensions --------------------------------------------------
20
21 autodoc_default_options = {
22 'members': None,
23 'inherited-members': None,
24 'special-members': '__init__',
25 }
26
27 intersphinx_mapping = {
28 'sklearn': ('https://scikit-learn.org/stable/', None),
29 }
30
31 napoleon_use_ivar = True
32 napoleon_use_rtype = False
33
34 sphinx_gallery_conf = {
35 'examples_dirs': '../../examples',
36 'gallery_dirs': 'auto_examples'
37 }
38
39 # -- Options for HTML output -------------------------------------------------
40
41 html_theme = 'pydata_sphinx_theme'
42 html_theme_options = {
43 'github_url': 'https://github.com/hmmlearn/hmmlearn',
44 }
45 html_css_files = ['hide_some_gallery_elements.css']
46 html_static_path = ['_static']
47 htmlhelp_basename = 'hmmlearn_doc'
48
49 # -- Options for LaTeX output ------------------------------------------------
50
51 latex_documents = [('index', 'user_guide.tex', 'hmmlearn user guide',
52 'hmmlearn developers', 'manual'), ]