Skip to content

Commit

Permalink
Move example blog to /example.
Browse files Browse the repository at this point in the history
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
  • Loading branch information
Sébastien Gross authored and Sébastien Gross committed Jan 9, 2012
1 parent 708b7b6 commit fff24ff
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/out
/example/out
*.elc
38 changes: 38 additions & 0 deletions README.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
= o-blog quick start

This is a sample website to show how to use
https://github.com/renard/o-blog[o-blog].


== Quick start guide
First you need:

- http:www.gnu.org/s/emacs[emacs] (I assume you already have it)
- http://orgmode.org/[org-mode] (same as above)

If you don't have them, you should install them fist.

=== Setup

Start by cloning the +git+ repository from http:github.com[Github].

----
cd ~/.emacs.d
git clone https://github.com/renard/o-blog.git
----

And add following to your '~/.emacs.d/init.el' file:

----
(add-to-list 'load-path "~/.emacs.d/o-blog")
(require 'o-blog)
----

=== Publish

Open the '~/.emacs.d/o-blog/example/sample.org' file and type 'M-x
org-publish-blog'. The result site would be published by default in
'~/.emacs.d/o-blog/out'.

See the 'example/out/blog/index.html' and 'example/out/todo.html' for more details.

1 change: 0 additions & 1 deletion README.org

This file was deleted.

File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion sample.org → example/sample.org
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ And add following to your =~/.emacs.d/init.el= file:

*** Publish

Open the =~/.emacs.d/o-blog/sample.org= file and type =M-x
Open the =~/.emacs.d/o-blog/example/sample.org= file and type =M-x
org-publish-blog=. The result site would be published by default in
=~/.emacs.d/o-blog/out=.

Expand Down

0 comments on commit fff24ff

Please sign in to comment.