You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/06/02 17:03:21 UTC

[GitHub] [hudi] lamber-ken commented on pull request #1698: [HUDI-986] Support staging site for per pull request

lamber-ken commented on pull request #1698:
URL: https://github.com/apache/hudi/pull/1698#issuecomment-637683589


   ### Building staging docs
   
   When you submit a pull request for any changes on websites or docs, we recommend you generate staging site for review.
   
   You can refer to the following steps:
   
   1. You need to create a github repo called `hudi-staging-site` under your github account. You can fork this [staging repo](https://github.com/ApacheHudi/hudi-staging-site) as well.
   2. In your `hudi-staging-site` repo, go to `Settings > GitHub Pages`. Enable `GitHub Pages` on `master branch`.
   3. Make changes to the website, follow the steps above to verify the changes locally.
   4. Once the changes are verified locally, you can run following command, It will generate the files under `docs/_site`.
      `bundle exec jekyll serve --config _config.yml,_config.staging.yml`. 
   5. Push the generated website to your `hudi-staging-site`.
   6. Your changes will be live on `https://<your-github-id>.github.io/hudi-staging-site`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org