summaryrefslogtreecommitdiffstats
path: root/misc/swege/README
diff options
context:
space:
mode:
Diffstat (limited to 'misc/swege/README')
-rw-r--r--misc/swege/README23
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/swege/README b/misc/swege/README
new file mode 100644
index 0000000000..e62ec2e133
--- /dev/null
+++ b/misc/swege/README
@@ -0,0 +1,23 @@
+swege is a Static WEbsite GEnerator written in C. It leverages the
+discount library for generating a website from a set of Markdown files.
+
+You can obtain a template project from /usr/share/swege-*/example.
+
+Copy the example directory to a location of choice:
+`cp -r /usr/share/swege-*/example ~/mycoolsite`
+
+Enter your directory, edit swege.ini and run swege:
+`cd ~/mycoolsite && $EDITOR swege.ini && swege`
+
+For FAQ, and other information read the project README.md, can be
+found in /usr/share/swege-*/repository-README.md.
+
+-----------------------------------------------------------------------
+
+You have to write two files: the header, and the footer. These get
+added to the top, and the bottom of the rest of the pages of your
+website.
+
+All the Markdown (*.md) files, prior to being copied into the output
+folder, are translated into HTML during "compilation". The rest of the
+files are simply copied to the output folder.