Skip to content

Commit

Permalink
Merge pull request #635 from render-engine/remove-owner-site-var
Browse files Browse the repository at this point in the history
docs: remove owner site_var
  • Loading branch information
john0isaac committed Mar 4, 2024
2 parents 322299f + 45a401e commit a5b5bbb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
4 changes: 0 additions & 4 deletions docs/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ The name of the folder that will contain your project. This is where your [`proj

A short description of your site. This will be passed into the [`Site`](../site) object and available in [`site_vars`](../site?id=site_vars).

#### `site-author` - (`str|None` default: `None`)

The author of the site. This will be passed into the [`Site`](../site) object and available in [`site_vars`](../site?id=site_vars).

#### `skip-collection` (`bool`: default=`False` as `no-skip-collection`)

If `True`, a [`collection-path`](../collection?id=content_path) folder will not be created.
Expand Down
9 changes: 1 addition & 8 deletions docs/docs/getting-started/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ app.register_theme(kjaymiller)
settings = {
"SITE_TITLE":"My Cool Website",
"SITE_URL":"http://example.com",
"OWNER": {
"name": "Peter Parker",
"email": "peter@dailybugle.com",
},
"NAVIGATION": [{...}, ...]
"plugins": "YouTubeEmbed": {...},
"theme": {...},
Expand Down Expand Up @@ -143,10 +139,7 @@ Render Engine has a few built-in site variables (`site_vars`) that can be used t
app = Site()
app.site_vars.update(
{
"OWNER": {
"name": "Peter Parker",
"email": "peter@dailybugle.com",
},
"SITE_TITLE":"My Cool Website",
)
```

Expand Down
1 change: 0 additions & 1 deletion src/render_engine/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Feed Objects for Generating RSS Feeds
"""


from .page import BasePage


Expand Down

0 comments on commit a5b5bbb

Please sign in to comment.