-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎨 change location of adapters (#8286)
closes #7687 - change location from content/storage or content/scheduling to content/adapters/storage or content/adapters/scheduling - i have added a @todo to #7421 to check if both adapter types needs an update in the documentation
- Loading branch information
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Content / Adapters | ||
|
||
|
||
An adapter is a way to override a default behaviour in Ghost. | ||
The default behaviour in Ghost is as following: | ||
|
||
### LocalFileStorage | ||
By default Ghost will upload your images to the `content/images` folder. | ||
The LocalFileStorage is using the file system to read or write images. | ||
This default adapter can be found in `core/server/storage/LocalFileStorage.js`. | ||
|
||
### SchedulingDefault | ||
By default Ghost will schedule your posts using a pure JavaScript solution. | ||
It doesn't use `cron` or similar. | ||
This default adapter can be found in `core/server/scheduling/SchedulingDefault.js`. | ||
|
||
### Custom Adapter | ||
To override any of the default adapters, you have to add a folder (`content/adapters/storage` or `content/adapters/scheduling`) and copy your adapter to it. | ||
|
||
Please follow our detailed guides: | ||
https://github.com/TryGhost/Ghost/wiki/Using-a-custom-storage-module | ||
https://github.com/TryGhost/Ghost/wiki/Using-a-custom-scheduling-module | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters