-
Notifications
You must be signed in to change notification settings - Fork 853
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
scikit-image 0.22 docset seems to lack API docs #4705
Comments
I will try to fix tomorrow. |
Is it just a matter of copying the scikit-image.tgz from #4713 to a clean branch on a clean fork and adding that? Or are the other changes in that PR necessary? If we just need the .tgz file in a PR by itself, I'd be happy to do that. (I'm comfortable with open source development with git, I'm not (yet) comfortable with Dash docset creation. 😅) |
(Thank you for the update btw! 🙏) |
You are welcome. I decided to delete the current fork and refork, and I need some more time to migrate my another two branches. I will finish as soon as possible. These docsets are big ones. |
The New PR #4716 |
Hi @jni, you are right, I just noticed the following error, though the docset generated successfully But, I cannot find the |
Ah. That was trickier than I expected, sorry about that! 😅 I found one in my source dir but it had an ominous "Autogenerated file, do not edit" warning at the top, and indeed it's not in the source tree. 😅 It turns out we have a bit of machinery to autogenerate the API docs. I don't know why this is the case — perhaps @stefanv knows. I imagine it dates from a time when sphinx autogeneration was less robust, or, it's a workaround for our lazy import machinery. Anyway, to run the machinery, cd into the https://github.com/scikit-image/scikit-image/blob/main/doc/Makefile#L43-L46 At that point you should (🤞) have everything you need to generate the full docset! 🙏 |
Hi @jni, I tried python tools/build_modref_templates.py
*WARNING* API documentation not generated: Installed version does not match source version
Build API docs...done. I tested python 3.11, python 3.12, scikit-image 0.21.0, scikit-image 0.22.0, the results are the same. |
Are you checking out the right tag? You need to (a) install scikit-image (v0.22.0), (b) check out the same version of the scikit-image source code (v0.22.0), then (c) run You can see the check that raises this error here: The installed version is found by importing skimage and checking So I suspect that you are just missing a |
(Thank you for your help and patience!!! 🙏) |
I used the main branch, ok, let me try the |
You are welcome, I learnt a lot from your patient guide. This time everything works fine. |
The New PR: #4744 BTW, I deleted one Page (Interactive Plot, > 25 Mb) on purpose, or the docset size would be over 100 Mb. Although it recommended |
This seems fine to me.
btw I don't recommend lfs. git-annex seems to be a better option, but honestly I think it's ok to leave this page out of the docset. |
I can confirm that the docset in #4744 solves the problem! 🥳 |
It looks like the latest update to the scikit-image docset broke API search (and other parts of the documentation, such as the gallery examples). Now I can no longer get API docs which imho are the most important use case for Dash.
If I search for "scikit-image", ie get suggestions from pages from the narrative docs in scikit-image:
However, as soon as I type a function from the API, I get no hits:
I presume that this all comes from an incomplete build of the docs, but it would be great if the docset could get updated ASAP to include the API and the gallery examples... 🙏
The text was updated successfully, but these errors were encountered: