X-Git-Url: https://harishankar.org/repos/?p=biaweb2.git;a=blobdiff_plain;f=Readme.md;fp=Readme.md;h=98215296102bb9c4d2351393288249b5559d1b56;hp=0000000000000000000000000000000000000000;hb=bf370466af9870fdbe4b320bd2ac1ec05003b4ae;hpb=ae0c23a6fa549d9030e0254adf9d87a1e60b9959 diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..9821529 --- /dev/null +++ b/Readme.md @@ -0,0 +1,41 @@ +# Readme + +## Overview + +BiaWeb2 is a static site generator written in C++, that takes a directory tree +of documents (in Markdown format - more on that later) and outputs a website +with the same tree structure, based on a set of templates. + +BiaWeb2 supports infinite nesting level of source sub-directories, with +each directory representing a "category". Thus, a website can have (say) +a structure like + + + Home + + ----- Blog + + ------+------ Travel + + ------+------ History + + ------+------ Personal + + ------+------ Technology + + ----- Creative + + ------+------ Reviews + + ------+------ +------- Books + + ------+-------+--------+-------- Fiction + + ------+-------+--------+-------- Non-fiction + + ----- Miscellaneous + +Thus the entire structure of the website is represented by the filesystem +hierarchy of directories (which I think is an intuitive way of organizing +categories). + +`biaweb2` is a command-line program that performs the entire website +generation in one step. The usage is: + + biaweb2 -i -o -t [-q] + +Where `` is the input directory, `` is the destination +directory and `` is the location of the template files. The +`templates` directory in the __biaweb2__ source package provides a default +template that can be further customized to suit your needs. The main philosophy +of BiaWeb2 is to be as configuration-free as possible and hence most of the +customization for a specific website is within the templates themselves. The +option `-q` is quiet-mode, to suppress the messages. \ No newline at end of file