Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
UNIX-MAKE-DOC
Browse files Browse the repository at this point in the history
  • Loading branch information
zaoqi committed Apr 29, 2018
1 parent 5741b44 commit 222fb8d
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 2 deletions.
8 changes: 7 additions & 1 deletion UNIX-MAKE-DOC
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ cd $(dirname $0)
r="$PWD"

doc="$r"/DOC
doc_html="$doc"/html
doc_html="$r"/docs
doc_markdown="$doc"
doc_tex="$doc"
rm -fr "$doc"
mkdir "$doc" || exit

doc_html_cname="$(cat $doc_html/CNAME)"
rm -fr "$doc_html"
mkdir "$doc_html" || exit
echo "$doc_html_cname" > "$doc_html"/CNAME

doc_scrbl() {
n="$1"
Expand Down Expand Up @@ -55,3 +59,5 @@ cat > "$r"/README.md <<EOF
[HTML](DOC/html/lambda.html)
$(md lambda)
EOF

cp "$doc_html"/lambda.html "$doc_html"/index.html
2 changes: 1 addition & 1 deletion docs/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
xn--2e3a.ml
xn--2e3a.ml
13 changes: 13 additions & 0 deletions docs/index.html

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 222fb8d

Please sign in to comment.