Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Fixing some typos #386

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/beacon/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Beacon.Application do
def start(_type, _args) do
# Starts just the minimum required apps for beacon to work.
# - Keep loading sites as children of main sup to have control of where and when to trigger it.
# - Loading repo allows to run seeds without trigering module and css recompilation.
# - Loading repo allows to run seeds without triggering module and css recompilation.
children = [
Beacon.Registry,
{Phoenix.PubSub, name: Beacon.PubSub},
Expand Down
2 changes: 1 addition & 1 deletion lib/beacon/content.ex
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ defmodule Beacon.Content do
* `title` - String.t()
* `description` - String.t()
* `template` - String.t()
* `meta_tags` - list(map()) eg: `[%{"property" => "og:title", "content" => "My New Siste"}]`
* `meta_tags` - list(map()) eg: `[%{"property" => "og:title", "content" => "My New Site"}]`

See `Beacon.Content.Page` for more info.

Expand Down
2 changes: 1 addition & 1 deletion lib/beacon/lifecycle/template.ex
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ defmodule Beacon.Lifecycle.Template do

def validate_output!(lifecycle, _site, _type) do
raise Beacon.LoaderError, """
excpected output to be a %Phoenix.LiveView.Rendered{} struct
expected output to be a %Phoenix.LiveView.Rendered{} struct

Got:

Expand Down
2 changes: 1 addition & 1 deletion lib/beacon/template/heex/json_encoder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defmodule Beacon.Template.HEEx.JSONEncoder do

## Data Structure

The encoded data structured emitted at the end is a list of tokens componsed of either a `heex_node` or a `eex_node`,
The encoded data structured emitted at the end is a list of tokens composed of either a `heex_node` or a `eex_node`,
as specified below:

tokens = [heex_node() | eex_node() | eex_block_node()]
Expand Down
Loading