use canonical documentation style

This commit is contained in:
Tom Preston-Werner 2009-01-02 12:21:39 -08:00
parent feff93c603
commit 9aff9c8e75
1 changed files with 5 additions and 3 deletions

View File

@ -131,7 +131,7 @@ module Jekyll
# Constructs a hash map of Posts indexed by the specified Post attribute # Constructs a hash map of Posts indexed by the specified Post attribute
# #
# Returns {post_attr => [<Posts>]} # Returns {post_attr => [<Post>]}
def post_attr_hash(post_attr) def post_attr_hash(post_attr)
# Build a hash map based on the specified post attribute ( post attr => array of posts ) # Build a hash map based on the specified post attribute ( post attr => array of posts )
# then sort each array in reverse order # then sort each array in reverse order
@ -143,8 +143,10 @@ module Jekyll
# The Hash payload containing site-wide data # The Hash payload containing site-wide data
# #
# Returns {"site" => {"time" => <Time>, "posts" => [<Post>], "categories" => [<Categories>], "topics" => # Returns {"site" => {"time" => <Time>,
# [<Topics>] }} # "posts" => [<Post>],
# "categories" => [<Post>],
# "topics" => [<Post>] }}
def site_payload def site_payload
{"site" => { {"site" => {
"time" => Time.now, "time" => Time.now,