Skip to content

Commit

Permalink
Update module doc for Serum.{Page,Post}
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalgona committed Jan 25, 2020
1 parent 8dd4ac7 commit 91a93fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/serum/page.ex
Expand Up @@ -12,6 +12,8 @@ defmodule Serum.Page do
* `url`: Absolute URL of the page within the website
* `output`: Destination path
* `data`: Source data
* `extras`: A map for storing arbitrary key-value data
* `template`: Name of custom template or `nil`
"""

@type t :: %__MODULE__{
Expand Down
2 changes: 2 additions & 0 deletions lib/serum/post.ex
Expand Up @@ -12,6 +12,8 @@ defmodule Serum.Post do
* `html`: Post contents converted into HTML
* `preview`: Preview text of the post
* `output`: Destination path
* `extras`: A map for storing arbitrary key-value data
* `template`: Name of custom template or `nil`
"""

require Serum.Result, as: Result
Expand Down

0 comments on commit 91a93fa

Please sign in to comment.