From 0b7ee395e832165b2e7726231cc12bb06b3bbe5b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 2 Aug 2020 11:58:44 -0700 Subject: fixes #1270 Move web page publication tool to main branch --- docs/man/preview.sh | 142 ---------------------------------------------------- docs/man/publish.sh | 23 --------- 2 files changed, 165 deletions(-) delete mode 100755 docs/man/preview.sh delete mode 100755 docs/man/publish.sh (limited to 'docs') diff --git a/docs/man/preview.sh b/docs/man/preview.sh deleted file mode 100755 index dc0b391f..00000000 --- a/docs/man/preview.sh +++ /dev/null @@ -1,142 +0,0 @@ -#!/bin/ksh -# -# 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