-
Notifications
You must be signed in to change notification settings - Fork 29
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
Documentation infra #137
Comments
Why did you close my issue if the documentation is not build yet ? The Open-source community can clearly help on this topic me included |
Pierrick, I had suggested in our triage that we should be open to community members working on getting docs built. There may have been a misunderstanding. As Nate said, we are understaffed, and I think there is some concern that adding docs means we have one more thing to maintain and manage and it is not certain that we can always rely on the community. Before we commit to anything it would helpful for us to understand the options for community-oriented docs. Some things to consider:
Pierrick do you have any proposals - what would you recommend - do you have prior experience is a particular setup? |
Within the python community the most used documentation framework is It has undreds of plugins more or less useful but allowing any customization you can think about (I myself maintain several of them) but also may themes (I also maintain one of them). It is used by state of the art python lib (pandas, xarray, ipywidgets, numpy....). For deployment, the open-source go to choice is usually readTheDocs, which allow many cool features like multi-languages support, multi-version and my little favorite: PR pre-build. The other big player in this game is mkdocs that is less customizable but might look easier for newcomers (note that if what you like about mkdocs is only the theme, then there is a Sphinx mirror of it). I have lots of experience in that domain, my last example is the geetools documentation (WIP but deployed): https://geetools.readthedocs.io/en/latest/ If you get to the contribute section of the said documentation you'll notice that once everything is set up it's as easy as running a nox session to get the build locally and check the docs. Also all these things are parsing your docstrings so most of the content is still handled from the code. |
looking closely to the existing Google docuemntation I think you embraced the mkdocs look and feel so you will want to go for https://jbms.github.io/sphinx-immaterial/ (the one used in geemap) |
Thanks for your analysis on this! (The https://geetools.readthedocs.io/en/latest/ pages look great - well done!) Given that geemap is using Sphinx + mkdocs - I'm inclined toward that combo to make the build / release / maintenance easier through consistency (we're already involved in maintaining and releasing geemap). Maybe the remaining two things:
|
I can add a documentation website similar to geemap. I think the website can be hosted on this repo directly. The URL would be https://google.github.io/xee given that https://google.github.io is already active |
Google already enables GitHub pages for the GitHub organization. Repos under the organization can gave a subdomain. For xee, it would be google.github.io/xee |
I sent an email to Google Open Source team about using https://google.github.io/xee |
Google Open Source team was supportive of Sphinx, mkdocs-material, and GitHub Pages. |
For this reason, I think readthedocs is a good solution. Using Google's github pages site is a bit more "official". readthedocs sites have a habit of being more experimental IMO. For example, Xee's sister project, weather-tools, is hosted on readthedocs via Sphinx. Same with Xarray-Beam. FWIW, I intended to set up a docs website there for this project (at initial release), but I ran out of time.
@12rambau, I would love to have your help with writing documentation. How about this? — let me register a Sphinx site on readthedocs (I hold the keys for weathertools, for example) and I let the community (I also see your enthusiasm, @giswqs) fill in the missing gaps? I’ve started writing docs here: https://github.com/google/Xee/blob/main/docs/why-xee.md As far as an outline goes, I was following Xarray-Beam’s convention: https://xarray-beam.readthedocs.io/en/latest/ I like the style / template used in geetools! I would be so thrilled if we could get the same glam here. https://geetools.readthedocs.io/en/latest/ |
@naschmitz @jdbcode Please reach out to me, I need some help from a Googler to turn on the readthedocs website. [email protected]. |
let me know as well when I can start setting up stuff for a clean documentation (having pre-build run in readthedocs would make my life way easier) |
Documentation site at Read the Docs is up: xee.rtfd.io. Currently, the following events trigger automatic rebuild (recommended by RTD), which we can modify as needed:
|
Maybe I didn't search enough but I failed to find the documentation build on the web. Could you share a public URL ?
The text was updated successfully, but these errors were encountered: