~strahinja/slweb

Simple static website generator

b39ac8c Added GCC check to avoid problems with #pragma GCC

5 days ago

c3a96ca Small documentation and code style corrections

5 days ago
                                     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 GNU
libunistring[1], 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[2] is optionally used
for math mode.

[1]: https://www.gnu.org/software/libunistring/
[2]: https://katex.org

                                    Install
                                    -------

$ git clone https://git.sr.ht/~strahinja/slweb
$ 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/>.