Comments (6)
Thanks for the report!
Does #68 work for you?
from nbsphinx.
Yes it does! I tried User Guide - Basics.ipynb
and User_Guide - Basics.ipynb
at the same time and the images are at right places.
from nbsphinx.
Thanks for testing this!
The image file name also contains the cell number and the number within the cell output (there may be several outputs per cell).
I guess if you have an image in the same cell in both of the files in your edge case, it will cease to work, right?
from nbsphinx.
You guessed it right. I didn't understood the importance of cell numbers. Luckily, people don't name files that way, so nobody will blame you for this commit.
from nbsphinx.
Actually, I wanted to avoid this case, but I don't know how.
I tried to use %-encoding, like it's normally done in URLs, but this didn't work for some reason. Probably it's even a bug in Sphinx, because source names that contain %AB
(where A
and B
are any hexadecimal characters) cannot be shown in the browser because Sphinx doesn't seem to escape those %
signs.
If you know a way how to avoid this edge case, speak up!
Anyway, as you say, let's hope that people don't name their files in such a strange way ...
from nbsphinx.
I'm actually not sure if that's a bug or a feature of Sphinx, so I created an issue there: sphinx-doc/sphinx#3097.
from nbsphinx.
Related Issues (20)
- Non working internal links for manually added anchors in 0.9.2 HOT 4
- Unable to create gallery with notebooks out of the doc tree with nblinkgallery HOT 1
- Not compatible with the latest `pandoc` version HOT 2
- Failure on multi-line maths with leading indentation
- Scroll long output HOT 1
- 0.9.2: documentation build fails HOT 1
- `DataFrame` with long column labels is not rendered correctly with the `pydata` theme HOT 1
- What's the best way to add support for sphinx directives in markdown cells? HOT 3
- xelatex support HOT 3
- How to link to a notebook from another file ? HOT 2
- WARNING: toctree glob pattern '*.ipynb' didn't match any documents HOT 1
- Math rending issue after converting the doc HOT 1
- nbsphinx PDF don't render Ploty Plot HOT 2
- Backslashes in markdown cells are sometimes incorrectly interpreted as inline TeX HOT 4
- Error on cells using tqdm
- Error on cells using progress bar (tqdm) HOT 8
- Avoid sphinx searching on output cells HOT 10
- Custom nbsphinx-gallery.css does not take into account - sphinx 7.2.6 HOT 8
- drop dependency to pandoc ? HOT 1
- AssertionError in `depart_codearea_latex()` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nbsphinx.