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.
You can directly start working on this repository even from your browser by just clicking on the following button
Or, you can follow the manual steps given below.
- 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