# -*- coding: utf-8 -*-1#2# Sage documentation build configuration file, created by3# sphinx-quickstart on Thu Aug 21 20:15:55 2008.4#5# This file is execfile()d with the current directory set to its containing dir.6#7# The contents of this file are pickled, so don't put values in the namespace8# that aren't pickleable (module imports are okay, they're removed automatically).9#10# All configuration values have a default; values that are commented out11# serve to show the default.1213import sys, os14sys.path.append(os.environ['SAGE_DOC'])15from common.conf import *1617# General information about the project.18project = u"Sage Reference Manual"19name = "reference"2021# The name for this set of Sphinx documents. If None, it defaults to22# "<project> v<release> documentation".23html_title = project + " v"+release2425html_short_title = u'Sage Reference v' + release2627# Output file base name for HTML help builder.28htmlhelp_basename = name2930# Grouping the document tree into LaTeX files. List of tuples31# (source start file, target name, title, author, document class [howto/manual]).32latex_documents = [33('index', name + '.tex', u'Sage Reference Manual',34u'The Sage Development Team', 'manual'),35]3637latex_elements['preamble'] += r'''38% One-column index39\makeatletter40\renewenvironment{theindex}{41\chapter*{\indexname}42\markboth{\MakeUppercase\indexname}{\MakeUppercase\indexname}43\setlength{\parskip}{0.1em}44\relax45\let\item\@idxitem46}{}47\makeatother48'''4950#Ignore all .rst in the _sage subdirectory51exclude_trees = exclude_trees + ['_sage']525354