commit 7f38e5aaa39eb408d6aa5cbed2d11fc588b07de4 parent 99ce6e072a048d2a4a045d29515b440aecaddb3d Author: Kenji Matsuda <ftvda283@gmail.com> Date: Sun, 20 Jun 2021 07:42:54 +0900 mv 404.html Diffstat:
D | bin/remote | | | 3 | --- |
M | bin/update | | | 4 | ++-- |
R | docs/pages/404.html -> docs/404.html | | | 0 | |
R | man/pages/404.html -> man/404.html | | | 0 |
4 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/bin/remote b/bin/remote @@ -1,3 +0,0 @@ -#!/bin/sh -cd $(dirname $0) -rsync -av --delete ../www/ google_cloud:/var/www/html/ diff --git a/bin/update b/bin/update @@ -3,7 +3,7 @@ cd $(dirname $0)/.. # apply template to html files find man -type f | grep html$ | sed 's;^man/;;' | - xargs -I% sh -c 'sed -n "/<\!--content-->/!p; /<\!--content-->/r man/%" templates/base.html > www/%' + xargs -I% sh -c 'sed -n "/<\!--content-->/!p; /<\!--content-->/r man/%" templates/base.html > docs/%' # copy non-html files -find man -type f | grep -v html$ | sed 's;^man/;;' | xargs -I% cp man/% www/% +find man -type f | grep -v html$ | sed 's;^man/;;' | xargs -I% cp man/% docs/% diff --git a/docs/pages/404.html b/docs/404.html diff --git a/man/pages/404.html b/man/404.html