[spp] [PATCH 12/28] docs: add numref attribute for sphinx

ogawa.yasufumi at lab.ntt.co.jp ogawa.yasufumi at lab.ntt.co.jp
Mon Feb 5 03:39:05 CET 2018


From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>

To enable to embed a reference for a figure with a number such as
'Fig. 1.1', add 'numfig = True' in conf.py.

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
---
 docs/guides/conf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/guides/conf.py b/docs/guides/conf.py
index 5a645fb..e65f867 100644
--- a/docs/guides/conf.py
+++ b/docs/guides/conf.py
@@ -44,6 +44,8 @@ source_suffix = '.rst'
 # The master toctree document.
 master_doc = 'index'
 
+numfig = True
+
 # General information about the project.
 project = u'Soft Patch Panel'
 copyright = u'2018, Yasufumi Ogawa'
-- 
2.13.1



More information about the spp mailing list