You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a multi-root workspace we have multiple Sphinx projects defined, each with their own index.rst. When I switch between those files, for example activating another index file, sometimes(?) the preview does not switch to the content for the selected file, but instead still shows the content of the previously shown index.rst. When I close the Esbonio preview window inside the IDE, and then reactivate the preview, the tab with the old index.rst is activated in the editor whilst the other index.rst was active!
I am not sure what the conditions are, for example when documents are edited etc.
Before I start collecting more information, I would like to ask if this is a known issue?
Log output
(Optional) Settings from conf.py
The text was updated successfully, but these errors were encountered:
When I close the Esbonio preview window inside the IDE, and then reactivate the preview, the tab with the old index.rst is activated in the editor whilst the other index.rst was active!
I hoped v0.96.1 included a fix for that - are you still on v0.96.0 at the moment?
the preview does not switch to the content for the selected file, but instead still shows the content of the previously shown index.rst
I'll have to see if I can reproduce it, but I think I can guess what's happening.
If you switch from docs/index.rst in root A to docs/index.rst in root B, then the preview url for each document will be identical. It's possible that the <iframe> in the preview pane is reading from its cache rather than the server - resulting in you seeing the wrong content.
Hopefully it's just a case of making sure the urls are unique in some way 🤞
Expected behavior
Have a working preview for each individual file.
Actual behavior
In a multi-root workspace we have multiple Sphinx projects defined, each with their own
index.rst
. When I switch between those files, for example activating another index file, sometimes(?) the preview does not switch to the content for the selected file, but instead still shows the content of the previously shownindex.rst
. When I close the Esbonio preview window inside the IDE, and then reactivate the preview, the tab with the oldindex.rst
is activated in the editor whilst the other index.rst was active!I am not sure what the conditions are, for example when documents are edited etc.
Before I start collecting more information, I would like to ask if this is a known issue?
Log output
(Optional) Settings from conf.py
The text was updated successfully, but these errors were encountered: