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.adocwith static content. Links to things that are imporant. - Edit
foo_journal.adocdaily 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.adocwith notes from any meeting you might be in or on a new project. You can always link thenotes/anything.adocfile into the mainfoo.adocfile, include it in thefoo_journal.adocfile, or even just link to it withlink:notes/anything.html[]. The directoriesnotes,projectsandscrapsare all scanned for adoc files.