Comments (5)
Okay, I am glad then that this will probably not slow down updating documentation directly. If source version and translated version are out of sync, I guess there isn't some mechanism to make this transparent on the website?
Updating the website needs to be part of process of producing a new release.
I am more worried about something else. If we split into sphinx-generated documentation for which we maintain previous versions but put some documents on a static website without a version switcher, then we loose access to older versions of those documents. E.g. if we moved our user guide there, users wouldn't have easy access to guides for previous versions. This isn't necessarily a blocker for me, but maybe a trade-off in a few cases.
How does NumPy address this? It seems they solve this problem by duplicating certain parts..?
from scikit-image.
Thanks for reaching out @steppi and for the overview!
A few thoughts / comments from my site:
-
For our main documentation, we are indeed using the pydata-sphinx theme. The theme seems to have its own internationalization support but I'm not sure how mature that is.
-
For https://scikit-image.org, we've been in the process of moving that site to the Scientific Python Hugo theme as well, see scikit-image/skimage-web#94. It's just not been our highest priority yet but we can pick that up again.
And a few questions:
-
While an (updated) document is being translated, is it practice to publish the source document already?
-
It looks like NumPy moved the translated pages, such as the installation guide, from its main doc to https://numpy.org and under the umbrella of the Hugo theme. I'm curious how their experience with this has been. I worry about uncoupling our installation guide from the rest of the documentation which is versioned.
from scikit-image.
Thanks @lagru.
- For our main documentation, we are indeed using the pydata-sphinx theme. The theme seems to have its own internationalization support but I'm not sure how mature that is.
That seems helpful. It could simplify the simplify the process of generating the .po
files containing strings segmented for translation, compared with vanilla sphinx.
- For https://scikit-image.org, we've been in the process of moving that site to the Scientific Python Hugo theme as well, see scikit-image/skimage-web#94. It's just not been our highest priority yet but we can pick that up again.
If this was something already planned, it would definitely simplify adding translations. Let me know if there's anything I could do to help out with that.
- While an (updated) document is being translated, is it practice to publish the source document already?
Yes, this is what we're doing for https://numpy.org, except in a few cases where the translations were added together with the English language update, (for example, the announcement that translations have been added.). After a change is merged into main, new strings are uploaded to Crowdin for translation, and translators are notified that there's more work to do. I guess it's not ideal, but having to coordinate with translators before making updates seems like it would add a lot of overhead for maintainers.
- It looks like NumPy moved the translated pages, such as the installation guide, from its main doc to https://numpy.org and under the umbrella of the Hugo theme. I'm curious how their experience with this has been. I worry about uncoupling our installation guide from the rest of the documentation which is versioned.
I don't think there have been any issues for numpy.org or scipy.org. Someone has to stay on top of things to make sure the website isn't neglected when changes are being made, and although I haven't really been involved in that side od things, my impression is that it isn't too bad. Updating the website needs to be part of process of producing a new release. At the least, an announcement with release highlights should always be added to the news section, and making any necessary changes to the installation guide should be part of the checklist when updating the website.
Let me know if you have any other questions.
from scikit-image.
I am more worried about something else. If we split into sphinx-generated documentation for which we maintain previous versions but put some documents on a static website without a version switcher, then we loose access to older versions of those documents. E.g. if we moved our user guide there, users wouldn't have easy access to guides for previous versions. This isn't necessarily a blocker for me, but maybe a trade-off in a few cases.
How does NumPy address this? It seems they solve this problem by duplicating certain parts..?
Ah, I see your point. I agree there's a trade-off here. There are things which clearly need to be versioned, and these should go in the documentation. Ideally, the brochure website should contain content which is unlikely to change frequently. There is common info between the brochure website and the documentation, but instead of thinking of this as complete duplication, I think it's more that the brochure website should contain broad summaries and documentation fleshes thing out. Specific details are liable to change, but I the website should just give a general idea which should be more static.
I think past versions of numpy.org may be interesting for historical reasons, but typically information drops off when it's no longer relevant. e.g. links to tutorials which no longer exist, installation info which is out of date, links to communication channels which no longer exist. For historical research, the internet archive seems sufficient, https://web.archive.org/web/20240115000000*/numpy.org. Any information which is tied to specific versions, and will remain relevant for those versions into the future should go in the documentation though.
In any case. I think this discussion about the website is separate from the translation issue. We can still set up the translation infrastructure for the current website as is, and any heavy lifting I'd need to do, I'll need to do anyway for other projects which will continue to generate their websites with sphinx and host the code on the primary repo.
from scikit-image.
I've created an FAQ here with more information on the translation project here, https://scientific-python-translations.github.io/faq/. Feel free to take a look and let me know if you'd be interested in participating or if you have any other questions. We're going to start moving forward only with the more enthusiastic projects, so if you're still unsure, you can wait to see how things work out for other project websites before making a final decision.
from scikit-image.
Related Issues (20)
- Invalid no-name-in-module from pylint on scikit-image>=0.19.0 using filters module HOT 3
- libatlas 3.10.3 related failures on debian
- Discrepancy of skimage.filters.frangi output between 0.19.3 and 0.22.0 HOT 2
- Adding `spacing` to `extra_properties`'s possible arguments in `regionprops` HOT 3
- CI fails on MacOS with "clang cannot compile programs" HOT 2
- ORB test points file should be read in x-y and not r-c
- Typo in `skimage.measure.find_contours` HOT 3
- Vulnerability: code injection HOT 9
- The Skeletonize function output wrong figure. HOT 3
- Docs mention non-existing ASV benchmarks HOT 2
- `morphology.skel` modifies input image HOT 1
- moments_weighted_normalized causes warning "invalid value encountered in double_scalars" HOT 2
- rgb2lab([1,1,1]) returns [0.,0.,0.] HOT 2
- Rolling ball algorithm scales badly with radius HOT 10
- [0.23.2] test_active_contour_model.py fails on mips64el
- Pick and place object detection for nuts and bolts HOT 2
- Unexpected result after excute morphology.skeletonize HOT 3
- Testsuite crashes with 'Bus Error' on sparc64 due to unaligned access HOT 23
- Create GitHub artifact attestations directly after wheel generation
- `tools/check_sdist.py` is currently unused
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 scikit-image.