Strahinja / slweb

Simple static website generator

Home Page:https://sr.ht/~strahinja/slweb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

********************************************************************************
**** NOTE: THIS REPOSITORY HAS MOVED FROM GITHUB. NO FURTHER UPDATES WILL   ****
**** BE MADE HERE. FOR AN UP TO DATE VERSION OF slweb, PLEASE GO TO:        ****
****                 https://git.sr.ht/~strahinja/slweb                     ****
********************************************************************************

                                     slweb
                                     =====

Slweb is a static website generator which aims at being simplistic. It
transforms custom Markdown-like syntax into HTML.


                                 Prerequisites
                                 -------------

Aside from the obvious (a C compiler, by default GNU C), slweb requires
realpath(1) to determine paths in local links and groff(1) and gzip(1) to create
and compress documentation.  git(1) is, aside from cloning the repository,
required to use the directive {git-log}. KaTeX (https://katex.org) is optionally
used for math mode.


                                    Install
                                    -------

$ git clone https://github.com/Strahinja/slweb.git
$ cd slweb
$ su

    Then, if you have djb redo:

# redo install

    if you don't:

# ./do install


                                    Examples
                                    --------

See the examples/ directory in this repository.


                                    License
                                    -------

    slweb - Simple static website generator.
    Copyright (C) 2020, 2021  Страхиња Радић

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.


About

Simple static website generator

https://sr.ht/~strahinja/slweb

License:GNU General Public License v3.0


Languages

Language:C 74.6%Language:Roff 13.7%Language:Shell 6.3%Language:HTML 4.1%Language:Stata 0.8%Language:CSS 0.5%