[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] docs: Add viewcode extension



commit 127609f5053ae31dee74dd775e37503b52553514
Author: juga0 <juga@xxxxxxxxxx>
Date:   Tue Feb 12 10:40:02 2019 +0000

    docs: Add viewcode extension
    
    and numerate figures.
---
 docs/source/conf.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index aa8ffca..3dc8660 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -49,7 +49,8 @@ extensions = [
     'sphinx.ext.coverage',
     'sphinx.ext.githubpages',
     'sphinx.ext.imgmath',
-    'sphinx.ext.intersphinx'
+    'sphinx.ext.intersphinx',
+    'sphinx.ext.viewcode'
 ]
 
 # Add any paths that contain templates here, relative to this directory.
@@ -199,3 +200,5 @@ todo_include_todos = True
 source_parsers = {
    '.md': 'recommonmark.parser.CommonMarkParser',
 }
+
+numfig = True



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits