|
index > juli(1)
juli - Outline processor, personal & offline wiki
juli [general_options] COMMAND [command_options] [files]
juli is an outline processor + offline wiki.
When juli(1) command is executed, HTML is generated under output_top directory. Where, output_top can be configured (please see 'init' command section).
general options are:
--help: | show help |
--version: | show version |
Initialize juli-repository(juli-repo in short). Specify output directory with -o option. When no option is specified, empy juli-repo is created and default config file is created.
You can edit the config file later. It's just YAML format file.
Following example creates:
prepare output directory to browse at internet. Of course, your http server is required to recognize /var/www/juli:
$ sudo mkdir /var/www/juli $ sudo chown YOURNAME /var/www/juli
prepare memo root directory for juli-repo:
$ cd $HOME $ mkdir my_memo_root $ cd my_memo_root $ juli init -o /var/www/juli
Where, JULI_REPO is the directory which you are creating now. RUBY_LIB is the directory which juli library is installed (e.g. /usr/local/lib/ruby/site_ruby/1.9/).
(v1.01) When you want to customize template, please follow the steps below after executing 'juli init':
When files are specified, each file will be converted by generator (default is html). When no files are specified, bulk mode is executed. 'gen' command is default.
Example:
juli # generate in bulk mode juli gen doc/poem.txt # generate for the file juli gen -g tree # show text tree in bulk mode juli gen -g tree doc/poem.txt # show text tree of the file
Wrong Example:
juli doc/poem.txt # the file is interpreted as command, so resulted error.
Template search priority is as follows:
Where, configured template means the template specified at .juli/config.
generates sitemap.shtml under output_top/. je(1) supports this; when edit text by je(1), the sitemap is automatically generated.
generates recent_update.shtml under output_top/. je(1) supports this; when edit text by je(1), the recent_update is automatically generated.
generates _tag.shtml under output_top/. This page shows tag list and wiki page related to the tag.
See tag(macro) to define tag.
juli-repo: | directory for memo. 'init' command creates it. |
output_dir: | directory for html generated files |
juli-repo/.juli/config: | config file |
doc/index: | top document for intro, install, syntax |
index: | juli top document |
Fuminori Ido, https://sourceforge.net/users/ido00
You can use/re-distribute/change juli under GPL. This distribution include files that are copyrighted by somebody else, and these files can be re-distributed under those own license. These files include the condition of those licenses in themselves.