Skip to content

Commit

Permalink
DOC: include back-link in raw cell only in HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Dec 17, 2015
1 parent c3bc288 commit 2661acc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@
".. _reStructuredText: http://sphinx-doc.org/rest.html\n",
".. _Sphinx: http://sphinx-doc.org/\n",
"\n",
":doc:`Back to main page <index>`"
".. only:: html\n",
"\n",
" :doc:`Back to main page <index>`"
]
}
],
Expand All @@ -397,7 +399,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.3+"
"version": "3.4.4rc1"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 2661acc

Please sign in to comment.