docs(website): add faq page

pull/177/head
TorchedSammy 2022-06-22 17:04:26 -04:00
parent 0138a30151
commit 9a88b0c1ec
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
2 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,24 @@
---
title: Frequently Asked Questions
layout: doc
weight: -20
---
# Is Hilbish POSIX compliant?
No, it is not. POSIX compliance is a non-goal. Perhaps in the future,
someone would be able to write a native plugin to support shell scripting
(which would be against it's main goal, but ....)
# Windows Support?
It compiles for Windows (CI ensures it does), but otherwise it is not
directly supported. If you'd like to improve this situation,
checkout [the discussion](https://github.com/Rosettea/Hilbish/discussions/165).
# Where is the API documentation?
The builtin `doc` command supplies all documentation of Hilbish provided
APIs. This will be on the website in the near future.
# Why?
Hilbish emerged from the desire of a Lua configured shell.
It was the initial reason that it was created, but now it's more:
to be hyper extensible, simpler and more user friendly.

View File

@ -1,6 +1,6 @@
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
<h{{ (add .Level 1) }} id="{{ .Anchor | safeURL }}">
{{ .Text | safeHTML }}
</h{{ .Level }}>
</h{{ (add .Level 1) }}>
{{ if eq .Text ""}}
<hr>
{{ end }}