Thanks, Vinoth!

These are the summary of changes:

   1. Docusaurus doesn't have the concept of permalink in the header, the
   URL is formed based on the folder and file name, hence renamed all the
   files with the permalink to preserve the old path and to avoid broken links
   for the docs.
   2. Since the new navigation structure is different for the non-doc
   static pages, I've updated all the references in the document.
   3. Docusaurus doesn't support a few of the Jekyll features like:
      1. The HTML class attribute should be called className, hence updated
      those.
      2. In some cases, the <span> tag messes up the formatting of the
      content hence got rid of it.
      3. Fixed the broken HTML tags.
      4. For loops got converted to a theme component for the powered-by
      page.
      5. keywords should be an array instead of a comma-separated string.
   4. Rebuilt the left sidebar and all old docs version sidebar and the
   main dropdown navigation.
   5. Moved around a bunch of files and renamed some to support versioning
   and i18n support.
   6. Most of the classic theme looked good already out of the box, fixed a
   bunch of them in the src/css/custom.css.
   7. Rebuild the home page as a pure js rendered page src/pages/index.js.
   8. Built the footer navigation with all relevant links to improve the
   SEO and ease of use and improve the visibility of the inner pages.
   9. Broken the releases page to individual pages, to improve the
   usability and to support the left side bar.
   10. Broken the community page into 3 pages:
      1. Get Involved.
      2. Team.
      3. How to Contribute
   11. Added the code tab support for the quick-start spark guide, the same
   could be easily applied for other pages.


Please refer to the docusaurus official documentation
<https://docusaurus.io/docs/markdown-features> for adding more features to
the site.

This is not the final version, the first step in the process is to migrate
the content as-is with few minor changes to the docusaurus platform, then
we can make incremental changes to add more features.

I'll be adding the search bar in the next iteration.

These sed one-liners saved the day for me!!

sed -i '' -E 's/src=("[^"]*")/src={require(\1).default}/g' *.md
sed -i '' -E 's/keywords:(.*)$/keywords: [\1]/g' *.md
sed -i '' -E 's/<br>/<br\/>/g' *.md
sed -i '' -E 's/style=("[^"]*")//g' *.md
sed -i '' -E 's/class=("[^"]*")/className=\1/g' *.md
sed -i '' -E 's|/docs/0.5.0-|/docs/|g' *.md
sed -i '' -E 's|/docs/0.5.1-|/docs/|g' *.md
sed -i '' -E 's|/docs/0.5.2-|/docs/|g' *.md
sed -i '' -E 's|/docs/0.5.3-|/docs/|g' *.md
sed -i '' -E 's|/docs/0.6.0-|/docs/|g' *.md
sed -i '' -E 's|/docs/0.7.0-|/docs/|g' *.md
sed -i '' -E 's|/docs/0.8.0-|/docs/|g' *.md

find . -name '*.md' -exec sed -i '' '/permalink:/d' {} +

for filename in *.cn.md; do mv $filename ${filename//cn.md/md}; done

Cheers,
Vinoth


On Thu, Jul 29, 2021 at 12:53 AM Vinoth Chandar <vin...@apache.org> wrote:

> Folks,
>
> the PR is up! https://github.com/apache/hudi/pull/3366
> Please review.
>
> This is truly heroic work, vingov, fixing all the broken links and cleaning
> a lot of debt in the jekyll based theme !
>
>
> On Mon, Jul 12, 2021 at 10:48 PM Vinoth Chandar <vin...@apache.org> wrote:
>
> > Hi,
> >
> > Sounds good! Please grab the JIRA and we can start scoping it into sub
> > tasks?
> >
> > Thanks
> > Vinoth
> >
> > On Mon, Jul 12, 2021 at 10:02 PM Vinoth Govindarajan <
> > vinoth.govindara...@gmail.com> wrote:
> >
> >> Hi Folks,
> >> I have experience in the past building websites, I can volunteer to work
> >> on
> >> this re-design.
> >>
> >> Best,
> >> Vinoth
> >>
> >>
> >> On Fri, Jul 2, 2021 at 6:45 PM Vinoth Chandar <vin...@apache.org>
> wrote:
> >>
> >> > At this point, scoping the work itself is a good first task, breaking
> >> into
> >> > sub tasks.
> >> >
> >> > I am willing to partner with someone closely, to drive this.
> >> >
> >> > On Wed, Jun 30, 2021 at 5:45 PM Danny Chan <danny0...@apache.org>
> >> wrote:
> >> >
> >> > > All the pages assigns to volunteers or there is a someone major in
> it.
> >> > >
> >> > > Best,
> >> > > Danny Chan
> >> > >
> >> > > Vinoth Chandar <vin...@apache.org>于2021年7月1日 周四上午6:00写道:
> >> > >
> >> > > > Any volunteers? Also worth asking in slack?
> >> > > >
> >> > > > On Sat, Jun 26, 2021 at 5:03 PM Raymond Xu <
> >> > xu.shiyan.raym...@gmail.com>
> >> > > > wrote:
> >> > > >
> >> > > > > Hi all,
> >> > > > >
> >> > > > > We've completed a re-design of Hudi's website (hudi.apache.org)
> >> , in
> >> > > the
> >> > > > > goal of making the navigation more organized and information
> more
> >> > > > > discoverable. The design document can be found here (thanks to
> >> > designer
> >> > > > > Joanna)
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> https://www.figma.com/file/tipod1JZRw7anZRWBI6sZh/Hudi.Apache?node-id=32%3A6
> >> > > > >
> >> > > > > The design is ready for implementation; would like to call for
> >> > > volunteers
> >> > > > > to pick up this one!
> >> > > > > https://issues.apache.org/jira/browse/HUDI-1985
> >> > > > >
> >> > > > > Cheers,
> >> > > > > Raymond
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> >
>

Reply via email to