This project keeps all sources used for building up dubbo official website which's served at http://dubbo.io or http://dubbo.apache.org.
If your version of docsite is less then 1.3.3
, please upgrade to 1.3.3
.
- Run
npm install docsite -g
to install the dev tool. - Run
npm i
in the root directory to install the dependencies. - Run
docsite start
in the root directory to start a local server, you will see the website in 'http://127.0.0.1:8080'. - Run
docsite build
to build source code. - Verify your change locally:
python -m SimpleHTTPServer 8000
- Do not use
git add .
to commit all the changes. - Just push your changed files, such as:
- *.md
- blog.js or docs.js or site.js
- Send a PR to asf-site branch.
Make sure each .md starts with the following texts:
---
title: title
keywords: keywords1,keywords2,keywords3
description: some description
---
Refer to this blog