Skip to content

changed documentation theme to pydata_sphinx_theme#1242

Merged
joshmoore merged 10 commits intozarr-developers:mainfrom
DON-BRAN:update_theme
Feb 2, 2023
Merged

changed documentation theme to pydata_sphinx_theme#1242
joshmoore merged 10 commits intozarr-developers:mainfrom
DON-BRAN:update_theme

Conversation

@DON-BRAN
Copy link
Contributor

@DON-BRAN DON-BRAN commented Nov 2, 2022

Implementation of the suggestion here #1217

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/tutorial.rst
  • Changes documented in docs/release.rst
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

@joshmoore
Copy link
Member

Wow! That's quite the update.

Screen Shot 2022-11-02 at 19 36 02

@jakirkham
Copy link
Member

cc @MSanKeys963

@sanketverma1704
Copy link
Member

sanketverma1704 commented Nov 5, 2022

Hi @DON-BRAN. Thanks for sending the PR. The change looks good.

Wow! That's quite the update.

Indeed, @joshmoore.

@DON-BRAN, I was wondering if there's a possibility to restructure the homepage of Zarr documentation to something like this?

Seems like most of the OSS projects using pydata-sphinx-theme are using a similar format for their homepage.

@DON-BRAN
Copy link
Contributor Author

DON-BRAN commented Nov 7, 2022

Hi @DON-BRAN. Thanks for sending the PR. The change looks good.

Wow! That's quite the update.

Indeed, @joshmoore.

@DON-BRAN, I was wondering if there's a possibility to restructure the homepage of Zarr documentation to something like this?

Seems like most of the OSS projects using pydata-sphinx-theme are using a similar format for their homepage.

Hello @MSanKeys963, i'll be glad to work on that. I will begin looking into it.
I'll drop any questions I have under this PR thread

@rabernat
Copy link
Contributor

Folks looking to preview this site can go straight to https://zarr--1242.org.readthedocs.build/en/1242/

My overall impression is that this is a great change. I support migrating to pydata_sphinx_theme. 🎉

We should probably do a thorough line-be-line comparison of old vs new site to make sure all formatting and other features make it through cleanly.

@Mubarraqqq
Copy link

Alright @rabernat

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Nov 29, 2022
Comment on lines +46 to +115
:user:`Alistair Miles <alimanfoo>`
:user:`Altay Sansal <tasansal>`
:user:`Anderson Banihirwe <andersy005>`
:user:`Andrew Fulton <andrewfulton9>`
:user:`Andrew Thomas <amcnicho>`
:user:`Anthony Scopatz <scopatz>`
:user:`Attila Bergou <abergou>`
:user:`BGCMHou <BGCMHou>`
:user:`Ben Jeffery <benjeffery>`
:user:`Ben Williams <benjaminhwilliams>`
:user:`Boaz Mohar <boazmohar>`
:user:`Charles Noyes <CSNoyes>`
:user:`Chris Barnes <clbarnes>`
:user:`David Baddeley <David-Baddeley>`
:user:`Davis Bennett <d-v-b>`
:user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`
:user:`Eduardo Gonzalez <eddienko>`
:user:`Elliott Sales de Andrade <QuLogic>`
:user:`Eric Prestat <ericpre>`
:user:`Eric Younkin <ericgyounkin>`
:user:`Francesc Alted <FrancescAlted>`
:user:`Greggory Lee <grlee77>`
:user:`Gregory R. Lee <grlee77>`
:user:`Ian Hunt-Isaak <ianhi>`
:user:`James Bourbeau <jrbourbeau>`
:user:`Jan Funke <funkey>`
:user:`Jerome Kelleher <jeromekelleher>`
:user:`Joe Hamman <jhamman>`
:user:`Joe Jevnik <llllllllll>`
:user:`John Kirkham <jakirkham>`
:user:`Josh Moore <joshmoore>`
:user:`Juan Nunez-Iglesias <jni>`
:user:`Justin Swaney <jmswaney>`
:user:`Mads R. B. Kristensen <madsbk>`
:user:`Mamy Ratsimbazafy <mratsim>`
:user:`Martin Durant <martindurant>`
:user:`Matthew Rocklin <mrocklin>`
:user:`Matthias Bussonnier <Carreau>`
:user:`Mattia Almansi <malmans2>`
:user:`Noah D Brenowitz <nbren12>`
:user:`Oren Watson <orenwatson>`
:user:`Pavithra Eswaramoorthy <pavithraes>`
:user:`Poruri Sai Rahul <rahulporuri>`
:user:`Prakhar Goel <newt0311>`
:user:`Raphael Dussin <raphaeldussin>`
:user:`Ray Bell <raybellwaves>`
:user:`Richard Scott <RichardScottOZ>`
:user:`Richard Shaw <jrs65>`
:user:`Ryan Abernathey <rabernat>`
:user:`Ryan Williams <ryan-williams>`
:user:`Saransh Chopra <Saransh-cpp>`
:user:`Sebastian Grill <yetyetanotherusername>`
:user:`Shikhar Goenka <shikharsg>`
:user:`Shivank Chaudhary <Alt-Shivam>`
:user:`Stephan Hoyer <shoyer>`
:user:`Stephan Saalfeld <axtimwalde>`
:user:`Tarik Onalan <onalant>`
:user:`Tim Crone <tjcrone>`
:user:`Tobias Kölling <d70-t>`
:user:`Tom Augspurger <TomAugspurger>`
:user:`Tom White <tomwhite>`
:user:`Tommy Tran <potter420>`
:user:`Trevor Manz <manzt>`
:user:`Vincent Schut <vincentschut>`
:user:`Vyas Ramasubramani <vyasr>`
:user:`Zain Patel <mzjp2>`
:user:`gsakkis`
:user:`hailiangzhang <hailiangzhang>`
:user:`pmav99 <pmav99>`
:user:`sbalmer <sbalmer>`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @DON-BRAN. Currently, the Acknowledgements are shown like this. 👇🏻
I think this is not reader-friendly. Do you think we can have a bulleted list of items?

Screenshot 2022-12-13 at 00 24 57

@sanketverma1704
Copy link
Member

sanketverma1704 commented Dec 12, 2022

Hi @DON-BRAN. Thanks for working on the change.
I've gone through it and added some comments above. Let me know what you think.

Also, can we add a Twitter icon with a hyperlink at the top right?

Co-authored-by: Sanket Verma <svsanketverma5@gmail.com>
@DON-BRAN
Copy link
Contributor Author

DON-BRAN commented Dec 13, 2022

Hi @DON-BRAN. Thanks for working on the change. I've gone through it and added some comments above. Let me know what you think.

Also, can we add a Twitter icon with a hyperlink at the top right?

Hi @MSanKeys963, thank you for the review. I will make the necessary changes.
About the Twitter Icon I believe it's possible.

@joshmoore
Copy link
Member

@zarr-developers/python-core-devs, this is moving toward completion and there don't look to be any down votes (only 4 likes on twitter though ;) )

One thing to be aware of: ⚠️ the URLs for the landing page (e.g. https://zarr.readthedocs.io/en/stable/#installation) have changed (e.g. https://zarr--1242.org.readthedocs.build/en/1242/installation.html)

@joshmoore
Copy link
Member

@normanrz suggested client-side javascript for the redirects like https://stackoverflow.com/a/21198129/56887

@DON-BRAN
Copy link
Contributor Author

@normanrz suggested client-side javascript for the redirects like https://stackoverflow.com/a/21198129/56887

Hi @joshmoore, thank you for the review. I made some updates with regards to your review. The URL https://zarr--1242.org.readthedocs.build/en/1242/#installation now redirects to https://zarr--1242.org.readthedocs.build/en/1242/installation.html.
I'll be happy to make any further changes if necessary 🙂

@joshmoore
Copy link
Member

Kudos, @DON-BRAN (and @normanrz). Could you add all the other redirects and then I'd be a very happy camper ⛺

@joshmoore
Copy link
Member

@DON-BRAN: do you see getting to the other redirects?

Copy link
Member

@joshmoore joshmoore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few more comments from looking at https://zarr--1242.org.readthedocs.build/en/1242/ closely while looking for redirects. We could potentially handle these in follow-ups though.

One way or the other, it's a huge improvement, thanks @DON-BRAN!

docs/index.rst Outdated
.. _zarr_docs_mainpage:

******************
Zarr documentation
Copy link
Member

@joshmoore joshmoore Jan 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this perhaps be Zarr-Python?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for Zarr-Python.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for Zarr-Python

If you are using Zarr, we would `love to hear about it
<https://github.com/zarr-developers/community/issues/19>`_.

Acknowledgments
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure acknowledgements belongs under "contributing"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I agree. Can we have a separate page for Acknowledgements, @ DON-BRAN?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I do agree with Acknowledgements being on a separate, it is way better and stands out in a nice way

* :user:`pmav99 <pmav99>`
* :user:`sbalmer <sbalmer>`

Contents
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure "Contents" and below belongs under "Getting started"

Copy link
Member

@sanketverma1704 sanketverma1704 Jan 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should remove Tutorials, API Reference, Specifications and Release Notes from 'Contents' as they're already covered in the header.

We can leave Contributing to Zarr on 'Getting Started' if we want.

Also, maybe this is for me only, but I'm getting 404 for all of the various Tutorials and Release Notes when accessing from here.

Can you please check @DON-BRAN and @joshmoore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there's not really any need for the reiteration under Getting started though it could still be left so, but avoiding it looking bulky and getting it more organized, i suggest they could be taken out

@MSanKeys963 Everything opens fine for me, and looking really great

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSanKeys963 Everything opens fine for me, and looking really great

👍🏻

Can you please remove the sections mentioned above and add a separate page for acknowledgements?

@DON-BRAN
Copy link
Contributor Author

Hello @joshmoore @MSanKeys963 , I made updates as suggested above here are some snapshots of my changes

  • I added the a link to the zar-dev website to the top of the page and removed the view homepage section which had previously pointed to the link

Screenshot from 2023-01-17 14-13-52

  • I added the license, and acknowledgments pages to the more section of the navbar

Screenshot from 2023-01-17 14-14-32

  • I added the installation page to the side of the getting started page and removed the contents section

Screenshot from 2023-01-17 14-15-37

and also added the acknowledges page to the redirect list. Please let me know if there are any more changes you will like me to do. I will get on them as soon as possible 🙂

license
View homepage <https://zarr.dev/>

Indices and tables
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we maybe think of some place to have this information?

Copy link
Contributor Author

@DON-BRAN DON-BRAN Jan 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @joshmoore, could it be placed at the more section at the top? Maybe on it's own page Indices and tables

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed a commit seeing how it looks on the api page.

@joshmoore
Copy link
Member

Screenshot 2023-01-18 at 18 35 16

@DON-BRAN
Copy link
Contributor Author

Screenshot 2023-01-18 at 18 35 16

This is a perfect fit 🚀

@joshmoore
Copy link
Member

Perhaps last call for feedback, @zarr-developers/python-core-devs!

@joshmoore
Copy link
Member

Rolling this into the upcoming 2.14. Thanks, @DON-BRAN!

@joshmoore joshmoore merged commit 4dc6f1f into zarr-developers:main Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants