|
1 | | -# -*- coding: utf-8 -*- |
2 | | -# |
3 | | -# Configuration file for the Sphinx documentation builder. |
4 | | -# |
5 | | -# This file does only contain a selection of the most common options. For a |
6 | | -# full list see the documentation: |
7 | | -# http://www.sphinx-doc.org/en/master/config |
8 | | - |
9 | | -# -- Path setup -------------------------------------------------------------- |
10 | | - |
11 | | -# If extensions (or modules to document with autodoc) are in another directory, |
12 | | -# add these directories to sys.path here. If the directory is relative to the |
13 | | -# documentation root, use os.path.abspath to make it absolute, like shown here. |
14 | | -# |
15 | | -# import os |
16 | | -# import sys |
17 | | -# sys.path.insert(0, os.path.abspath('.')) |
18 | | - |
19 | | - |
20 | 1 | # -- Project information ----------------------------------------------------- |
21 | 2 |
|
22 | 3 | project = "Sphinx Toggle Button" |
23 | | -copyright = "2018, Chris Holdgraf" |
| 4 | +copyright = "2022, Executable Books Community" |
24 | 5 | author = "Chris Holdgraf" |
25 | 6 |
|
26 | 7 | # The short X.Y version |
|
30 | 11 |
|
31 | 12 |
|
32 | 13 | # -- General configuration --------------------------------------------------- |
33 | | - |
34 | | -# If your documentation needs a minimal Sphinx version, state it here. |
35 | | -# |
36 | | -# needs_sphinx = '1.0' |
37 | | - |
38 | | -# Add any Sphinx extension module names here, as strings. They can be |
39 | | -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
40 | | -# ones. |
41 | | -extensions = ["myst_parser", "sphinx_design", "sphinx_togglebutton"] |
42 | | - |
43 | | -# Add any paths that contain templates here, relative to this directory. |
| 14 | +extensions = ["myst_nb", "sphinx_examples", "sphinx_design", "sphinx_togglebutton"] |
44 | 15 | templates_path = ["_templates"] |
45 | | - |
46 | | -# The suffix(es) of source filenames. |
47 | | -# You can specify multiple suffix as a list of string: |
48 | | -# |
49 | | -# source_suffix = ['.rst', '.md'] |
50 | 16 | source_suffix = ".rst" |
51 | | - |
52 | | -# The master toctree document. |
53 | | -master_doc = "index" |
54 | | - |
55 | | -# The language for content autogenerated by Sphinx. Refer to documentation |
56 | | -# for a list of supported languages. |
57 | | -# |
58 | | -# This is also used if you do content translation via gettext catalogs. |
59 | | -# Usually you set "language" from the command line for these cases. |
| 17 | +main_doc = "index" |
60 | 18 | language = None |
61 | | - |
62 | | -# List of patterns, relative to source directory, that match files and |
63 | | -# directories to ignore when looking for source files. |
64 | | -# This pattern also affects html_static_path and html_extra_path . |
65 | 19 | exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
66 | 20 |
|
67 | | -# The name of the Pygments (syntax highlighting) style to use. |
68 | | -#pygments_style = "sphinx" |
69 | | - |
70 | | - |
71 | 21 | # -- Options for HTML output ------------------------------------------------- |
72 | | - |
73 | | -# The theme to use for HTML and HTML Help pages. See the documentation for |
74 | | -# a list of builtin themes. |
75 | | -# |
76 | 22 | html_theme = "sphinx_book_theme" |
77 | 23 | # html_theme = "sphinx_rtd_theme" # These are just for testing |
| 24 | +# html_theme = "pydata_sphinx_theme" |
78 | 25 | # html_theme = "alabaster" |
79 | 26 | # html_theme = "furo" |
80 | 27 |
|
|
92 | 39 | # togglebutton_hint = "test show" |
93 | 40 | # togglebutton_hint_hide = "test hide" |
94 | 41 | # togglebutton_open_on_print = False |
95 | | - |
96 | | -# Add any paths that contain custom static files (such as style sheets) here, |
97 | | -# relative to this directory. They are copied after the builtin static files, |
98 | | -# so a file named "default.css" will overwrite the builtin "default.css". |
99 | | -# html_static_path = ["_static"] |
100 | | - |
101 | | -# Custom sidebar templates, must be a dictionary that maps document names |
102 | | -# to template names. |
103 | | -# |
104 | | -# The default sidebars (for documents that don't match any pattern) are |
105 | | -# defined by theme itself. Builtin themes are using these templates by |
106 | | -# default: ``['localtoc.html', 'relations.html', 'sourcelink.html', |
107 | | -# 'searchbox.html']``. |
108 | | -# |
109 | | -# html_sidebars = {} |
110 | | - |
111 | | -# -- Options for HTMLHelp output --------------------------------------------- |
112 | | - |
113 | | -# Output file base name for HTML help builder. |
114 | | -htmlhelp_basename = "SphinxCollapseAdmonitionsdoc" |
115 | | - |
116 | | - |
117 | | -# -- Options for LaTeX output ------------------------------------------------ |
118 | | - |
119 | | -latex_elements = { |
120 | | - # The paper size ('letterpaper' or 'a4paper'). |
121 | | - # |
122 | | - # 'papersize': 'letterpaper', |
123 | | - # The font size ('10pt', '11pt' or '12pt'). |
124 | | - # |
125 | | - # 'pointsize': '10pt', |
126 | | - # Additional stuff for the LaTeX preamble. |
127 | | - # |
128 | | - # 'preamble': '', |
129 | | - # Latex figure (float) alignment |
130 | | - # |
131 | | - # 'figure_align': 'htbp', |
132 | | -} |
133 | | - |
134 | | -# Grouping the document tree into LaTeX files. List of tuples |
135 | | -# (source start file, target name, title, |
136 | | -# author, documentclass [howto, manual, or own class]). |
137 | | -latex_documents = [ |
138 | | - ( |
139 | | - master_doc, |
140 | | - "SphinxCollapseAdmonitions.tex", |
141 | | - "Sphinx Collapse Admonitions Documentation", |
142 | | - "Chris Holdgraf", |
143 | | - "manual", |
144 | | - ) |
145 | | -] |
146 | | - |
147 | | - |
148 | | -# -- Options for manual page output ------------------------------------------ |
149 | | - |
150 | | -# One entry per manual page. List of tuples |
151 | | -# (source start file, name, description, authors, manual section). |
152 | | -man_pages = [ |
153 | | - ( |
154 | | - master_doc, |
155 | | - "SphinxCollapseAdmonitions", |
156 | | - "Sphinx Collapse Admonitions Documentation", |
157 | | - [author], |
158 | | - 1, |
159 | | - ) |
160 | | -] |
161 | | - |
162 | | - |
163 | | -# -- Options for Texinfo output ---------------------------------------------- |
164 | | - |
165 | | -# Grouping the document tree into Texinfo files. List of tuples |
166 | | -# (source start file, target name, title, author, |
167 | | -# dir menu entry, description, category) |
168 | | -texinfo_documents = [ |
169 | | - ( |
170 | | - master_doc, |
171 | | - "SphinxCollapseAdmonitions", |
172 | | - "Sphinx Collapse Admonitions Documentation", |
173 | | - author, |
174 | | - "SphinxCollapseAdmonitions", |
175 | | - "One line description of project.", |
176 | | - "Miscellaneous", |
177 | | - ) |
178 | | -] |
0 commit comments