This project keeps all sources used for building up Dubbo official website which's served at https://dubbo.apache.org.
The Apache Dubbo docs are built using Hugo with the Docsy theme. This project contains the hugo project, markdown files, and theme configurations.
- Ensure pre-requisites are installed
- Clone this repository
git clone https://github.com/apache/dubbo-website.git
- Change to root directory:
cd dubbo-website
- Add Docsy submodule:
git submodule add https://github.com/google/docsy.git themes/docsy
- Update submodules:
git submodule update --init --recursive
- Install npm packages:
npm install
- Run
hugo server --disableFastRender
- Navigate to
http://localhost:1313
- Create new branch
- Commit and push changes to content
- Submit pull request to master branch
- Staging site will automatically get created and linked to PR to review and test