Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shprink committed Jul 22, 2015
1 parent e027bab commit 1c3e866
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
17 changes: 17 additions & 0 deletions CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ They are three types of mnu item (internal|external|separator).
"trans": "menu.tags",
"route": "public.taxonomies({ term: 'post_tag' })",
"icon": "icon ion-pricetags"
}, {
"type": "internal",
"trans": "menu.bookmarks",
"route": "public.bookmarks",
"icon": "icon ion-bookmark"
}, {
"type": "separator",
"trans": "Separator"
Expand Down Expand Up @@ -170,6 +175,18 @@ NB: For now the homepage is mandatory and cannot be a specific page.
}
```

### Bookmark

The bookmark cache has a difference from others. maxAge is infinite and cannot be overwritten.

```
"bookmark": { // Overwrite global cache. Can be empty
"cache": {
"capacity": 10
}
},
```

### taxonomies

```
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ live reload in memory (no files are dumped in www folder)
npm run devserver
```

Open http://localhost:9100/ and check if everything run as expected.
Open http://localhost:8080/ and check if everything run as expected.
2 changes: 0 additions & 2 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ sh ./install.sh

### Config files

Now that the installation is done two files

There are two config files, ```config.json``` for the application configuration and ```config.scss``` for the style configuration.

### Installing the Web service
Expand Down
2 changes: 1 addition & 1 deletion config.json.dist
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"api": {
"baseUrl": "http://yourDomain.com/wp-json",
"timeout": 3000,
"timeout": 10000,
"maxAttempt": 3
},
"debugEnabled" : false,
Expand Down
2 changes: 1 addition & 1 deletion config.xml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<widget id="YourAppId" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget id="YourAppId" id="com.YourDomain.YourAppName" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>YourAppName</name>
<description>
Your description.
Expand Down

0 comments on commit 1c3e866

Please sign in to comment.