Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
update post_processing of notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Apr 23, 2016
1 parent 353c496 commit ea95f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion appveyor.yml
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/pyquickhelper/helpgen/post_process.py
Expand Up @@ -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
Expand Down

0 comments on commit ea95f77

Please sign in to comment.