From 87795b46f2bc732bd11067805709161bdc00d6b6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 25 Feb 2018 17:56:55 -0800 Subject: More man page reorganization. Man pages need special handling, and we can have other kinds of documentation like initial starting guides, etc., which would have different processing applied. So lets move them off into their own directory. --- docs/preview.sh | 128 -------------------------------------------------------- 1 file changed, 128 deletions(-) delete mode 100755 docs/preview.sh (limited to 'docs/preview.sh') diff --git a/docs/preview.sh b/docs/preview.sh deleted file mode 100755 index 73f17aaa..00000000 --- a/docs/preview.sh +++ /dev/null @@ -1,128 +0,0 @@ -#!/bin/bash -# -# Copyright 2018 Staysail Systems, Inc. -# Copyright 2018 Capitar IT Group BV -# This software is supplied under the terms of the MIT License, a -# copy of which should be located in the distribution where this -# file was obtained (LICENSE.txt). A copy of the license may also be -# found online at https://opensource.org/licenses/MIT. -# - -# This script is used to preview in HTML or man format, the documentation. -# I use it during development, YMMV. It is probably completely useless -# on Windows. - -MANSOURCE="NNG" -MANMANUAL="NNG Reference Manual" - -case $(uname -s) in -Darwin) - OPEN=open - MAN=man - ;; -Linux) - OPEN=xdg-open - MAN=man - ;; -*) - echo "No idea how to preview on this system." - exit 2 -esac - -if [ -n "$DISPLAY" ] -then - style=html -else - style=man -fi - -while getopts cs: arg -do - case "${arg}" in - c) cleanup=yes;; - s) style=$OPTARG;; - ?) echo "Usage: $0 [-s