1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-11-24 04:38:33 +03:00

doc: Adds placeholder page

This commit is contained in:
Samuel Dionne-Riel 2019-11-12 15:32:12 -05:00
parent 8d017baeb2
commit f23b0ffe39

View File

@ -27,13 +27,24 @@ stdenv.mkDerivation {
# Replace it in-place with the repo README.
cat >> README.adoc <<EOF
README.adoc
===========
= README.adoc
include::_support/common.inc[]
:relative_file_path: README.adoc
EOF
if [ ! -e index.adoc ]; then
cat >> index.adoc <<EOF
= Main Page
include::_support/common.inc[]
This is a local build of the Mobile NixOS documentation.
The full site is at https://mobile.nixos.org/.
EOF
fi
tail -n +3 ${../README.adoc} >> README.adoc
# Copies the generated asciidoc source for the devices.