Skip to content

Commit

Permalink
Merge pull request #37 from VyacheslavMik/master
Browse files Browse the repository at this point in the history
Fix quickstart doc, fix typo, fix default page.
  • Loading branch information
svetlyak40wt authored Apr 6, 2023
2 parents 3d6aad7 + 980fb48 commit d521322
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/default-init.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
(:pre
(:code
(format nil "
CL-USER> (defmethod reblocks/page:init-page ((app ~A) (url-path string) (expire-at local-time:timestamp))
CL-USER> (defmethod reblocks/page:init-page ((app ~A) (url-path string) expire-at)
\"Hello world!\")" (string-downcase
(type-of *current-app*)))))
(:p "And reset current session:")
Expand All @@ -42,7 +42,7 @@ CL-USER> (defmethod reblocks/page:init-page ((app ~A) (url-path string) (expire-
CL-USER> (reblocks/debug:reset-latest-session)"))

(:p "Then reload the page.")
(:p ("Read more in [documentaion](~A)."
(:p ("Read more in [documentation](~A)."
quickstart-url)))
:escape-p nil)))

Expand Down
4 changes: 2 additions & 2 deletions src/doc/quickstart.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ TODO> (defun make-task-list (&rest rest)
collect (make-task title))))
(make-instance 'task-list :tasks tasks)))
TODO> (defmethod reblocks/session:init ((app tasks))
(declare (ignorable app))
TODO> (defmethod reblocks/page:init-page ((app tasks) (url-path string) expire-at)
(declare (ignorable app url-path expire-at))
(make-task-list \"Make my first Reblocks app\"
\"Deploy it somewhere\"
\"Have a profit\"))
Expand Down

0 comments on commit d521322

Please sign in to comment.