|author||月泉 <firstname.lastname@example.org>||Wed Jun 10 23:28:49 2020 +0800|
|committer||GitHub <email@example.com>||Wed Jun 10 23:28:49 2020 +0800|
Fix samples validation link error (#585)
This project keeps all sources used for building up dubbo official website which's served at https://dubbo.apache.org.
Dubbo website is powered by docsite. If your version of docsite is less than
1.3.3, please upgrade to
1.3.3. Please also make sure your node version is 8.x, versions higher than 8.x is not supported by docsite yet.
npm install docsite -gto install the dev tool.
npm iin the root directory to install the dependencies.
docsite startin the root directory to start a local server, you will see the website in ‘http://127.0.0.1:8080’.
docsite buildto build source code.
python -m SimpleHTTPServer 8000, when your python version is 3 use :
python3 -m http.server 8000instead.
If you have higher version of node installed, you may consider
nvm to allow different versions of
node coexisting on your machine.
nvm install v8.16.0to install node v8
nvm use v8.16.0to switch the working environment to node v8
npm install docsite -g
Then you are all set to run and build the website. Follow the build instruction above for the details.
git add .to commit all the changes.
Make sure each .md starts with the following texts:
--- title: title keywords: keywords1,keywords2,keywords3 description: some description ---
Refer to this blog