Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to make changes to the Ozone website, Please clone the git repository for the website from this address

Code Block
languagebash
 git clone --bbranch asf-site https://git-wip-us.apache.org/repos/asf/hadoopmaster git@github.com:apache/ozone-site.git

This is a shared repository for hadoop site and for all the subprojects.

...


  • master branch contains the source of the generated site
  • asf-site branch

...

If you make a change, you can simply run "hugo" site generator in the ozone directory (config.toml defined the output dir).

...

Code Block
languagebash
 git push origin asf-site

...

  • contains the generated site

Rendering is handled by a github action, it's enough to modify only the source branch (master). Github action will generate a new site and commit it to the asf-site branch, and INFRA scripts will publish the site.


To check your local modification you can use Hugo:

Code Block
hugo serve