forked from fdabrandao/MO-book-with-AMPL
-
Notifications
You must be signed in to change notification settings - Fork 3
/
conf.py
95 lines (95 loc) · 2.71 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
###############################################################################
# Auto-generated by `jupyter-book config`
# If you wish to continue using _config.yml, make edits to that file and
# re-generate this one.
###############################################################################
author = "The MO Book Group"
bibtex_bibfiles = ["references.bib"]
comments_config = {"hypothesis": False, "utterances": False}
copyright = "2024"
exclude_patterns = [
"**.ipynb_checkpoints",
"**.pytest_cache",
".DS_Store",
"Thumbs.db",
"_build",
"tools",
"theme",
]
extensions = [
"sphinx_togglebutton",
"sphinx_copybutton",
"myst_nb",
"jupyter_book",
"sphinx_thebe",
"sphinx_comments",
"sphinx_external_toc",
"sphinx.ext.intersphinx",
"sphinx_design",
"sphinx_book_theme",
"sphinxcontrib.bibtex",
"sphinx_jupyterbook_latex",
]
external_toc_exclude_missing = True
external_toc_path = "_toc.yml"
html_baseurl = "https://ampl.com/mo-book/"
html_favicon = "media/cropped-favicon-raw-192x192.png"
html_logo = "media/logo-03.png"
html_sourcelink_suffix = ""
html_theme = "sphinx_book_theme"
html_theme_options = {
"search_bar_text": "Search this book...",
"launch_buttons": {
"notebook_interface": "classic",
"binderhub_url": "",
"jupyterhub_url": "",
"thebe": False,
"colab_url": "https://colab.research.google.com",
},
"path_to_docs": "",
"repository_url": "https://github.com/ampl/mo-book.ampl.com",
"repository_branch": "dev",
"extra_footer": "",
"home_page_in_toc": True,
"announcement": "",
"analytics": {"google_analytics_id": "G-TB617QHPDG"},
"use_repository_button": True,
"use_edit_page_button": False,
"use_issues_button": True,
"navigation_with_keys": True,
}
html_title = "Hands-On Mathematical Optimization with AMPL in Python"
# latex_engine = "pdflatex"
myst_enable_extensions = [
"colon_fence",
"dollarmath",
"linkify",
"substitution",
"tasklist",
]
myst_url_schemes = ["mailto", "http", "https"]
nb_execution_allow_errors = False
nb_execution_cache_path = ""
nb_execution_excludepatterns = []
nb_execution_in_temp = False
nb_execution_mode = "off"
nb_execution_timeout = 30
nb_output_stderr = "show"
numfig = True
pygments_style = "sphinx"
suppress_warnings = ["myst.domains"]
use_jupyterbook_latex = True
use_multitoc_numbering = False
latex_elements = {
"extraclassoptions": "oneside", # do not leave empty pages
"tableofcontents": "\\sphinxtableofcontents",
}
latex_documents = [
(
"index",
"MO-BOOK-With-AMPL.tex",
"Hands-On Mathematical Optimization with AMPL in Python",
"The MO Book Group",
"manual",
),
]