-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #593 from render-engine/convert-docs-markdown
docs: convert to markdown and fix paths
- Loading branch information
Showing
8 changed files
with
343 additions
and
32 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
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 |
---|---|---|
@@ -1 +1,32 @@ | ||
::: src.render_engine.feeds | ||
# RSS Feed | ||
|
||
Feed Objects for Generating RSS Feeds | ||
|
||
## Classes | ||
|
||
`RSSFeed` | ||
|
||
Bases: [`BasePage`](./page?id=basepage) | ||
|
||
Creates an RSS feed [Page](./page) Object. | ||
|
||
> [!NOTE] | ||
> This is the base object type and should only contain the params identified by the standards defined in the [RSS 2.0 Specification](http://www.rssboard.org/rss-specification). | ||
This is built using the built-in `rss2.0.xml` jinja template. | ||
|
||
> [!NOTE] | ||
> Some browsers may not support the `rss` extension. If you are having issues with your feed, try changing the extension to `xml`. | ||
> | ||
> ```Python | ||
> from render_engine import Site, RSSFeed | ||
> | ||
> class MyFeed(RSSFeed): | ||
> extension = "xml" | ||
> | ||
> site = Site() | ||
> | ||
> @site.collection | ||
> class MyCollection(Collection): | ||
> Feed = MyFeed | ||
> ``` |
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 |
---|---|---|
@@ -1 +1,45 @@ | ||
:::src.render_engine.plugins | ||
# Hookspecs | ||
|
||
## Classes | ||
|
||
### `PluginManager` | ||
|
||
#### Functions | ||
|
||
##### `REGISTER_PLUGIN(PLUGIN)` | ||
|
||
Register a plugin with the site | ||
|
||
### `SiteSpecs` | ||
|
||
Plugin hook specifications for the Site class | ||
|
||
#### Functions | ||
|
||
##### `ADD_DEFAULT_SETTINGS(SITE)` | ||
|
||
Add default settings to the site | ||
|
||
##### `POST_BUILD_COLLECTION(SITE, SETTINGS)` | ||
|
||
Build After Building the collection | ||
|
||
##### `POST_BUILD_SITE(SITE)` | ||
|
||
Build After Building the site | ||
|
||
##### `POST_RENDER_CONTENT(PAGE, SETTINGS, SITE)` | ||
|
||
Augments the content of the page before it is rendered as output. | ||
|
||
##### `PRE_BUILD_COLLECTION(COLLECTION, SETTINGS)` | ||
|
||
Steps Prior to Building the collection | ||
|
||
##### `PRE_BUILD_SITE(SITE, SETTINGS)` | ||
|
||
Steps Prior to Building the site | ||
|
||
##### `RENDER_CONTENT(PAGE, SETTINGS)` | ||
|
||
Augments the content of the page before it is rendered as output. |
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
Oops, something went wrong.