|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +# |
| 3 | +# Pysparse documentation build configuration file, created by |
| 4 | +# sphinx-quickstart on Sat Nov 8 00:17:09 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; values that are commented out |
| 12 | +# serve to show the default. |
| 13 | + |
| 14 | +import sys, os |
| 15 | + |
| 16 | +# If your extensions are in another directory, add it here. If the directory |
| 17 | +# is relative to the documentation root, use os.path.abspath to make it |
| 18 | +# absolute, like shown here. |
| 19 | +#sys.path.append(os.path.abspath('../../../Lib')) |
| 20 | +sys.path.append('sphinxext') |
| 21 | + |
| 22 | +# Import support for ipython console session syntax highlighting (lives |
| 23 | +# in the sphinxext directory defined above) |
| 24 | +import ipython_console_highlighting |
| 25 | +import mathjax |
| 26 | + |
| 27 | +import sphinx_bootstrap_theme |
| 28 | + |
| 29 | +# General configuration |
| 30 | +# --------------------- |
| 31 | + |
| 32 | +# Add any Sphinx extension module names here, as strings. They can be extensions |
| 33 | +# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
| 34 | +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest'] |
| 35 | +extensions += ['sphinx.ext.todo'] |
| 36 | +extensions += ['sphinx.ext.inheritance_diagram'] |
| 37 | +extensions += ['ipython_console_highlighting'] |
| 38 | +extensions += ['mathjax'] |
| 39 | +mathjax_path = 'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' |
| 40 | + |
| 41 | +graphviz_output_format = 'svg' |
| 42 | +inheritance_node_attrs = dict(shape='box', fontsize=12, |
| 43 | + color='gray70', style='rounded') |
| 44 | +inheritance_graph_attrs = dict(rankdir="TB", size='""', bgcolor="transparent") |
| 45 | + |
| 46 | +# Add any paths that contain templates here, relative to this directory. |
| 47 | +templates_path = ['.templates'] |
| 48 | + |
| 49 | +# The suffix of source filenames. |
| 50 | +source_suffix = '.rst' |
| 51 | + |
| 52 | +# The encoding of source files. |
| 53 | +#source_encoding = 'utf-8' |
| 54 | + |
| 55 | +# The master toctree document. |
| 56 | +master_doc = 'contents' |
| 57 | + |
| 58 | +# General information about the project. |
| 59 | +project = u'SparseLib' |
| 60 | +copyright = u'2015, Dominique Orban and Nikolaj van Omme' |
| 61 | + |
| 62 | +# The version info for the project you're documenting, acts as replacement for |
| 63 | +# |version| and |release|, also used in various other places throughout the |
| 64 | +# built documents. |
| 65 | +# |
| 66 | +# The short X.Y version. |
| 67 | +version = '0.0' |
| 68 | +# The full version, including alpha/beta/rc tags. |
| 69 | +release = '0.0.1' |
| 70 | + |
| 71 | +# The language for content autogenerated by Sphinx. Refer to documentation |
| 72 | +# for a list of supported languages. |
| 73 | +#language = None |
| 74 | + |
| 75 | +# There are two options for replacing |today|: either, you set today to some |
| 76 | +# non-false value, then it is used: |
| 77 | +#today = '' |
| 78 | +# Else, today_fmt is used as the format for a strftime call. |
| 79 | +#today_fmt = '%B %d, %Y' |
| 80 | + |
| 81 | +# List of documents that shouldn't be included in the build. |
| 82 | +#unused_docs = [] |
| 83 | + |
| 84 | +# List of directories, relative to source directory, that shouldn't be searched |
| 85 | +# for source files. |
| 86 | +exclude_trees = [] |
| 87 | + |
| 88 | +# The reST default role (used for this markup: `text`) to use for all documents. |
| 89 | +#default_role = None |
| 90 | + |
| 91 | +# If true, '()' will be appended to :func: etc. cross-reference text. |
| 92 | +#add_function_parentheses = True |
| 93 | + |
| 94 | +# If true, the current module name will be prepended to all description |
| 95 | +# unit titles (such as .. function::). |
| 96 | +#add_module_names = True |
| 97 | + |
| 98 | +# If true, sectionauthor and moduleauthor directives will be shown in the |
| 99 | +# output. They are ignored by default. |
| 100 | +#show_authors = False |
| 101 | + |
| 102 | +# The name of the Pygments (syntax highlighting) style to use. |
| 103 | +pygments_style = 'sphinx' |
| 104 | + |
| 105 | +# TODO list |
| 106 | +todo_include_todos = False |
| 107 | + |
| 108 | + |
| 109 | +# Options for HTML output |
| 110 | +# ----------------------- |
| 111 | + |
| 112 | +# The style sheet to use for HTML and HTML Help pages. A file of that name |
| 113 | +# must exist either in Sphinx' static/ path, or in one of the custom paths |
| 114 | +# given in html_static_path. |
| 115 | +html_theme = "bootstrap" |
| 116 | +html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() |
| 117 | +html_theme_options = { |
| 118 | + 'source_link_position': "footer", |
| 119 | + # Bootswatch (http://bootswatch.com/) theme. |
| 120 | + 'bootswatch_theme': "spacelab", |
| 121 | +} |
| 122 | + |
| 123 | +# The name for this set of Sphinx documents. If None, it defaults to |
| 124 | +# "<project> v<release> documentation". |
| 125 | +#html_title = None |
| 126 | + |
| 127 | +# A shorter title for the navigation bar. Default is the same as html_title. |
| 128 | +#html_short_title = None |
| 129 | + |
| 130 | +# The name of an image file (relative to this directory) to place at the top |
| 131 | +# of the sidebar. |
| 132 | +#html_logo = 'spmatrix-logo.png' |
| 133 | + |
| 134 | +# The name of an image file (within the static path) to use as favicon of the |
| 135 | +# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
| 136 | +# pixels large. |
| 137 | +#html_favicon = None |
| 138 | + |
| 139 | +# Add any paths that contain custom static files (such as style sheets) here, |
| 140 | +# relative to this directory. They are copied after the builtin static files, |
| 141 | +# so a file named "default.css" will overwrite the builtin "default.css". |
| 142 | +html_static_path = ['static'] |
| 143 | + |
| 144 | +# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
| 145 | +# using the given strftime format. |
| 146 | +#html_last_updated_fmt = '%b %d, %Y' |
| 147 | + |
| 148 | +# If true, SmartyPants will be used to convert quotes and dashes to |
| 149 | +# typographically correct entities. |
| 150 | +#html_use_smartypants = True |
| 151 | + |
| 152 | +html_index = 'index.html' |
| 153 | + |
| 154 | +# Custom sidebar templates, maps document names to template names. |
| 155 | +#html_sidebars = {'index' : 'indexsidebar.html'} |
| 156 | + |
| 157 | +# Additional templates that should be rendered to pages, maps page names to |
| 158 | +# template names. |
| 159 | +#html_additional_pages = {'index' : 'index.html'} |
| 160 | + |
| 161 | +# If false, no module index is generated. |
| 162 | +#html_use_modindex = True |
| 163 | + |
| 164 | +# If false, no index is generated. |
| 165 | +#html_use_index = True |
| 166 | + |
| 167 | +# If true, the index is split into individual pages for each letter. |
| 168 | +#html_split_index = False |
| 169 | + |
| 170 | +# If true, the reST sources are included in the HTML build as _sources/<name>. |
| 171 | +#html_copy_source = True |
| 172 | + |
| 173 | +# If true, an OpenSearch description file will be output, and all pages will |
| 174 | +# contain a <link> tag referring to it. The value of this option must be the |
| 175 | +# base URL from which the finished HTML is served. |
| 176 | +#html_use_opensearch = '' |
| 177 | + |
| 178 | +# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). |
| 179 | +#html_file_suffix = '' |
| 180 | + |
| 181 | +# Output file base name for HTML help builder. |
| 182 | +htmlhelp_basename = 'CySparseDoc' |
| 183 | + |
| 184 | + |
| 185 | +# Options for LaTeX output |
| 186 | +# ------------------------ |
| 187 | + |
| 188 | +# The paper size ('letter' or 'a4'). |
| 189 | +#latex_paper_size = 'letter' |
| 190 | + |
| 191 | +# The font size ('10pt', '11pt' or '12pt'). |
| 192 | +#latex_font_size = '10pt' |
| 193 | + |
| 194 | +# Grouping the document tree into LaTeX files. List of tuples |
| 195 | +# (source start file, target name, title, author, document class [howto/manual]). |
| 196 | +latex_documents = [ |
| 197 | + ('contents', 'Pysparse.tex', ur'Pysparse Documentation', |
| 198 | + ur'Roman Geus, Daniel Wheeler and Dominique Orban', 'manual'), |
| 199 | +] |
| 200 | + |
| 201 | +# The name of an image file (relative to this directory) to place at the top of |
| 202 | +# the title page. |
| 203 | +latex_logo = 'spmatrix-logo.png' |
| 204 | + |
| 205 | +# For "manual" documents, if this is true, then toplevel headings are parts, |
| 206 | +# not chapters. |
| 207 | +#latex_use_parts = False |
| 208 | + |
| 209 | +# Additional stuff for the LaTeX preamble. |
| 210 | +latex_preamble = '\usepackage{amsfonts,amsmath}' |
| 211 | + |
| 212 | +# Documents to append as an appendix to all manuals. |
| 213 | +#latex_appendices = [] |
| 214 | + |
| 215 | +# If false, no module index is generated. |
| 216 | +#latex_use_modindex = True |
0 commit comments