Skip to content

Commit 9c3b962

Browse files
authored
Update develop-a-package.md
1 parent 5aa4a14 commit 9c3b962

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

en/develop-a-package.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ Open [http://127.0.0.1:8000/examples/](http://127.0.0.1:8000/examples/) in brows
8585

8686
Except using three ` in Markdown file, you can also use four ` to wrap your code.
8787

88-
It is a special rule that make your code highlighted and would be inserted to document page as a script block so they can be excuted at the same time. That is very useful for debugging your demo and writing a beautiful documentation both.
88+
It is a special rule that highlights your code and inserts it to a document page as a script block so they can be excuted at the same time. This is very useful for debugging your demo and writing beautiful documentation.
8989

90-
If you want to insert a iframe in your demo, make your code to `iframe` type.
90+
If you want to insert an iframe in your demo, make your code to `iframe` type.
9191

9292
<pre>
9393
````iframe:600
94-
I am in a iframe of 600px high
94+
I am in an iframe of 600px high
9595
````
9696
</pre>
9797

@@ -125,21 +125,21 @@ You can also open [http://127.0.0.1:8000/tests/runner.html](http://127.0.0.1:800
125125

126126
## Publish
127127

128-
Now you have a great package having wonderful function and complete tests case, you can publish the package to [spmjs.io](http://spmjs.io/).
128+
Now you have a great package with wonderful functions and complete test cases, which you can publish to [spmjs.io](http://spmjs.io/).
129129

130130
```bash
131131
$ spm publish
132132
```
133133

134-
You should run `spm login` first to get permission, otherwise it would propmt the authorization problem.
134+
First you should run `spm login` to get permission, otherwise it will propmt the authorization problem.
135135

136136
```bash
137137
$ spm login
138138
```
139139

140140
`username` is the name of your github account, and `authkey` can be found at http://spmjs.io/account after signing in.
141141

142-
> The package `now` is published by me, of cause. You should change other name and retry.
142+
> The package `now` is published by me, of course. You should change other name and retry.
143143
144144
## Documentation
145145

@@ -149,7 +149,7 @@ spmjs.io can host your package's documentation. What all you need to do is editi
149149
$ spm doc publish
150150
```
151151

152-
The documentation url is `http://docs.spmjs.io/{{name}}/` for latest version and `http://docs.spmjs.io/{{name}}/{{version}}/` for each versions.
152+
The documentation url is `http://docs.spmjs.io/{{name}}/` for the latest version and `http://docs.spmjs.io/{{name}}/{{version}}/` for each versions.
153153

154154
For example, http://docs.spmjs.io/now/.
155155

@@ -159,9 +159,9 @@ For example, http://docs.spmjs.io/now/.
159159
$ spm build
160160
```
161161

162-
This command will build the files indicated by `spm.main` and `spm.output` field to `dist` folder. The `spm.build` would be executed as arguments.
162+
This command will build the files indicated by `spm.main` and `spm.output` fields to `dist` folder. The `spm.build` would be executed as arguments.
163163

164-
The default build result is a package which could be deployed at cdn. Then you can use it .For example.
164+
The default build result is a package which can be deployed at cdn and then used. For example,
165165

166166
**In your html**
167167
```html

0 commit comments

Comments
 (0)