Commit 3b958a22 authored by Tiago Peixoto's avatar Tiago Peixoto

Trivial doc configuration modifications

parent d9ea11a0
all: all:
sphinx-build -E -b html . build sphinx-build -E -b html . build
latex:
sphinx-build -E -b latex . build
test: test:
OMP_NUM_THREADS=1 sphinx-build -b doctest . build OMP_NUM_THREADS=1 sphinx-build -b doctest . build
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
# This file is execfile()d with the current directory set to its containing dir. # This file is execfile()d with the current directory set to its containing dir.
# #
# The contents of this file are pickled, so don't put values in the namespace # The contents of this file are pickled, so don't put values in the namespace
# that aren't pickleable (module imports are okay, they're removed automatically). # that aren't pickleable (module imports are okay, they're removed
# automatically).
# #
# All configuration values have a default; values that are commented out # All configuration values have a default; values that are commented out
# serve to show the default. # serve to show the default.
...@@ -91,13 +92,15 @@ pygments_style = 'sphinx' ...@@ -91,13 +92,15 @@ pygments_style = 'sphinx'
# doctest # doctest
doctest_global_setup = \ doctest_global_setup = \
""" r"""
import graph_tool.all as gt
from numpy import array from numpy import array
import scipy
import scipy.stats
from math import * from math import *
import graph_tool.all as gt
""" """
# Options for HTML output # Options for HTML outputs
# ----------------------- # -----------------------
# The style sheet to use for HTML and HTML Help pages. A file of that name # The style sheet to use for HTML and HTML Help pages. A file of that name
...@@ -174,8 +177,8 @@ htmlhelp_basename = 'graph-tooldoc' ...@@ -174,8 +177,8 @@ htmlhelp_basename = 'graph-tooldoc'
# The font size ('10pt', '11pt' or '12pt'). # The font size ('10pt', '11pt' or '12pt').
#latex_font_size = '10pt' #latex_font_size = '10pt'
# Grouping the document tree into LaTeX files. List of tuples # Grouping the document tree into LaTeX files. List of tuples (source start
# (source start file, target name, title, author, document class [howto/manual]). # file, target name, title, author, document class [howto/manual]).
latex_documents = [ latex_documents = [
('index', 'graph-tool.tex', ur'graph-tool Documentation', ('index', 'graph-tool.tex', ur'graph-tool Documentation',
ur'Tiago de Paula Peixoto', 'manual'), ur'Tiago de Paula Peixoto', 'manual'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment