Comments (18)
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 git-lfs
(it's said not free) could handle this, I am too busy these days. Once I get more leisure time, I will try to find some work around, and rebuild the docset again.
from dash-user-contributions.
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.
from dash-user-contributions.
The New PR #4716
from dash-user-contributions.
(Thank you for your help and patience!!! 🙏)
You are welcome, I learnt a lot from your patient guide.
This time everything works fine.
from dash-user-contributions.
I can confirm that the docset in #4744 solves the problem! 🥳
from dash-user-contributions.
from dash-user-contributions.
I will try to fix tomorrow.
from dash-user-contributions.
Hi, @jni. I updated the docset. Here is the result on my Mac.
However, I my git fork is not clean (I don't know how to fix), I am not sure whether this will affect the merge.
from dash-user-contributions.
However, I my git fork is not clean (I don't know how to fix), I am not sure whether this will affect the merge.
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. 😅)
from dash-user-contributions.
(Thank you for the update btw! 🙏)
from dash-user-contributions.
@ivaquero hmmm, I downloaded the new docset and it's still missing the API docs, even though the gallery is now there:
![Screenshot 2023-12-14 at 12 00 58 pm](https://private-user-images.githubusercontent.com/492549/290368050-cbfe0078-e192-4824-9c21-286cac20bb20.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk1OTUzMDQsIm5iZiI6MTcwOTU5NTAwNCwicGF0aCI6Ii80OTI1NDkvMjkwMzY4MDUwLWNiZmUwMDc4LWUxOTItNDgyNC05YzIxLTI4NmNhYzIwYmIyMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMwNFQyMzMwMDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01N2U2YzdkNDZkY2E1ZmY5Yjk5YjU3NjkyM2IzM2U4ODRiMTM1ODE2YjVhYmQ5NGYxNmI1MjcxZWE4MWYyYjI0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.WGO6jlUVqOkNHAQQfQS4SJL66k-Xm8fIrrBjA6Yj7dM)
(And the gallery docs should link to the API docs and vice versa.)
from dash-user-contributions.
Hi @jni, you are right, I just noticed the following error, though the docset generated successfully
![image](https://private-user-images.githubusercontent.com/46377665/290853489-6bd19670-b823-4af5-a4de-60c5e14df4d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk1OTUzMDQsIm5iZiI6MTcwOTU5NTAwNCwicGF0aCI6Ii80NjM3NzY2NS8yOTA4NTM0ODktNmJkMTk2NzAtYjgyMy00YWY1LWE0ZGUtNjBjNWUxNGRmNGQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA0VDIzMzAwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyNWY0MDNjZDA0Y2YxNWYwMGFmNDdkMjNmMzc4YjU3NjYyMWY2ZjkwMmU0ZDNhNjg4YTc4NzU5ZDcyZTcwZTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bEEONrzm0oRVoxlDJMSd-nf9YEdlIk3fDv_PqEKuoxg)
But, I cannot find the api.rst
in the source code downloaded from https://github.com/scikit-image/scikit-image. I remember that you are the core developer of skimage
, could you please show me where I can find the doc/source/api/api.rst
file ?
from dash-user-contributions.
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 doc/
directory and run make api
:
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! 🙏
from dash-user-contributions.
Hi @jni, I tried make api
, however I got the following msg
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.
from dash-user-contributions.
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 make api
.
You can see the check that raises this error here:
The installed version is found by importing skimage and checking skimage.__version__
here, while the source version is found by parsing skimage.__init__.py
to find the line defining __version__
. If you look at that line in the v0.22 tag, you can see it is indeed 0.22.0.
So I suspect that you are just missing a git checkout v0.22.0
and then it should work!!! 🤞
from dash-user-contributions.
(Thank you for your help and patience!!! 🙏)
from dash-user-contributions.
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
make api
.You can see the check that raises this error here:
The installed version is found by importing skimage and checking
skimage.__version__
here, while the source version is found by parsingskimage.__init__.py
to find the line defining__version__
. If you look at that line in the v0.22 tag, you can see it is indeed 0.22.0.So I suspect that you are just missing a
git checkout v0.22.0
and then it should work!!! 🤞
I used the main branch, ok, let me try the v0.22.0
tag.
from dash-user-contributions.
BTW, I deleted one Page (Interactive Plot, > 25 Mb) on purpose, or the docset size would be over 100 Mb.
This seems fine to me.
Although it recommended git-lfs (it's said not free) could handle this, I am too busy these days. Once I get more leisure time, I will try to find some work around, and rebuild the docset again.
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.
from dash-user-contributions.
Related Issues (20)
- texinfo docset generator (esp. GNU Make) HOT 1
- Filter out CDK and awscc docsets HOT 2
- Feature Request: OpenSearch Client Support
- Feature Request: Index/Search Local EPUB Files
- Feature Offer: LLVM and Clang HOT 1
- Vulkan docset doesn't let you search for vkCmdPushDescriptorSetWithTemplateKHR HOT 1
- Request for ERPNext, Frappe
- Xojo 2023r4 Docset Contribution HOT 2
- Request: GitHub Actions Workflow syntax HOT 1
- Keras documentation is outdated HOT 2
- glibc documentation is out of date HOT 1
- contrib HOT 1
- Request for latest version of FileMaker docset HOT 2
- nixpkgs
- nitpicks
- Request for Slint docset
- Framer Motion Docset
- Request: Bun
- Request: Cloudflare Workers
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 dash-user-contributions.