Skip to content

Commit

Permalink
Merge pull request #299 from apostrophecms/2.110.0
Browse files Browse the repository at this point in the history
Generates docs for v 2.110.0
  • Loading branch information
boutell committed Jul 29, 2020
2 parents 0c177e3 + 5a6c8af commit c5930c1
Show file tree
Hide file tree
Showing 7 changed files with 192 additions and 89 deletions.
196 changes: 126 additions & 70 deletions _api-reference-generator/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _api-reference-generator/package.json
Expand Up @@ -10,7 +10,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"apostrophe": "^2.108.1",
"apostrophe": "^2.110.0",
"async": "^2.6.3",
"boring": "^0.1.0",
"glob": "^7.1.6",
Expand Down
Expand Up @@ -29,9 +29,9 @@ is always in a consistent format.

Examples:

apos.eventName('aposChange', 'blog') ---> aposChangeBlog
apos.eventName('aposChangeEvents') ---> aposChangeEvents
apos.eventName('apos-jump-gleefully') ---> aposJumpGleefully
apos.eventName('aposChange', 'blog') aposChangeBlog
apos.eventName('aposChangeEvents') aposChangeEvents
apos.eventName('apos-jump-gleefully') aposJumpGleefully

It doesn't matter how many arguments you pass. Each new argument
is treated as a word boundary.
Expand Down
9 changes: 1 addition & 8 deletions docs/reference/modules/apostrophe-docs/README.md
Expand Up @@ -360,14 +360,7 @@ self.apos.docs.getManager(doc.type).update(...)
You may override this method to change the implementation.
### insertBody(*req*, *doc*, *options*, *callback*) *[api]*
Insert the given document. Called by `.insert()`. You will usually want to
call the update method of the appropriate doc type manager instead:

```javascript
self.apos.docs.getManager(doc.type).update(...)
```

However you can override this method to alter the
implementation.
call the `insert` method of the appropriate doc type manager instead.
### idOrCriteria(*idOrCriteria*) *[api]*
Given either an id (as a string) or a criteria
object, return a criteria object.
Expand Down

0 comments on commit c5930c1

Please sign in to comment.