slweb

Једноставни генератор статичких веб страна
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување a3e30e40d97e42eda254512798ea7c0fa6290237
родитељ 2f59c822a95eb8292aca508fa3ba751a9ffa0d57
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Sat, 20 Mar 2021 19:53:53 +0100

Added libunistring as a prereuisite, sorted links in index.slw

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
MREADME | 14++++++++------
Mindex.html | 13+++++++------
Mindex.slw | 18++++++++++--------
измењених датотека: 3, додавања: 25(+), брисања: 20(-)

diff --git a/README b/README @@ -2,19 +2,21 @@ slweb ===== -Slweb is a static website generator which aims at being simplistic. It +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. +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 ------- diff --git a/index.html b/index.html @@ -35,11 +35,12 @@ transforms custom Markdown-like syntax into HTML.</p> <h2>Prerequisites</h2> -<p>Aside from the obvious (a C compiler, by default <strong>GNU C</strong>), slweb requires -<strong>realpath</strong>(1) to determine paths in local links and <strong>groff</strong>(1) and -<strong>gzip</strong>(1) to create and compress documentation. <strong>git</strong>(1) is, aside from -cloning the repository, required to use the directive <code>{git-log}</code>. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mtext>KaTeX</mtext></mrow><annotation encoding="application/x-tex">\KaTeX</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.89883em;vertical-align:-0.2155em;"></span><span class="mord text"><span class="mord textrm">K</span><span class="mspace" style="margin-right:-0.17em;"></span><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.68333em;"><span style="top:-2.904999em;"><span class="pstrut" style="height:2.7em;"></span><span class="mord"><span class="mord textrm mtight sizing reset-size6 size3">A</span></span></span></span></span></span><span class="mspace" style="margin-right:-0.15em;"></span><span class="mord text"><span class="mord textrm">T</span><span class="mspace" style="margin-right:-0.1667em;"></span><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.46782999999999997em;"><span style="top:-2.7845em;"><span class="pstrut" style="height:3em;"></span><span class="mord"><span class="mord textrm">E</span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.2155em;"><span></span></span></span></span><span class="mspace" style="margin-right:-0.125em;"></span><span class="mord textrm">X</span></span></span></span></span></span> -(<a href="https://katex.org">https://katex.org</a>) is optionally used for math mode.</p> +<p>Aside from the obvious (a C compiler, by default <strong>GNU C</strong>), slweb requires GNU +<a href="https://www.gnu.org/software/libunistring/">libunistring</a>, <strong>realpath</strong>(1) to determine paths in local links +and <strong>groff</strong>(1) and <strong>gzip</strong>(1) to create and compress documentation. +<strong>git</strong>(1) is, aside from cloning the repository, required to use the directive +<code>{git-log}</code>. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mtext>KaTeX</mtext></mrow><annotation encoding="application/x-tex">\KaTeX</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.89883em;vertical-align:-0.2155em;"></span><span class="mord text"><span class="mord textrm">K</span><span class="mspace" style="margin-right:-0.17em;"></span><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.68333em;"><span style="top:-2.904999em;"><span class="pstrut" style="height:2.7em;"></span><span class="mord"><span class="mord textrm mtight sizing reset-size6 size3">A</span></span></span></span></span></span><span class="mspace" style="margin-right:-0.15em;"></span><span class="mord text"><span class="mord textrm">T</span><span class="mspace" style="margin-right:-0.1667em;"></span><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.46782999999999997em;"><span style="top:-2.7845em;"><span class="pstrut" style="height:3em;"></span><span class="mord"><span class="mord textrm">E</span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.2155em;"><span></span></span></span></span><span class="mspace" style="margin-right:-0.125em;"></span><span class="mord textrm">X</span></span></span></span></span></span> (<a href="https://katex.org">https://katex.org</a>) is optionally used for math +mode.</p> <h2>Install</h2> @@ -152,7 +153,7 @@ this program. If not, see &lt;<a href="https://www.gnu.org/licenses">https://www <div id="git-log"> Previous commit: -index.slw fdc3e45 2021-03-17 12:27:59 +0100 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD) +index.slw 2f59c82 2021-03-17 13:17:35 +0100 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD) </div><!--git-log--> diff --git a/index.slw b/index.slw @@ -16,11 +16,12 @@ 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][katex]) is optionally used for math mode. +Aside from the obvious (a C compiler, by default **GNU C**), slweb requires GNU +[libunistring][unist], **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][katex]) is optionally used for math +mode. ## Install @@ -136,10 +137,11 @@ this program. If not, see &lt;[https://www.gnu.org/licenses/][licen]&gt;. {made-by} {/main} +[aredo]: https://github.com/apenwarr/redo [examp]: https://git.sr.ht/~strahinja/slweb/tree/master/item/examples -[mtodo]: https://git.sr.ht/~strahinja/slweb/tree/master/item/TODO [issue]: https://sr.ht/~strahinja/slweb/trackers -[licen]: https://www.gnu.org/licenses -[aredo]: https://github.com/apenwarr/redo +[mtodo]: https://git.sr.ht/~strahinja/slweb/tree/master/item/TODO [katex]: https://katex.org +[licen]: https://www.gnu.org/licenses +[unist]: https://www.gnu.org/software/libunistring/