It looks really nice and has search functionality as well.

Nice work @Chris.

On Fri, Jul 27, 2018 at 2:18 PM, Sijie Guo <guosi...@gmail.com> wrote:

> Hi all,
>
> In the past few weeks, Chris Kellogg has been working on a new Pulsar
> documentation website using Docusaurus <https://docusaurus.io/>. It is a
> Facebook open source project, designed for easy to maintain open source
> documentation websites.
>
> It is a very popular and documentation-focused framework and used by a lot
> of open source projects. It addressed a few problems that we had in current
> documentation website.
>
> - Sidebar: sidebar doesn't work well in current website. for example, it is
> impossible to navigate to any documentation page on mobile phones; if you
> have a smaller screen, you can not scroll down the sidebar to navigate to
> the pages at the bottom.
> - Hyperlinks on sections: there are some random characters generated in the
> hyperlinks for markdown sections. It is non-deterministic and will cause
> problems when linking documents.
>
> Docusaurus gives us more benefits than current website.
>
> - documentation focused: Docusaurus is designed for documentation websites.
> so it brings the focus on writing documents in markdown. The framework
> takes care of the rest of stuffs like versioning, sidebar and even
> translations.
> - much better sidebar: sidebar is working well across different browsers
> and mobile phones.
> - simpler hyperlinks: you can just link to other documents using document
> filenames. it is working well for both website and navigating at github
> directly. You don't have to compute any relative links.
> - versioning: it manages all the versioning stuff.
> - translations: it integrates Crowdin for translation contributions.
> - search-box: a search-box integrated with Algolia.
> - edit/translate button: for each document, it has edit button (for english
> language) and translate button (for non-english language). so people can
> quickly contribute documentation changes (such as fixing typos) by clicking
> those buttons. It lowers
> the contribution barrier.
>
>
> Currently the new site is alive under
> https://pulsar.incubator.apache.org/staging/. Please take a look at the
> new
> website, try it out and give us feedbacks.
>
> For contributors, I also wrote an instruction on how to contribute the
> documentation. So you can get a sense on how to contribute documents in the
> new site.
>
> https://github.com/sijie/incubator-pulsar/blob/
> 4a3a938d6ae1d9a5b1ae83d49293513c6e4f1711/site2/README.md
>
> Last, big shout out to Chris for his great work on this!
>
> - Sijie
>

Reply via email to