-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix broken documentation link to mycorpus.txt #2874
Conversation
@mpenkov this file is auto-generated, right? What was the process for updating the existing docs? |
Given that the file is only ~19 lines and ~69 words, I'm surprised it was ever set up to be downloaded from a remote URL! |
It was a demonstration of "remote input streaming" IIRC. That's what the surrounding text explains. But not worth the trouble, probably. I put the file back now, in any case. |
Yes, the .ipynb is an autogenerated file. We should not be changing it directly. If we want to go ahead with this update, we have to update the .py file in docs/src/gallery. Personally, I'm not sure of what the benefit of ensuring that notebook runs without a network connection out of the box, but if we do ahead with it, then:
|
This reverts commit 742fbf6.
Apologies if this isn't along the lines of what you were looking for. Made the same changes in the .py file. |
@benbroks Sorry for the delay in reviewing this. It looks like the documentation build is failing. Is it working for you locally? If yes, then it's likely you haven't included all autogenerated files in this PR. At a glance, If no, then please make sure the docs build locally, and then update this PR. |
Ping @mpenkov this issue keeps coming back, people following the tutorial still get tripped up. I placed the file under I'm not a fan of the approach from this PR – not portable ( |
Fixes #2872
Motivation: Old notebook was dependent on a URL for a text file. Wanted to make sure this was able to run locally. No has to download to run the notebook.
Fixes: Creates mycorpus.txt inline. Fixed an image reference at the end of the same notebook.