fix docs
diff --git a/docs/README.md b/docs/README.md
index b1bf0e1..9912d70 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,6 +1,6 @@
# Docs
-Here are some guides to provide a slightly deeper look into dubbo-js.
+Here are some guides to provide a slightly deeper look into apache-dubbo-js.
- [Introduction](preface.md)
- [Getting started](getting-started.md)
diff --git a/docs/api.md b/docs/api.md
index e15fff5..48b6124 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -31,7 +31,7 @@
})
-//dubbo的代理服务
+//dubbo 的代理服务
const demoSerivce = dubbo.proxService({
//代理的服务接口 - string 必传
dubboInterface: 'com.alibaba.dubbo.demo.DemoService',
@@ -66,7 +66,7 @@
### connect dubbo directly
```typescript
-import {DirectlyDubbo, java} from 'dubbo2.js';
+import {DirectlyDubbo, java} from 'apache-dubbo-js';
import {
DemoProvider,
DemoProviderWrapper,
diff --git a/docs/contributing.md b/docs/contributing.md
index 7b4936b..5c53683 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -22,7 +22,7 @@
brew install zookeeper
brew services start zookeeper
-#运行java/dubbo-demo-provider下面的例子
+# 运行 java/dubbo-demo-provider 下面的例子
yarn run test
diff --git a/docs/dubbo-invoker.md b/docs/dubbo-invoker.md
deleted file mode 100644
index e69de29..0000000
--- a/docs/dubbo-invoker.md
+++ /dev/null
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 50d866e..b0d1494 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -6,16 +6,16 @@
## Install
-Install dubbo2.js using npm:
+Install apache-dubbo-js using npm:
```sh
-npm install dubbo2.js
+npm install apache-dubbo-js
```
-Or Via yarn:
+Or
```sh
-yarn add dubbo2.js
+yarn add apache-dubbo-js
```
## How to Usage?
@@ -34,7 +34,7 @@
};
//===============dubbo.ts========================
-import {Dubbo} from 'dubbo2.js';
+import {Dubbo} from 'apache-dubbo-js';
import service from './service';
//create dubbo object, it like a service container
diff --git a/docs/interpret.md b/docs/interpret.md
index 722d327..e9a2ec9 100644
--- a/docs/interpret.md
+++ b/docs/interpret.md
@@ -38,7 +38,7 @@
### step1:从 java 项目生成 jar
-```shell
+```sh
; 进入接口项目目录执行命令
mvn package
mvn install dependency:copy-dependencies
@@ -46,7 +46,7 @@
### step2:翻译生成 typescript 代码
-```shell
+```sh
npm install interpret-dubbo2js -g
interpret -c dubbo.json
```
@@ -93,6 +93,7 @@
})();
``
-**_Tip_** `npm install interpret-util dubbo2.js`;
+**_Tip_** `npm install interpret-util apache-dubbo-js`;
-[interpret-example](https://github.com/creasy2010/interpret-example);
\ No newline at end of file
+[interpret-example](https://github.com/creasy2010/interpret-example);
+```
diff --git a/docs/preface.md b/docs/preface.md
index 21bd26f..a3eac96 100644
--- a/docs/preface.md
+++ b/docs/preface.md
@@ -6,11 +6,11 @@
![love dubbo](https://raw.githubusercontent.com/dubbo/dubbo2.js/master/resources/dubbo-love.png)
-[![NPM](https://nodei.co/npm/dubbo2.js.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/dubbo2.js)
+[![NPM](https://nodei.co/npm/apache-dubbo-js.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/apache-dubbo-js)
-## dubbo2.js
+## apache-dubbo-js
-dubbo2.js = Nodejs connected Java Dubbo RPC service by dubbo protocol (dubbo head + hessian body)
+apache-dubbo-js = Nodejs connected Java Dubbo RPC service by dubbo protocol (dubbo head + hessian body)
多年期盼,一朝梦圆! We love dubbo 👏
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index 0755591..ff15c07 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -5,15 +5,15 @@
---
```javascript
-import {Dubbo} from 'dubbo2.js';
+import {Dubbo} from 'apache-dubbo-js';
```
-默认导入的 dubbo2.js 是按照 es2017 进行编译的,支持 node7.10 以上。
+默认导入的 apache-dubbo-js 是按照 es2017 进行编译的,支持 node7.10 以上。
如果更低的 node 版本,可以使用
```javascript
-import {Dubbo} from 'dubbo2.js/es6';
+import {Dubbo} from 'apache-dubbo-js/es6';
```
## 报错了,为什么呢?