Skip to content

New pandas website #27870

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

Closed
datapythonista opened this issue Aug 12, 2019 · 6 comments
Closed

New pandas website #27870

datapythonista opened this issue Aug 12, 2019 · 6 comments
Labels
Docs Needs Discussion Requires discussion from core team before further action Web pandas website

Comments

@datapythonista
Copy link
Member

datapythonista commented Aug 12, 2019

xref: #15556

I've been thinking in more detail about the website, and I think it'll make things much simpler if we keep the pandas website and the documentation separate. My previous proposal was to unify everything, and use nginx rules to show the latest version (master) for pages that we want to show the latest version.

I still think that from the user perspective, there should be one single website, with one look and feel, a common header / navigation bar (no matter you're in the website or in the docs). It's easy to make it transparent that we're using different repos/hosts (with different domains or via nginx).

To keep things simple, I'd move from the docs (currently in this repo) to the website repo, everything in the website that doesn't make sense to show outdated (latest stable) versions, including:

  • Install
  • Roadmap
  • Ecosystem
  • Contributing documentation

I think this will make things much much simpler regarding Sphinx, will speed up a bit the documentation build, will avoid having to link users to the dev docs (like for contributing), and will simplify things in our workflow and the website set up. The only drawback I see is that we may have to repeat the main template, the css and the logo in both repositories. Those should change very rarely, and we can consider some CI check or automation (download them from one repo to another to build the docs).

For the documentation, I think with this approach will make more sense to create a custom (very simple) theme. This will make things easier and with the bootstrap theme I had some limitations that the maintainers don't seem so keen to address (dropdowns in the top navigation bar, customization in the levels of the sidebar...).

Another advantage is that I think we should be able to move much faster with this architecture when building the new website with the new design, compared to what would be with the Sphinx.

My proposed top-level structure is as follows:

  • Home
  • Install
  • Documentation
    • Tutorials
    • User guide
    • API reference
    • What's new / Release notes
  • Community
    • Contributing
    • Roadmap
    • Ecosystem
    • Discuss / Mailing list
    • StackOverflow
  • Blog
  • Donate

I think the home page should be a visual and concise about us, so users new to pandas can very easily understand what the project is about.

For the blog, I'd mix the posts in the pandas blog, with a planet with the pandas related (tagged) posts of core devs, NumFOCUS, and anyone else we think it's worth.

For the Donate, NumFOCUS works with a new provider, that for what I've seen (I can be wrong), is able to handle the donations in an iframe, and not make users leave the page. I'd also include mentions to the institutional sponsors, comments from individual donors, and things like that.

Once there is agreement in the main structure, and we have a first draft, I'll open separate issues to discuss the exact details of the home, the community page, the blog and the donate page.

CC: @pandas-dev/pandas-core @stijnvanhoey

@datapythonista datapythonista added Docs Needs Discussion Requires discussion from core team before further action labels Aug 12, 2019
@rgommers
Copy link
Contributor

The only drawback I see is that we may have to repeat the main template, the css and the logo in both repositories.

We have this issue with scipy.org, and handle it via a git submodule (scipy-sphinx-theme). Probably cleaner than via explicitly copying stuff around.

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Aug 13, 2019 via email

@datapythonista
Copy link
Member Author

Seems reasonable. I suspect "Whatsnew" would be under "Documentation" as well, right?

Good catch, I forgot about those. I think it makes more sense to be in the documentation, yes. Otherwise when adding a new feature or bug fix, we would have to deal with two PRs one in the pandas repo, and one in the web. And I don't think we want that.

Updated the description, thanks for the feedback.

@jorisvandenbossche
Copy link
Member

I agree it makes sense to keep the website and docs as separate repos. We want to be able to update the website independent of releases, and with a shared theme and layout it should be straightforward to blend them together.

One thing I am not sure belongs in the website repo is the contributing docs. I feel those belong much more in the core pandas repo, which also makes it easier to update them here (as it is here that the development and contributing happens).
If the problem is that people generally want to see the latest dev docs for the contributing docs, We might be able to solve that in a different way. Eg by linking to the dev docs even in the stable menu (for the contributing part), or similar.

@datapythonista
Copy link
Member Author

Something I'm thinking is that it doesn't make sense to have the docs and the website together, to be able to update the website more often than the releases. But may be we can have a web/ directory with the website in this same repo, and build and deploy from there separately. Probably this option has the best of both worlds (and a single repo would simplify things).

In any case, I think that can be decided once we have the website, and we can see more in practice what the different options imply.

@datapythonista
Copy link
Member Author

The new website was deploy long ago, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Needs Discussion Requires discussion from core team before further action Web pandas website
Projects
None yet
Development

No branches or pull requests

5 participants