Skip to content

Commit ef57f6b

Browse files
lamblinnotoraptor
authored andcommitted
Fix warnings in doc generation
1 parent ac54712 commit ef57f6b

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

doc/cnn_1D_segm.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ The `BigBrain <https://bigbrain.loris.ca/main.php>`__ dataset is a 3D ultra-high
2828
We are interested in the outer part of the brain, the cortex.
2929
More precisely, we are interested in segmenting the 6 different layers of the cortex in 3D.
3030
Creating an expertly labelled training dataset with each 2D section (shown in figure 1) is unfeasible. Instead of giving as input a 2D image of one section of the brain, we give as input 1D vectors with information from across the cortex, extracted from smaller portions of manually labelled cortex
31-
as shown in Figure 2. The actual dataset can be found `here TODO: link the dataset <>`_ .
31+
as shown in Figure 2. The final dataset is not available yet, a preliminary version
32+
is available `here <http://www.iro.umontreal.ca/~lisa/deep/data/TODO>`_ .
3233

3334
.. figure:: images/big_brain_section.png
3435
:align: center

doc/conf.py

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,14 @@
2525
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo']
2626

2727
try:
28-
from sphinx.ext import pngmath
29-
extensions.append('sphinx.ext.pngmath')
28+
from sphinx.ext import imgmath
29+
extensions.append('sphinx.ext.imgmath')
3030
except ImportError:
31-
print >>sys.stderr, 'Warning: could not import sphinx.ext.pngmath'
32-
pass
31+
try:
32+
from sphinx.ext import pngmath
33+
extensions.append('sphinx.ext.pngmath')
34+
except ImportError:
35+
pass
3336

3437
# Add any paths that contain templates here, relative to this directory.
3538
templates_path = ['.templates']
@@ -155,12 +158,16 @@
155158

156159
# Options for LaTeX output
157160
# ------------------------
161+
latex_elements = {
162+
# The paper size ('letter' or 'a4').
163+
#latex_paper_size = 'letter',
158164

159-
# The paper size ('letter' or 'a4').
160-
#latex_paper_size = 'letter'
165+
# The font size ('10pt', '11pt' or '12pt').
166+
'pointsize': '11pt',
161167

162-
# The font size ('10pt', '11pt' or '12pt').
163-
latex_font_size = '11pt'
168+
# Additional stuff for the LaTeX preamble.
169+
#latex_preamble = '',
170+
}
164171

165172
# Grouping the document tree into LaTeX files. List of tuples
166173
# (source start file, target name, title, author, document class [howto/manual]).

0 commit comments

Comments
 (0)