From 4c8596a1a2fda23f2e400e5caf241614741b004a Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 24 Nov 2018 13:18:00 +0100 Subject: Use mkdocs. --- .gitignore | 2 ++ Makefile | 18 ++++++++++++++++++ mkdocs.yml | 5 +++++ 3 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 mkdocs.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3843c63 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +docs/ +site/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b883a3a --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +# Depends: mkdocs + +all: docs + +docs: docs-prep + mkdocs build + +docs-prep: + mkdir -p docs + ln -sf ../README.md docs/index.md + ln -sf ../USE.md docs/use.md + ln -sf ../ADMIN.md docs/admin.md + +clean: + rm -rf site + rm -rf docs + +PHONY: all clean diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..92a1901 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,5 @@ +site_name: Shell account +nav: +- Home: 'index.md' +- Use: 'use.md' +- Administration: 'admin.md' -- cgit v1.2.3