Permalink
Browse files

Move doc/index.html to doc/release-index.html

So it can contain other links.
  • Loading branch information...
Andy Chu
Andy Chu committed Sep 5, 2017
1 parent 14bfa7e commit 20b9cdbef9cc3124634edffc1a4cd2c605fa8cd8
Showing with 32 additions and 21 deletions.
  1. +3 −2 build/doc.sh
  2. +0 −17 doc/index.md
  3. +24 −0 doc/release-index.md
  4. +4 −1 scripts/release.sh
  5. +1 −1 test/spec.sh
View
@@ -161,9 +161,10 @@ install() {
markdown2html INSTALL.txt _build/doc/INSTALL.html "$MONOSPACE"
}
index() {
release-index() {
local out=${1:-_build/doc/release-index.html}
# Not monospace
markdown2html doc/index.md _build/doc/index.html ''
markdown2html doc/release-index.md $out ''
}
# I want to ship the INSTALL file literally, so just mutate things
View

This file was deleted.

Oops, something went wrong.
View
@@ -0,0 +1,24 @@
<!-- NOTE: This file is at /release/$VERSION/index.html -->
Oil Version 0.1.alpha1
======================
Documentation
--------------
### For End Users
- [INSTALL](doc/INSTALL.html). How to install OSH. This text file is also
at the root of the tarball.
- [OSH Quick Reference](doc/osh-quick-ref.html), with Examples. This document
underlies the OSH `help` builtin.
### For Developers
- [Github Wiki for oilshell/oil](https://github.com/oilshell/oil/wiki)
Links
-----
- [Spec Test Results](test/spec/RESULTS.html)
- [Metrics](metrics/)
View
@@ -35,6 +35,8 @@ log() {
# wild/
# gold/
# tarball/ # log of building and running the tarball?
# asan/ # spec tests or other?
# # or it can be put under test/{spec,wild}
# metrics/ # static metrics on source code?
# # could also do cloc?
# loc-src.txt # oil, tools, etc.
@@ -162,10 +164,11 @@ deploy-doc() {
build/doc.sh osh-quick-ref
# Generate docs.
build/doc.sh install
build/doc.sh index
cp -v -r --no-target-directory _build/doc/ $release_dir/doc
build/doc.sh release-index $release_dir/index.html
tree -L 3 $release_root_dir
ls -l $deploy_repo/releases.html
View
@@ -186,7 +186,7 @@ blog1() {
}
blog2() {
sh-spec spec/blog2.test.sh --osh-failures-allowed 3 \
sh-spec spec/blog2.test.sh \
${REF_SHELLS[@]} $ZSH $OSH "$@"
}

0 comments on commit 20b9cdb

Please sign in to comment.