Why Sponsor Oils? | source | all docs for version 0.19.0 | all versions | oilshell.org
A guide to everything in Oils (in progress).
Go back to All Docs on Oils for design docs and tutorials.
Oils consists of two major "modes" for shell:
They link to topics within these 12 chapters:
The idea is that you can use OSH by itself, YSH by itself, or upgrade OSH to YSH.
help
builtin commandWhen you type help
in OSH or YSH, the command shows some of this material,
and prints hyperlinks to it.
There are 3 levels in this tree of docs, which underlies the help
builtin:
<h2>
heading in a chapter<h3>
heading in a chapter.
doc-comment
.More terminology:
help
builtin "cards", either as inline
text, or a URL to online HTML. A card may also have a URL to POSIX or bash
docs.The source code is simply a tree of Markdown files:
doc/
release-index.md # /release/$VERSION/
index.md # All Docs on Oils, /release/$VERSION/doc/
getting-started.md
...
ref/
index.md # this page, the Oils Reference
toc-osh.md # link to OSH topics
toc-ysh.md # link to YSH topics
toc-data.md
chap-cmd-lang.md # chapter on the command language
...
And the URLs basically mirror the source code:
/release/$VERSION/
index.html
doc/
index.html
getting-started.html
...
ref/
index.html
toc-osh.html
toc-ysh.html
toc-data.html
chap-cmd-lang.html
...
You can link to topics with internal anchors: