typo fix (#2975)

择 -> 则
1 file changed
tree: a424188f843c09743eea1d94101dfcfc53d998a1
  1. .github/
  2. archetypes/
  3. assets/
  4. benchmark/
  5. content/
  6. data/
  7. i18n/
  8. layouts/
  9. static/
  10. .asf.yaml
  11. .gitignore
  12. .gitmodules
  13. .gitpod.yml
  14. .htaccess
  15. .htmltest.yml
  16. 404.html
  17. baidu_verify_9ea1htgFIo.html
  18. build_bh.sh
  19. cn_config.toml
  20. config.toml
  21. go.mod
  22. go.sum
  24. netlify.toml
  25. package.json
  26. 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.


The Apache Dubbo docs are built using Hugo with the Docsy theme.

This project contains the markdown source files of the Dubbo documentation.


Environment setup

You can directly start working on this repository even from your browser by just clicking on the following button

Open in Gitpod

Or, you can follow the manual steps given below.

  1. Ensure pre-requisites are installed
  2. Clone this repository
git clone https://github.com/apache/dubbo-website.git
  1. Install PostCSS required by Docsy by running the following commands from the root directory of your project:
$ npm install --save-dev autoprefixer
$ npm install -D postcss
$ npm install --save-dev postcss-cli

Run server locally

  1. Clear up your local module cache
hugo mod clean
  1. Start the server
hugo server --disableFastRender
# If you get stuck with 'hugo: downloading modules …' after running this command, please try to set GOPROXY by running `export GOPROXY="https://goproxy.cn|https://proxy.golang.com.cn"` and try again.
  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