Skip to content

Commit 0440630

Browse files
committed
Fixed to url parser and docs
1 parent 075aeeb commit 0440630

File tree

7 files changed

+491
-261
lines changed

7 files changed

+491
-261
lines changed

docs/content/meta/license.md

+4-63
Original file line numberDiff line numberDiff line change
@@ -10,69 +10,10 @@ menu:
1010
title: License
1111
weight: 50
1212
---
13+
## Licensed Under Apache License 2.0
1314

14-
Hugo is released under the Simple Public License.
15+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
1516

16-
## Simple Public License (SimPL-2.0)
17+
http://www.apache.org/licenses/LICENSE-2.0
1718

18-
### Preamble
19-
20-
This Simple Public License 2.0 (SimPL-2.0 for short) is a plain language
21-
implementation of GPL 2.0. The words are different, but the goal is the
22-
same - to guarantee for all users the freedom to share and change
23-
software. If anyone wonders about the meaning of the SimPL, they should
24-
interpret it as consistent with GPL 2.0.
25-
26-
27-
## Simple Public License (SimPL) 2.0
28-
29-
The SimPL applies to the software's source and object code and comes
30-
with any rights that I have in it (other than trademarks). You agree to
31-
the SimPL by copying, distributing, or making a derivative work of the
32-
software.
33-
34-
You get the royalty free right to:
35-
36-
- Use the software for any purpose;
37-
- Make derivative works of it (this is called a "Derived Work");
38-
- Copy and distribute it and any Derived Work.
39-
40-
If you distribute the software or a Derived Work, you must give back to
41-
the community by:
42-
43-
- Prominently noting the date of any changes you make;
44-
- Leaving other people's copyright notices, warranty disclaimers, and
45-
license terms in place;
46-
- Providing the source code, build scripts, installation scripts, and
47-
interface definitions in a form that is easy to get and best to
48-
modify;
49-
- Licensing it to everyone under SimPL, or substantially similar terms
50-
(such as GPL 2.0), without adding further restrictions to the rights
51-
provided;
52-
- Conspicuously announcing that it is available under that license.
53-
54-
There are some things that you must shoulder:
55-
56-
- You get NO WARRANTIES. None of any kind;
57-
- If the software damages you in any way, you may only recover direct
58-
damages up to the amount you paid for it (that is zero if you did
59-
not pay anything). You may not recover any other damages, including
60-
those called "consequential damages." (The state or country where
61-
you live may not allow you to limit your liability in this way, so
62-
this may not apply to you);
63-
64-
The SimPL continues perpetually, except that your license rights end
65-
automatically if:
66-
67-
- You do not abide by the "give back to the community" terms (your
68-
licensees get to keep their rights if they abide);
69-
- Anyone prevents you from distributing the software under the terms
70-
of the SimPL.
71-
72-
## License for the License
73-
74-
You may do anything that you want with the SimPL text; it's a license
75-
form to use in any way that you find helpful. To avoid confusion,
76-
however, if you change the terms in any way then you may not call your
77-
license the Simple Public License or the SimPL (but feel free to
78-
acknowledge that your license is "based on the Simple Public License").
19+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

docs/content/meta/roadmap.md

-25
This file was deleted.

docs/content/overview/installing.md

+27-21
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,40 @@ weight: 15
1515

1616
Installing the MongoDB Node.js driver using NPM is very easy. First you need to ensure you have Node.js and NPM correctly set up and in your path. Installing the driver is as easy as.
1717

18-
npm install mongodb
18+
```js
19+
npm install mongodb
20+
```
1921

2022
## Installing MongoDB Node.js driver as part of your project
2123

2224
Setting up the Node.js driver for your project is a simple as adding it to the **package.json** dependencies section. An example **package.json** file is shown below.
2325

24-
{
25-
"name": "myproject",
26-
"version": "1.0.0",
27-
"description": "My first project",
28-
"main": "index.js",
29-
"repository": {
30-
"type": "git",
31-
"url": "git://github.com/christkv/myfirstproject.git"
32-
},
33-
"dependencies": {
34-
"mongodb": "~2.0"
35-
},
36-
"author": "Christian Kvalheim",
37-
"license": "Apache 2.0",
38-
"bugs": {
39-
"url": "https://github.com/christkv/myfirstproject/issues"
40-
},
41-
"homepage": "https://github.com/christkv/myfirstproject"
42-
}
26+
```json
27+
{
28+
"name": "myproject",
29+
"version": "1.0.0",
30+
"description": "My first project",
31+
"main": "index.js",
32+
"repository": {
33+
"type": "git",
34+
"url": "git://github.com/christkv/myfirstproject.git"
35+
},
36+
"dependencies": {
37+
"mongodb": "~2.0"
38+
},
39+
"author": "Christian Kvalheim",
40+
"license": "Apache 2.0",
41+
"bugs": {
42+
"url": "https://github.com/christkv/myfirstproject/issues"
43+
},
44+
"homepage": "https://github.com/christkv/myfirstproject"
45+
}
46+
```
4347

4448
To install the dependency all you need is to open a shell or command line, move to the directory where the package.json file is located and type.
4549

46-
npm install
50+
```js
51+
npm install
52+
```
4753

4854
This will download all the dependencies.

0 commit comments

Comments
 (0)