question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SIP-47] modernize/facelift superset.apache.org

See original GitHub issue
Screen Shot 2020-06-17 at 10 20 56 PM

Motivation

Our current documentation at superset.apache.org has a certain number of issues:

  1. look/feel is dated
  2. RST/Sphinx/ old templates is a fading/dying standard, markdown seems much more popular
  3. can’t add rich/dynamic content - it’s super static
  4. Content is a bit of a patchwork, needs review/restructure/rewrite

This SIP looks to address 1,2 and 3, and hope that those provide a foundation to docs that people want to contribute to and improve, content-wise.

Proposed Change

Migrating the current website from/to:

  • framework: moving from Sphinx to Gatsby (45k stars) / DocZ (19k stars)
  • language: moving from RST to markdown
  • hosting: moving from readthedocs to GitHub Pages (or similar)

Gatsby would allow us to build a fast and modern static site. It provides a lot of flexibility / extensibility if we wanted to do more complex things like exposing a community blog.

DocZ is markdown + jsx, allowing us to integrate arbitrarily complex things in our docs, including things like live examples (embedded Superset components) or anything really.

Markdown is a more common markup language for docs. Most people know it or can learn it very quickly, including tech writers, it’s becoming fairly standard.

New or Changed Public Interfaces

N/A

New dependencies

Gatsby / Docz and whatever plugins and things we need there

Migration Plan and Compatibility

Would keep everything under the current main repo under docs/

Rejected Alternatives

  • Improving / theming readthedocs
  • Other static sites / documentation builder

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
mistercrunchcommented, Jun 20, 2020

Looking at the Airflow docs http://airflow.apache.org (rewrite was sponsored by Google I believe), I’m inspired that we could do more eventually, building a blog, events page (gatsby has a meetup.com plugin for instance), maybe even things like a dynamic FAQ or some integrations with StackOverflow, Github and whatnot. Unclear how much flexibility is offered on the Docusaurus to do that.

The beauty of the markdown-based solution is that it becomes very much the meat and it seems like changing the shell should be easy.


I terms of effort, we’re interested in sponsoring / leading this at Preset. We’re not looking for any sort of editorial control on it, just to have a rich, beautiful and modern community website.

1reaction
mistercrunchcommented, Jun 20, 2020

In short:

  • Docusaurus is more fitted to a simpler use case
  • Gatsby is more extensible / flexible

Key immediate things:

  • Docusaurus has better support for versioning, DocZ is working on it, there are ways to do it with DocZ, it’s more involved though
  • Docusaurus has a i18n “coming soon” thing that could be interesting to us
Read more comments on GitHub >

github_iconTop Results From Across the Web

[SIP-47] modernize/facelift superset.apache.org #10088 - GitHub
Migrating the current website from/to: framework: moving from Sphinx to Gatsby (45k stars) / DocZ (19k stars); language: moving from RST to ...
Read more >
Welcome | Superset - The Apache Software Foundation!
Quickly and easily integrate and explore your data, using either our simple no-code viz builder or state of the art SQL IDE. Integrates...
Read more >
Introduction - Apache Superset
An intuitive interface for visualizing datasets and crafting interactive dashboards; A wide array of beautiful visualizations to showcase your data; Code-free ...
Read more >
Community - Apache Superset
Community website for Apache Superset, a data visualization and data exploration platform.
Read more >
Security - Apache Superset
Security in Superset is handled by Flask AppBuilder (FAB), an application development framework built on top of Flask. FAB provides authentication ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found