In order to make changes to the Ozone website, Please clone the git repository for the website from this address
Code Block | ||
---|---|---|
| ||
git clone -b asf-site https://git-wip-us.apache.org/repos/asf/hadoop-ozonesite.git |
Once you have cloned the sources, you will be using asf-site branch. The sources are in the static
and layout
directories.
If you make a change, you can simply run "hugo" site generator in the ozone-site directory (the same directory that contains config.toml
).
...
Code Block | ||
---|---|---|
| ||
git push origin asf-site |
...
-branch master git@github.com:apache/ozone-site.git |
- master branch contains the source of the generated site
- asf-site branch 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 |