Cleaning up docs.
Kinda...
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<title>Functor Reference</title>
|
||||
<title>Function Reference</title>
|
||||
<style>
|
||||
html {
|
||||
line-height: 1.5;
|
||||
@@ -151,7 +151,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Functor Reference</h1>
|
||||
<h1 class="title">Function Reference</h1>
|
||||
</header>
|
||||
<nav id="TOC" role="doc-toc">
|
||||
<ul>
|
||||
@@ -1224,7 +1224,7 @@ a F a</code></pre>
|
||||
<hr />
|
||||
<h2 id="grabn">grabN</h2>
|
||||
<p>Function</p>
|
||||
<p>Expect a number on the top of the satck and put that many items from uner it onto a new list.</p>
|
||||
<p>Expect a number on the top of the stack and <a href="#cons">cons</a> that many items from under it onto a new list.</p>
|
||||
<h3 id="example-6">Example</h3>
|
||||
<pre><code> a b c d e 3 grabN
|
||||
-----------------------
|
||||
|
||||
+1
-1
@@ -1756,7 +1756,7 @@ implementation-dependant.)
|
||||
|
||||
Function
|
||||
|
||||
Expect a number on the top of the satck and put that many items from uner it onto a new list.
|
||||
Expect a number on the top of the stack and [cons] that many items from under it onto a new list.
|
||||
|
||||
### Example
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
FUNCDOCS = $(wildcard ../*.md)
|
||||
TITLE = --metadata title="Functor Reference"
|
||||
TITLE = --metadata title="Function Reference"
|
||||
TOC = --toc --toc-depth=2
|
||||
|
||||
all: mov
|
||||
|
||||
all: Functor-Reference.md
|
||||
pandoc -s $(TOC) $(TITLE) --ascii Functor-Reference.md -o FuncRef.html
|
||||
FuncRef.html: Function-Reference.md
|
||||
pandoc -s $(TOC) $(TITLE) --ascii Function-Reference.md -o FuncRef.html
|
||||
|
||||
|
||||
Functor-Reference.md: HEADER.md $(FUNCDOCS)
|
||||
awk 'FNR==1 && NR > 1 {print ""}1' HEADER.md $(FUNCDOCS) > Functor-Reference.md
|
||||
Function-Reference.md: HEADER.md $(FUNCDOCS)
|
||||
awk 'FNR==1 && NR > 1 {print ""}1' HEADER.md $(FUNCDOCS) > Function-Reference.md
|
||||
|
||||
# https://stackoverflow.com/questions/8183191/concatenating-files-and-insert-new-line-in-between-files
|
||||
# WTF would we do w/o the Internet? Know our tools well?
|
||||
|
||||
mov: FuncRef.html
|
||||
cp -v $? ../../html/
|
||||
|
||||
Reference in New Issue
Block a user