summaryrefslogtreecommitdiffstats
path: root/etc/conf.py
diff options
context:
space:
mode:
authorbertys <souville@docomolab-euro.com>2015-08-27 00:57:00 +0200
committerbertys <souville@docomolab-euro.com>2015-08-27 19:13:44 +0200
commit9716bd889875bf3995af3a9d9696ab72801fdf1d (patch)
treeab932a50c7d615a0f00b1b419fd744996ecc1893 /etc/conf.py
parent6d33f0c23a1003239cbd578b9e134f1ac4f8d407 (diff)
Solves the duplicate figure numbering in PDF issue
JIRA: DOCTOR-13 Change-Id: Ie7349f71a6938407d439d28cf6f33e32e9301a31 Signed-off-by: bertys <souville@docomolab-euro.com>
Diffstat (limited to 'etc/conf.py')
-rw-r--r--etc/conf.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/etc/conf.py b/etc/conf.py
index e1303e8a..05dbc4d3 100644
--- a/etc/conf.py
+++ b/etc/conf.py
@@ -2,16 +2,9 @@ import datetime
import sys
import os
-try:
- __import__('imp').find_module('sphinx.ext.numfig')
- extensions = ['sphinx.ext.numfig']
-except ImportError:
- # 'pip install sphinx_numfig'
- extensions = ['sphinx_numfig']
+needs_sphinx = '1.3'
-# numfig:
-number_figures = True
-figure_caption_prefix = "Fig."
+numfig = True
source_suffix = '.rst'
master_doc = 'index'