You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 20 Next »

Proposers

Approvers

Status

Current state:  IN PROGRESS

Discussion thread: here

JIRA Unable to render Jira issues macro, execution error.

Released: <Hudi Version>

Abstract

This RFC aims at improving the Hudi web documentation for users and the process of updating docs for developers.

Background

There are a few gaps we observed regarding the docs:

  • We only have one version of docs kept at the asf-site branch for the latest release.  Given that each version has new features and improvements, some involving configuration and parameter changes compared to to previous versions, the single version of docs can create confusion for users using a previous release of Hudi.
  • There's no API docs generated from the code.
  • Current process of building, testing, and deploying docs (i.e the content powering hudi.apache.org) is mostly manual.

Implementation

To address these gaps, restructuring of the docs is needed to make the process easier. 

Branch configuration

The hudi.conf file mentioned above contains a hudi_branches_nightly variable that configures the branches to build nightly:

# format: (branch, alias) or branch
hudi_branches_nightly = [
('master', '0.5.2-SNAPSHOT'),
('release-1.5.1', 'stable'),
('release-1.5.0')
]

The docs will be served under the following URLs:

File structure

Eventually, we will have all .md of docs files on master, thus allowing the docs change with code change to be committed in a single PR

Apache buildbot build branchs and deploy website to https://ci.apache.org/projects/hudi/hudi-docs-XXX nightly.

Note

  • We need to keep asf-site as it is, asf-site is used for https://hudi.apache.org which always service for the latest stable release.
  • Once PR to the docs at master branch merged, we can use buildbot to build the site manually or nightly, https://ci.apache.org/projects/hudi/hudi-docs-master.
  • When a contributor submits a code change to the site, will not has the staging site.

Test Plan

  • Test the content organization locally to make sure the links are working and the content is readable


  • No labels