Skip to content

WEB: Restructuring pages and navigation, styling and new footer #28582

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

Merged
merged 4 commits into from
Sep 26, 2019
Merged

WEB: Restructuring pages and navigation, styling and new footer #28582

merged 4 commits into from
Sep 26, 2019

Conversation

datapythonista
Copy link
Member

xref #28519
closes #28520

You can see the result rendered in: https://datapythonista.github.io/pandas-web/ (the new logo is not in the PR).

Been discussing with NumPy the navigation, and what is proposed here is with minimal differences agreed with them. See numpy/numpy.org#43

I don't touch the home page here, I think we need to remove almost everything we've got so far (based on the current), and move more in the direction of Dask or Jupyter. Discussions about it better in #28168 than here.

@datapythonista datapythonista added the Web pandas website label Sep 23, 2019
Copy link
Contributor

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

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

Just FYI: the links pointing to, e.g., "install" will need to be updated.

@@ -20,41 +20,44 @@
<link rel="stylesheet"
href="{{ base_url }}{{ stylesheet }}">
{% endfor %}
<script src="https://kit.fontawesome.com/79e5369384.js" crossorigin="anonymous"></script>
Copy link
Contributor

Choose a reason for hiding this comment

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

My understanding is that loading stylesheets and JS should go at the bottom of the page, to not slow down the loading of the page content. Is that accurate?

Copy link
Member Author

Choose a reason for hiding this comment

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

I followed fontawesome instructions, I don't know if there is a reason to have it in the header, or it doesn't matter, but it's where they ask to add it.

Not an expert, but I'd say browsers load those asynchronously. I assumed that they were placed at the end to have the dom loaded when the code is executed. But my knowledge about web is outdated 10 years, so don't really know.

Thanks for catching the broken link, just fixed them.

@WillAyd
Copy link
Member

WillAyd commented Sep 23, 2019

Looks nice - great work @datapythonista

@jorisvandenbossche
Copy link
Member

Looks nice indeed!

I see that you changed the "Install" page to a "Getting Started" page, with some additional links to external resources. So that is something we we will need to coordinate with the work @stijnvanhoey is doing on the getting started landing page in #26831.

Will try to take a closer look tomorrow.

@datapythonista
Copy link
Member Author

Didn't know that @stijnvanhoey was working on that already, but in the Tutorials section (https://datapythonista.github.io/pandas-web/getting_started.html#tutorials) I just have that sentence as a placeholder so he could have the list of pages he's working on, any anything else.

So I guess merging should be as easy as replacing the content of that section for whatever he's got.

@jorisvandenbossche
Copy link
Member

It's part of the grant proposal, and just also started on that this week (I think Stijn will open a PR once he has something to show). The idea is very similar as you have here: short install instructions, overview tutorials, links to extra resources. So indeed, I don't think there is any conflict in the work being done (unless you were planning to add more than what there is now in the PR?).

Except for the question (again) where to put it: in the sphinx docs or markdown website. I am also fine with having it on the main website (anyway, if it is in the docs, then there should also need to be a clear link to that page). But, we also need some landing page for the getting started section in the docs as well (to not have the dry table of contents as there is now (https://pandas.pydata.org/pandas-docs/stable/getting_started/index.html), so need to think a bit about what to put where (or what to duplicate).

@datapythonista
Copy link
Member Author

datapythonista commented Sep 25, 2019 via email

@jorisvandenbossche
Copy link
Member

Any objection on merging this?

I am doing a quick review as we speak

Copy link
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

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

Some small questions / comments

@@ -0,0 +1,33 @@
# Sponsors

Copy link
Member

Choose a reason for hiding this comment

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

There is currently no mention of Tidelift? (here or on the donate or contribute pages)

(the current website has a very brief one: "You can support pandas by becoming a Tidelift subscriber." on the donate page

- name: "Release notes"
target: /docs/whatsnew/index.html
- name: "Older versions"
target: https://pandas.pydata.org/pandas-docs/version/
Copy link
Member

Choose a reason for hiding this comment

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

this link does not work

target: /community/team.html
- name: "Code of Conduct"
- name: "Discuss"
target: https://pandas.discourse.group
Copy link
Member

Choose a reason for hiding this comment

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

Maybe wait until some decision is taken? (since this website is not yet officially live, also fine to keep)

# - name: "Blog"
# target: /blog.html
- name: "Donate"
target: /donate.html
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to keep some direct link in the menu to this page? (now it is only linked to from other pages)

and about current sponsors in the [sponsors page](about/sponsors.html).
Financial contributions will mainly be used to advance in the [pandas roadmap](about/roadmap.html).

- If your **company or organization** is interested in helping make pandas better, please contact us at [[email protected]](mailto:[email protected])
Copy link
Member

Choose a reason for hiding this comment

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

Just wondering: is this the best way to contact us? (we don't have that somewhere written now I think? But for sure we also don't have our "own" email address for pandas)

- name: "About us"
target:
- name: "About pandas"
target: /about/about.html
Copy link
Member

Choose a reason for hiding this comment

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

Small nit: we could rename about/about.md to about/index.md? (the url would be a bit nicer I think)

@datapythonista
Copy link
Member Author

datapythonista commented Sep 25, 2019 via email

@jorisvandenbossche
Copy link
Member

I'll leave the contributing as is if that's ok, and we can fine tune the
next version which I think it's much better.

Sure!

I don't have a page to link to the versions of the docs yet. Can replace
that broken link by a hash, but I thought that could be the right location,
and the link has to be broken for now, until we implement that page. I can
implement it in the web (and to make makes sense since I've got all the
versions from the github API already), but I think you wanted to have it in
the docs, right?

It's fine to leave the link there right now, it's a good reminder to do something abut this ;)
I would like to have a dropdown or some widget in the docs to access other versions (similarly to how its on python or readthedocs). But that doesn't necessarily need to conflict with also a page with an overview of the doc pages (like https://scikit-learn.org/dev/versions.html)

@datapythonista
Copy link
Member Author

datapythonista commented Sep 25, 2019 via email

@datapythonista
Copy link
Member Author

@jorisvandenbossche addressed the comments. For the contribute page, as I said, have some work in a follow up branch that will remove that email, so I prefer to not touch it here to avoid conflicts.

I'll add to that PR the page with the old docs links too.

@jorisvandenbossche jorisvandenbossche merged commit d5fa16b into pandas-dev:master Sep 26, 2019
@jorisvandenbossche
Copy link
Member

Thanks!

Can you answer on:

[about [email protected]] Just wondering: is this the best way to contact us? (we don't have that somewhere written now I think? But for sure we also don't have our "own" email address for pandas)

@datapythonista
Copy link
Member Author

Can you answer on:

Sorry, I thought I answered. For now I'm moving the problem from the contribute page to the sponsors page, see:

contribute_screenshot

That's why I didn't want to address this here, since touching that was just going to generate a conflict for nothing.

Then, I think we need something similar in the sponsors page (and probably worth adding a bit more information on what sponsors get, to manage expectations). On the form of contact, I'm fine with pointing directly to NumFOCUS, or may be we can have an address [email protected] that anyone interested in our team receives, and then we delegate to NumFOCUS? Or may be having whoever from our team and NumFOCUS is interested receiving that Inbox?

If it's technically possible to have a Discourse group receiving that address, and we can add to that group the people who should receive it, I think that would be the more efficient way of managing (assuming we move to Discourse). I'd also do the same then for [email protected], [email protected], and whatever we may want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Web pandas website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WEB: Content for the footer
4 participants