A simple Rakefile
to create and maintain my asciidoc
journal.
Ruby and Bundler.
You can manually tweak anything, but your life will be easier if you set
these values in the Rakefile
:
JOURNAL=foo
AUTHOR=user <user@domain.com>
The JOURNAL
value is the name of your journal.
The AUTHOR
is the AsciiDoc author.
Once done, run bundle exec rake init
to initialize the journal.
To build the journal, run bundle exec rake
.
Assuming your JOURNAL
is named foo
:
- Edit
foo.adoc
with static content. Links to things that are imporant. - Edit
foo_journal.adoc
daily with your activities.- The layout of a Journal entry is weekly H2 headers.
- Every day has a label.
- A day is comprised of, typically, only a bullet list.
- Edit
notes/anything.adoc
with notes from any meeting you might be in or on a new project. You can always link thenotes/anything.adoc
file into the mainfoo.adoc
file, include it in thefoo_journal.adoc
file, or even just link to it withlink:notes/anything.html[]
. The directoriesnotes
,projects
andscraps
are all scanned for adoc files.