summaryrefslogtreecommitdiffstats
path: root/docs/make.sh
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-03-04 00:34:18 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2012-03-04 00:34:18 +0100
commit6b4c974d5a1a8d12831a6b0de72104368851b5a7 (patch)
treec9f06ac8f70fbdc50bfa9215d9a2d0b93cc3dc57 /docs/make.sh
parent4ed88705b8ea1dae9adc109b71ef35624a9faccd (diff)
downloadnetctl-6b4c974d5a1a8d12831a6b0de72104368851b5a7.tar.gz
netctl-6b4c974d5a1a8d12831a6b0de72104368851b5a7.tar.xz
Overhaul of documentation
- Documentation now uses asciidoc instead of pandoc. - Documentation is updated. - More documentation is installed. - The Makefile has been revised. - Autocompletion files must now be installed through the PKGBUILD. - contrib/11netcfg has been deleted. It is unmaintained and duplicated in pm-utils. This closes FS#25587. - contrib/common.hook has been deleted. It demonstrated a feature that the target audience is already familiar with and didn't work anyway. This closes FS#27496. Developers are free to write unwieldy scripts in the {PRE,POST}_{UP,DOWN} variables.
Diffstat (limited to 'docs/make.sh')
-rwxr-xr-xdocs/make.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/docs/make.sh b/docs/make.sh
deleted file mode 100755
index da3cacc..0000000
--- a/docs/make.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#! /bin/bash
-PAGES=(features netcfg netcfg-profiles)
-
-make_page() {
- echo '<html><body>'
- grep -v '^%' $1 | markdown -x def_list -x headerid /dev/stdin
- echo '</body></html>'
-}
-
-# HTML page generation
-for page in ${PAGES[@]}; do
- rm -f ${page}.html
- if which pandoc &>/dev/null; then
- pandoc -s --toc -w html --email-obfuscation=javascript -c header.css -o ${page}.html $page.txt
- else
- make_page $page.txt > ${page}.html
- fi
-done
-
-# Generate manpages
-if which pandoc &>/dev/null; then
- pandoc -s -w man -o netcfg.8 netcfg.txt
- pandoc -s -w man -o netcfg-profiles.5 netcfg-profiles.txt
-fi
-
-# vim: set ts=4 sw=4 et tw=0: