mirror of https://github.com/Hilbis/Hilbish
Compare commits
14 Commits
00d7942e1c
...
9fefd7b53c
Author | SHA1 | Date |
---|---|---|
TorchedSammy | 9fefd7b53c | |
TorchedSammy | 9a88b0c1ec | |
TorchedSammy | 0138a30151 | |
TorchedSammy | 5a2fd055d1 | |
TorchedSammy | ce13e50579 | |
TorchedSammy | 2032795815 | |
TorchedSammy | 09f5a3102e | |
TorchedSammy | 50fbe72aa2 | |
TorchedSammy | a6aa58f8fb | |
TorchedSammy | 2e0eabbac7 | |
TorchedSammy | 00c8cab8bb | |
TorchedSammy | 1d7a34e0c5 | |
TorchedSammy | 54fc4f72ae | |
TorchedSammy | c886a585e7 |
|
@ -7,17 +7,17 @@ theme = 'hsh'
|
|||
[[menu.nav]]
|
||||
identifier = 'home'
|
||||
name = 'Home'
|
||||
url = '/'
|
||||
pageref = '/'
|
||||
weight = 1
|
||||
[[menu.nav]]
|
||||
identifier = 'install'
|
||||
name = 'Install'
|
||||
url = '/install'
|
||||
pageref = '/install'
|
||||
weight = 2
|
||||
[[menu.nav]]
|
||||
identifier = 'docs'
|
||||
name = 'Docs'
|
||||
url = '/docs'
|
||||
pageref = '/docs'
|
||||
weight = 3
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: Introduction
|
||||
layout: doc
|
||||
weight: -1
|
||||
---
|
||||
|
||||
Hello!
|
|
@ -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.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Getting Started
|
||||
layout: doc
|
||||
weight: -10
|
||||
---
|
|
@ -11,7 +11,7 @@ For official stable releases, check out the latest [Github release.](https://git
|
|||
Hilbish is packaged in a *few* repositories for some distros.
|
||||
|
||||
## Arch Linux (AUR)
|
||||
Hilbihs is on the AUR. Setup an AUR helper, and install.
|
||||
Hilbish is on the AUR. Setup an AUR helper, and install.
|
||||
Example with yay:
|
||||
|
||||
```
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body class="d-flex flex-column h-100">
|
||||
<body style="overflow-x: hidden;">
|
||||
{{- partial "header.html" . -}}
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
{{ define "main" }}
|
||||
<div class="container mt-auto mt-auto py-3 row">
|
||||
<div class="container" style="width: 240px;">
|
||||
<div class="p-3 col">
|
||||
<ul class="nav nav-pills mb-auto">
|
||||
{{ $currentPage := . }}
|
||||
{{ range where site.Pages.ByWeight.Reverse "Type" "docs" }}
|
||||
<li class="nav-item">
|
||||
<a href="{{ .Permalink }}" class="nav-link">
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{.Content}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<div class="text-center container my-5">
|
||||
<div class="container mt-2">
|
||||
{{.Content}}
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
<main>
|
||||
<div class="container mt-2">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{.Content}}
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<div class="container">
|
||||
<footer class="row py-5 my-5">
|
||||
<footer class="footer fixed-bottom mt-auto mt-auto py-3 bg-light row">
|
||||
<div class="col mb-3">
|
||||
</div>
|
||||
|
||||
<div class="col mb-3">
|
||||
<a href="/" class="d-flex align-items-center mb-3 link-dark text-decoration-none">
|
||||
<img src="/Hilbish/hilbish-flower.png" alt="" height="48" class="d-inline-block align-text-top">
|
||||
|
@ -8,14 +10,9 @@
|
|||
<p class="text-muted">Made with <i class="fa-solid fa-heart" style="color: #f6345b;"></i></p>
|
||||
</div>
|
||||
|
||||
<div class="col mb-3">
|
||||
</div>
|
||||
|
||||
<div class="col mb-3">
|
||||
</div>
|
||||
|
||||
<div class="col mb-3">
|
||||
</div>
|
||||
<div class="col mb-3"></div>
|
||||
<div class="col mb-3"></div>
|
||||
<div class="col mb-3"></div>
|
||||
|
||||
<div class="col mb-3">
|
||||
<h5>Hilbish</h5>
|
||||
|
@ -27,5 +24,6 @@
|
|||
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Documentation</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<div class="col mb-3"></div>
|
||||
</footer>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<head>
|
||||
{{ $title := print .Title " | " .Site.Title }}
|
||||
{{ $title := print .Title " — " .Site.Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<header class="site-header sticky-top py-1">
|
||||
<nav class="navbar navbar-expand-lg bg-light">
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-md sticky-top bg-light">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">
|
||||
<a class="navbar-brand" href="/Hilbish">
|
||||
<img src="/Hilbish/hilbish-flower.png" alt="" height="24" class="d-inline-block align-text-top">
|
||||
Hilbish
|
||||
</a>
|
||||
|
@ -13,7 +13,7 @@
|
|||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.nav }}
|
||||
<li class="nav-item">
|
||||
<a href="{{ .URL }}" class="nav-link {{ if $currentPage.HasMenuCurrent "nav" . }}active{{ end }}">
|
||||
<a href="{{ .URL }}" class="nav-link {{ if $currentPage.IsMenuCurrent "nav" . }}active{{ end }}">
|
||||
{{ .Name }}
|
||||
</a>
|
||||
</li>
|
||||
|
@ -21,5 +21,5 @@
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue