Ticket #6187: trac_6187_testreference.patch

File trac_6187_testreference.patch, 2.8 KB (added by mpatel, 13 years ago)

Adds a document called 'testreference' for testing the reference builder. It's non-essential and should be independent of the other patches.

  • new file doc/en/testreference/algebras.rst

    # HG changeset patch
    # User Mitesh Patel <qed777@gmail.com>
    # Date 1247596914 25200
    # Node ID 91df415a8353774d9d27dd9d14aba579cc144a50
    # Parent  2052408e357347c36a855e490d6390cd492859e3
    #6187, testreference test document
    
    diff --git a/doc/en/testreference/algebras.rst b/doc/en/testreference/algebras.rst
    new file mode 100644
    - +  
     1.. _ch:algebras:
     2
     3Algebras
     4========
     5
     6.. toctree::
     7   :maxdepth: 2
     8
     9   sage/algebras/free_algebra
     10   sage/algebras/free_algebra_element
     11
     12   sage/algebras/free_algebra_quotient
     13   sage/algebras/free_algebra_quotient_element
     14
     15   sage/algebras/steenrod_algebra
     16   sage/algebras/steenrod_algebra_element
     17   sage/algebras/steenrod_algebra_bases
  • new file doc/en/testreference/conf.py

    diff --git a/doc/en/testreference/conf.py b/doc/en/testreference/conf.py
    new file mode 100644
    - +  
     1# -*- coding: utf-8 -*-
     2#
     3# Sage documentation build configuration file, created by
     4# sphinx-quickstart on Thu Aug 21 20:15:55 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
     14import sys, os
     15sys.path.append(os.environ['SAGE_DOC'])
     16from common.conf import *
     17
     18# General information about the project.
     19project = u"Test"
     20name = "test"
     21
     22# The name for this set of Sphinx documents.  If None, it defaults to
     23# "<project> v<release> documentation".
     24html_title = project + " v"+release
     25
     26# Output file base name for HTML help builder.
     27htmlhelp_basename = name
     28
     29# Grouping the document tree into LaTeX files. List of tuples
     30# (source start file, target name, title, author, document class [howto/manual]).
     31latex_documents = [
     32  ('index', name + '.tex', u'Test',
     33   u'The Sage Development Team', 'manual'),
     34]
     35
     36#Ignore all .rst in the _sage subdirectory
     37exclude_trees = exclude_trees + ['_sage']
  • new file doc/en/testreference/index.rst

    diff --git a/doc/en/testreference/index.rst b/doc/en/testreference/index.rst
    new file mode 100644
    - +  
     1.. Sage Reference Manual documentation master file, created by sphinx-quickstart on Sun Sep 28 03:34:37 2008.
     2   You can adapt this file completely to your liking, but it should at least
     3   contain the root `toctree` directive.
     4
     5.. _ch:intro:
     6
     7Test
     8====
     9
     10This is a test target for testing the Sage reference manual builder.
     11It is non-trivial but abbreviated, so it should build quickly.
     12
     13.. toctree::
     14   :maxdepth: 2
     15
     16   algebras
     17
     18Indices and tables
     19==================
     20
     21* :ref:`genindex`
     22* :ref:`modindex`
     23* :ref:`search`
     24