[fix] optimization (#1358)

1 file changed
tree: c607f12bc8c3b60bded62670bcfdb2e33adc4025
  1. .github/
  2. archetypes/
  3. assets/
  4. content/
  5. layouts/
  6. static/
  7. themes/
  8. .asf.yaml
  9. .gitignore
  10. .gitmodules
  11. .gitpod.yml
  12. .htaccess
  13. .htmltest.yml
  14. 404.html
  15. baidu_verify_9ea1htgFIo.html
  16. config.toml
  17. LICENSE
  18. package.json
  19. README.md
README.md

Dubbo Official Website

CI Status

This project keeps all sources used for building up Dubbo official website which's served at https://dubbo.apache.org.

Overview

The Apache Dubbo docs are built using Hugo with the Docsy theme. This project contains the hugo project, markdown files, and theme configurations.

Pre-requisites

Environment setup

  1. Ensure pre-requisites are installed
  2. Clone this repository
git clone https://github.com/apache/dubbo-website.git
  1. Change to root directory:
cd dubbo-website
  1. Add Docsy submodule:
git submodule add https://github.com/google/docsy.git themes/docsy
  1. Update submodules:
git submodule update --init --recursive
  1. Install npm packages:
npm install

Run local server

  1. Run
hugo server --disableFastRender
  1. Navigate to http://localhost:1313

Update docs

  1. Create new branch
  2. Commit and push changes to content
  3. Submit pull request to master branch
  4. Staging site will automatically get created and linked to PR to review and test