Blame doc/conf.py

Packit 67cb25
# -*- coding: utf-8 -*-
Packit 67cb25
#
Packit 67cb25
# GSL documentation build configuration file, created by
Packit 67cb25
# sphinx-quickstart on Mon Feb 27 15:17:27 2017.
Packit 67cb25
#
Packit 67cb25
# This file is execfile()d with the current directory set to its
Packit 67cb25
# containing dir.
Packit 67cb25
#
Packit 67cb25
# Note that not all possible configuration values are present in this
Packit 67cb25
# autogenerated file.
Packit 67cb25
#
Packit 67cb25
# All configuration values have a default; values that are commented out
Packit 67cb25
# serve to show the default.
Packit 67cb25
Packit 67cb25
# If extensions (or modules to document with autodoc) are in another directory,
Packit 67cb25
# add these directories to sys.path here. If the directory is relative to the
Packit 67cb25
# documentation root, use os.path.abspath to make it absolute, like shown here.
Packit 67cb25
#
Packit 67cb25
# import os
Packit 67cb25
# import sys
Packit 67cb25
# sys.path.insert(0, os.path.abspath('.'))
Packit 67cb25
import sphinx_rtd_theme
Packit 67cb25
Packit 67cb25
Packit 67cb25
# -- General configuration ------------------------------------------------
Packit 67cb25
Packit 67cb25
# If your documentation needs a minimal Sphinx version, state it here.
Packit 67cb25
#
Packit 67cb25
# needs_sphinx = '1.0'
Packit 67cb25
Packit 67cb25
# Add any Sphinx extension module names here, as strings. They can be
Packit 67cb25
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
Packit 67cb25
# ones.
Packit 67cb25
extensions = ['sphinx.ext.imgmath']
Packit 67cb25
Packit 67cb25
# Add any paths that contain templates here, relative to this directory.
Packit 67cb25
templates_path = ['_templates']
Packit 67cb25
Packit 67cb25
# The suffix(es) of source filenames.
Packit 67cb25
# You can specify multiple suffix as a list of string:
Packit 67cb25
#
Packit 67cb25
# source_suffix = ['.rst', '.md']
Packit 67cb25
source_suffix = '.rst'
Packit 67cb25
Packit 67cb25
# The master toctree document.
Packit 67cb25
master_doc = 'index'
Packit 67cb25
Packit 67cb25
# General information about the project.
Packit 67cb25
project = u'GSL'
Packit 67cb25
copyright = u'1996-2018 The GSL Team'
Packit 67cb25
author = u'The GSL Team'
Packit 67cb25
title = u'GNU Scientific Library'
Packit 67cb25
Packit 67cb25
# The version info for the project you're documenting, acts as replacement for
Packit 67cb25
# |version| and |release|, also used in various other places throughout the
Packit 67cb25
# built documents.
Packit 67cb25
#
Packit 67cb25
# The short X.Y version.
Packit 67cb25
version = u'2.5'
Packit 67cb25
# The full version, including alpha/beta/rc tags.
Packit 67cb25
release = u'2.5'
Packit 67cb25
Packit 67cb25
primary_domain = 'c'
Packit 67cb25
numfig = True
Packit 67cb25
Packit 67cb25
# The language for content autogenerated by Sphinx. Refer to documentation
Packit 67cb25
# for a list of supported languages.
Packit 67cb25
#
Packit 67cb25
# This is also used if you do content translation via gettext catalogs.
Packit 67cb25
# Usually you set "language" from the command line for these cases.
Packit 67cb25
language = None
Packit 67cb25
Packit 67cb25
# List of patterns, relative to source directory, that match files and
Packit 67cb25
# directories to ignore when looking for source files.
Packit 67cb25
# This patterns also effect to html_static_path and html_extra_path
Packit 67cb25
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'include.rst', 'specfunc-*.rst']
Packit 67cb25
Packit 67cb25
# The name of the Pygments (syntax highlighting) style to use.
Packit 67cb25
pygments_style = 'sphinx'
Packit 67cb25
Packit 67cb25
# If true, `todo` and `todoList` produce output, else they produce nothing.
Packit 67cb25
todo_include_todos = False
Packit 67cb25
Packit 67cb25
Packit 67cb25
# -- Options for HTML output ----------------------------------------------
Packit 67cb25
Packit 67cb25
# The theme to use for HTML and HTML Help pages.  See the documentation for
Packit 67cb25
# a list of builtin themes.
Packit 67cb25
#
Packit 67cb25
#html_theme = 'alabaster'
Packit 67cb25
html_theme = 'sphinx_rtd_theme'
Packit 67cb25
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
Packit 67cb25
Packit 67cb25
# Theme options are theme-specific and customize the look and feel of a theme
Packit 67cb25
# further.  For a list of options available for each theme, see the
Packit 67cb25
# documentation.
Packit 67cb25
#
Packit 67cb25
html_theme_options = {
Packit 67cb25
  'display_version': True,
Packit 67cb25
  'prev_next_buttons_location': 'both'
Packit 67cb25
}
Packit 67cb25
Packit 67cb25
# Add any paths that contain custom static files (such as style sheets) here,
Packit 67cb25
# relative to this directory. They are copied after the builtin static files,
Packit 67cb25
# so a file named "default.css" will overwrite the builtin "default.css".
Packit 67cb25
html_static_path = ['_static']
Packit 67cb25
Packit 67cb25
Packit 67cb25
# -- Options for HTMLHelp output ------------------------------------------
Packit 67cb25
Packit 67cb25
# Output file base name for HTML help builder.
Packit 67cb25
htmlhelp_basename = 'GSLdoc'
Packit 67cb25
Packit 67cb25
Packit 67cb25
# -- Options for LaTeX output ---------------------------------------------
Packit 67cb25
Packit 67cb25
my_latex_preamble = '\\DeclareMathOperator\\arccosh{arccosh} \
Packit 67cb25
                     \\DeclareMathOperator\\arcsinh{arcsinh} \
Packit 67cb25
                     \\DeclareMathOperator\\arctanh{arctanh} \
Packit 67cb25
                     \\DeclareMathOperator\\arcsec{arcsec} \
Packit 67cb25
                     \\DeclareMathOperator\\arccsc{arccsc} \
Packit 67cb25
                     \\DeclareMathOperator\\arccot{arccot} \
Packit 67cb25
                     \\DeclareMathOperator\\csch{csch} \
Packit 67cb25
                     \\DeclareMathOperator\\sech{sech} \
Packit 67cb25
                     \\DeclareMathOperator\\arcsech{arcsech} \
Packit 67cb25
                     \\DeclareMathOperator\\arccsch{arccsch} \
Packit 67cb25
                     \\DeclareMathOperator\\arccoth{arccoth} \
Packit 67cb25
                     \\DeclareMathOperator\\erf{erf} \
Packit 67cb25
                     \\DeclareMathOperator\\erfc{erfc} \
Packit 67cb25
                     \\DeclareMathOperator\\sgn{sgn} \
Packit 67cb25
                     \\DeclareMathOperator\\sinc{sinc} \
Packit 67cb25
                     \\DeclareMathOperator\\Var{Var} \
Packit 67cb25
                     \\DeclareMathOperator\\diag{diag}'
Packit 67cb25
Packit 67cb25
my_latex_authors = 'Mark Galassi \\\\ \
Packit 67cb25
                    Jim Davies \\\\ \
Packit 67cb25
                    James Theiler \\\\ \
Packit 67cb25
                    Brian Gough \\\\ \
Packit 67cb25
                    Gerard Jungman \\\\ \
Packit 67cb25
                    Patrick Alken \\\\ \
Packit 67cb25
                    Michael Booth \\\\ \
Packit 67cb25
                    Fabrice Rossi \\\\ \
Packit 67cb25
                    Rhys Ulerich'
Packit 67cb25
Packit 67cb25
latex_elements = {
Packit 67cb25
    # The paper size ('letterpaper' or 'a4paper').
Packit 67cb25
    #
Packit 67cb25
    # 'papersize': 'letterpaper',
Packit 67cb25
Packit 67cb25
    # The font size ('10pt', '11pt' or '12pt').
Packit 67cb25
    #
Packit 67cb25
    # 'pointsize': '10pt',
Packit 67cb25
Packit 67cb25
    # Additional stuff for the LaTeX preamble.
Packit 67cb25
    #
Packit 67cb25
    'preamble': my_latex_preamble,
Packit 67cb25
Packit 67cb25
    # Latex figure (float) alignment
Packit 67cb25
    #
Packit 67cb25
    # 'figure_align': 'htbp',
Packit 67cb25
}
Packit 67cb25
Packit 67cb25
# Grouping the document tree into LaTeX files. List of tuples
Packit 67cb25
# (source start file, target name, title,
Packit 67cb25
#  author, documentclass [howto, manual, or own class]).
Packit 67cb25
latex_documents = [
Packit 67cb25
    (master_doc, 'gsl-ref.tex', title,
Packit 67cb25
     my_latex_authors, 'manual'),
Packit 67cb25
]
Packit 67cb25
Packit 67cb25
imgmath_latex_preamble = my_latex_preamble
Packit 67cb25
Packit 67cb25
Packit 67cb25
# -- Options for manual page output ---------------------------------------
Packit 67cb25
Packit 67cb25
# One entry per manual page. List of tuples
Packit 67cb25
# (source start file, name, description, authors, manual section).
Packit 67cb25
man_pages = [
Packit 67cb25
    (master_doc, 'gsl', title,
Packit 67cb25
     [author], 1)
Packit 67cb25
]
Packit 67cb25
Packit 67cb25
Packit 67cb25
# -- Options for Texinfo output -------------------------------------------
Packit 67cb25
Packit 67cb25
# Grouping the document tree into Texinfo files. List of tuples
Packit 67cb25
# (source start file, target name, title, author,
Packit 67cb25
#  dir menu entry, description, category)
Packit 67cb25
texinfo_documents = [
Packit 67cb25
    (master_doc, 'gsl-ref', title,
Packit 67cb25
     author, 'GSL', 'One line description of project.',
Packit 67cb25
     'Miscellaneous'),
Packit 67cb25
]
Packit 67cb25
Packit 67cb25