From eef8b99dad6f43d97d9194a1a6f16bc5e2ef66b0 Mon Sep 17 00:00:00 2001 From: J08nY Date: Thu, 13 Feb 2020 17:52:12 +0100 Subject: Add notebooks, fix Travis. --- docs/conf.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 2b1ee9c..f84364b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,15 +12,15 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -# import os -# import sys -# sys.path.insert(0, os.path.abspath('.')) +import os +import sys +sys.path.insert(0, os.path.abspath('../notebook/')) # -- Project information ----------------------------------------------------- project = 'pyecsca' -copyright = '2018-2019, Jan Jancar' +copyright = '2018-2020, Jan Jancar' author = 'Jan Jancar' import sys; import os; sys.path.append(os.path.abspath('..')) @@ -46,6 +46,7 @@ extensions = [ 'sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.viewcode', + 'nbsphinx' ] # Add any paths that contain templates here, relative to this directory. @@ -70,7 +71,7 @@ language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '**.ipynb_checkpoints'] # The name of the Pygments (syntax highlighting) style to use. pygments_style = "trac" -- cgit v1.2.3-70-g09d2