From ea95f7787dfe843e234dd13b66cb813b55eb4928 Mon Sep 17 00:00:00 2001 From: dupre Date: Sun, 24 Apr 2016 01:19:43 +0200 Subject: [PATCH] update post_processing of notebooks --- appveyor.yml | 1 - src/pyquickhelper/helpgen/post_process.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index c83880642..90f0703b2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -32,7 +32,6 @@ install: - "%PYTHON%\\Scripts\\pip install pycryptodomex" - "%PYTHON%\\Scripts\\pip install mako" - "%PYTHON%\\Scripts\\pip install imagesize" - - "%PYTHON%\\Scripts\\pip install backports" build: off diff --git a/src/pyquickhelper/helpgen/post_process.py b/src/pyquickhelper/helpgen/post_process.py index 6717eed59..c87709032 100644 --- a/src/pyquickhelper/helpgen/post_process.py +++ b/src/pyquickhelper/helpgen/post_process.py @@ -223,13 +223,13 @@ def startss(line): # links links = ['**Links:** :download:`notebook <{0}.ipynb>`'.format(noext)] if html: - links.append('`html <{0}.html>`_'.format(noext)) + links.append('`html <../_downloads/{0}.html>`_ :download:`. <{0}.html>`'.format(noext)) if pdf: links.append(':download:`PDF <{0}.pdf>`'.format(noext)) if python: links.append(':download:`python <{0}.py>`'.format(noext)) if slides: - links.append('`slides <{0}.slides.html>`_'.format(noext)) + links.append('`slides <../_downloads/{0}.slides.html>`_ :download:`. <{0}.slides.html>`'.format(noext)) lines[pos] = "{0}\n\n{1}\n\n".format(lines[pos], ", ".join(links)) # we remove the