|
1 | | -# -*- coding: utf-8 -*- |
2 | | -# |
3 | | -# mpmath documentation build configuration file, created by |
4 | | -# sphinx-quickstart on Sun Apr 13 00:14:30 2008. |
5 | | -# |
6 | | -# This file is execfile()d with the current directory set to its containing dir. |
7 | | -# |
8 | | -# The contents of this file are pickled, so don't put values in the namespace |
9 | | -# that aren't pickleable (module imports are okay, they're removed automatically). |
10 | | -# |
11 | | -# All configuration values have a default value; values that are commented out |
12 | | -# serve to show the default value. |
| 1 | +""" |
| 2 | +Mpmath documentation build configuration file. |
13 | 3 |
|
14 | | -import sys |
| 4 | +This file is execfile()d with the current directory set to its |
| 5 | +containing dir. |
15 | 6 |
|
16 | | -# If your extensions are in another directory, add it here. |
17 | | -sys.path.insert(0, '../..') |
| 7 | +The contents of this file are pickled, so don't put values in the |
| 8 | +namespace that aren't pickleable (module imports are okay, they're |
| 9 | +removed automatically). |
| 10 | +""" |
18 | 11 |
|
19 | | -# General configuration |
20 | | -# --------------------- |
21 | | - |
22 | | -# Add any Sphinx extension module names here, as strings. They can be extensions |
23 | | -# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
24 | | -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax'] |
| 12 | +import mpmath |
25 | 13 |
|
26 | | -# MathJax file, which is free to use. See http://www.mathjax.org/docs/2.0/start.html |
27 | | -# mathjax_path = 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML-full' |
28 | 14 |
|
29 | | -# Add any paths that contain templates here, relative to this directory. |
30 | | -templates_path = [] |
| 15 | +# Add any Sphinx extension module names here, as strings. |
| 16 | +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax'] |
31 | 17 |
|
32 | 18 | # The suffix of source filenames. |
33 | 19 | source_suffix = '.txt' |
34 | 20 |
|
35 | 21 | # The master toctree document. |
36 | 22 | master_doc = 'index' |
37 | 23 |
|
38 | | -# General substitutions. |
| 24 | +# Project information. |
39 | 25 | project = 'mpmath' |
40 | 26 | copyright = '2007-2021, Fredrik Johansson and mpmath developers' |
41 | | - |
42 | | -# The default replacements for |version| and |release|, also used in various |
43 | | -# other places throughout the built documents. |
44 | | -# |
45 | | -# The short X.Y version. |
46 | | -import mpmath |
47 | 27 | version = mpmath.__version__ |
48 | | -# The full version, including alpha/beta/rc tags. |
49 | | -release = mpmath.__version__ |
| 28 | +release = version |
50 | 29 |
|
51 | | -# There are two options for replacing |today|: either, you set today to some |
52 | | -# non-false value, then it is used: |
53 | | -#today = '' |
54 | | -# Else, today_fmt is used as the format for a strftime call. |
| 30 | +# Define how the current time is formatted using time.strftime(). |
55 | 31 | today_fmt = '%B %d, %Y' |
56 | 32 |
|
57 | | -# List of documents that shouldn't be included in the build. |
58 | | -#unused_docs = [] |
59 | | - |
60 | | -# If true, '()' will be appended to :func: etc. cross-reference text. |
61 | | -#add_function_parentheses = True |
62 | | - |
63 | | -# If true, the current module name will be prepended to all description |
64 | | -# unit titles (such as .. function::). |
65 | | -#add_module_names = True |
66 | | - |
67 | | -# If true, sectionauthor and moduleauthor directives will be shown in the |
68 | | -# output. They are ignored by default. |
69 | | -#show_authors = False |
70 | | - |
71 | | -# The name of the Pygments (syntax highlighting) style to use. |
72 | | -pygments_style = 'sphinx' |
73 | | - |
74 | | - |
75 | | -# Options for HTML output |
76 | | -# ----------------------- |
77 | | - |
78 | 33 | # The "theme" that the HTML output should use. |
79 | 34 | html_theme = 'classic' |
80 | 35 |
|
81 | | -# Add any paths that contain custom static files (such as style sheets) here, |
82 | | -# relative to this directory. They are copied after the builtin static files, |
83 | | -# so a file named "default.css" will overwrite the builtin "default.css". |
84 | | -html_static_path = [] |
85 | | - |
86 | | -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
87 | | -# using the given strftime format. |
88 | | -html_last_updated_fmt = '%b %d, %Y' |
89 | | - |
90 | | -# If true, SmartyPants will be used to convert quotes and dashes to |
91 | | -# typographically correct entities. |
92 | | -#html_use_smartypants = True |
93 | | - |
94 | | -# Content template for the index page. |
95 | | -#html_index = '' |
96 | | - |
97 | | -# Custom sidebar templates, maps document names to template names. |
98 | | -#html_sidebars = {} |
99 | | - |
100 | | -# Additional templates that should be rendered to pages, maps page names to |
101 | | -# template names. |
102 | | -#html_additional_pages = {} |
103 | | - |
104 | | -# If false, no module index is generated. |
105 | | -#html_use_modindex = True |
106 | | - |
107 | | -# If true, the reST sources are included in the HTML build as _sources/<name>. |
108 | | -#html_copy_source = True |
109 | | - |
110 | 36 | # Output file base name for HTML help builder. |
111 | 37 | htmlhelp_basename = 'mpmathdoc' |
112 | 38 |
|
113 | | - |
114 | | -# Options for LaTeX output |
115 | | -# ------------------------ |
116 | | - |
117 | | -# The paper size ('letter' or 'a4'). |
118 | | -#latex_paper_size = 'letter' |
119 | | - |
120 | | -# The font size ('10pt', '11pt' or '12pt'). |
121 | | -#latex_font_size = '10pt' |
122 | | - |
123 | 39 | # Grouping the document tree into LaTeX files. List of tuples |
124 | 40 | # (source start file, target name, title, author, document class [howto/manual]). |
125 | | -latex_documents = [(master_doc, 'main.tex', 'mpmath documentation', |
| 41 | +latex_documents = [(master_doc, 'mpmath.tex', 'mpmath documentation', |
126 | 42 | r'Fredrik Johansson \and mpmath contributors', 'manual')] |
127 | 43 |
|
128 | 44 | # Additional stuff for the LaTeX preamble. |
129 | 45 | latex_preamble = r'\usepackage{amsfonts}' |
130 | 46 |
|
131 | | -# Documents to append as an appendix to all manuals. |
132 | | -#latex_appendices = [] |
133 | | - |
134 | | -# If false, no module index is generated. |
135 | | -#latex_use_modindex = True |
136 | | - |
| 47 | +# The name of default reST role, that is, for text marked up `like this`. |
137 | 48 | default_role = 'math' |
138 | | -pngmath_dvipng_args = ['-gamma 1.5', '-D 110'] |
0 commit comments