From 6b8f73db4cfa49511ad05319416b4e87c1d7b649 Mon Sep 17 00:00:00 2001 From: "yakumo.izuru" Date: Mon, 23 Oct 2023 23:24:54 +0000 Subject: [PATCH] Add target to generate docs Signed-off-by: Izuru Yakumo git-svn-id: file:///srv/svn/repo/kosuzu/trunk@55 eb64cd80-c68d-6f47-b6a3-0ada418499da --- .gitignore | 1 + Makefile | 2 ++ txt/Makefile | 23 +++++++++++++++++++++++ txt/htm/index.pck | Bin 0 -> 570 bytes txt/htm/pw3tvt.txt | 19 +++++++++++++++++++ txt/index.pck | Bin 0 -> 570 bytes txt/pw3tvt.txt.conf.txt | 19 +++++++++++++++++++ 7 files changed, 64 insertions(+) create mode 100644 txt/Makefile create mode 100644 txt/htm/index.pck create mode 100644 txt/htm/pw3tvt.txt create mode 100644 txt/index.pck create mode 100644 txt/pw3tvt.txt.conf.txt diff --git a/.gitignore b/.gitignore index d5b1942..6d3f01b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ *.native _build *.htm +index.html diff --git a/Makefile b/Makefile index 187ad29..6014d53 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,8 @@ dist: strip txt.exe tar czvf "logarion-${OS}-${MACHINE}-${DATE}-${COMMIT}" txt.exe readme.txt rm txt.exe +docs: + ${MAKE} -C txt install: dune install --prefix ${PREFIX} uninstall: diff --git a/txt/Makefile b/txt/Makefile new file mode 100644 index 0000000..82069d7 --- /dev/null +++ b/txt/Makefile @@ -0,0 +1,23 @@ +all: clean build + +build: index generate + +clean: + find htm -type f -name "*.html" -print -delete + find htm -type f -name "*.htm" -print -delete + find . -type f -name "*.atom" -print -delete +copy-index: index + cp index.pck htm +generate: relink copy-index + txt convert --type=htm htm +index: + txt index . +link: + txt file *.txt htm +delink: + rm htm/*.txt +serve: + darkhttpd htm +upload: + rsync -acv --del htm/ webdev@chaotic.ninja:/var/www/logarion +relink: delink link diff --git a/txt/htm/index.pck b/txt/htm/index.pck new file mode 100644 index 0000000000000000000000000000000000000000..0a5a4e214df5c859a2758ce0c5a4b73c2dc238a3 GIT binary patch literal 570 zcmb7?&q~8U5XOBF4|^);Ay68%g;I(lD0mUPhzH#!lV&y9jk~jL>Qf}5)}u%pMfB#y zir^FED!qC3Da;>g4}#!nhGD+h`F*n&mkUXC%`u^NzazR-GQrO$LUx!FlBOfVc9Byr zOAXMi>C*O@mYVF-6YUGq92C)Dd9iJ|R3Nhq&iFBHMZ;TWkC6E=Mur~TQH`#UDnSu2 zOFc+%KmxZw-AM>M2I^{<1pONJFomPfuX_y9umpF`|MBP_tH(cpQ8Y~4p6m9V)QZO| z)5?Yfii~#&LWqh~NT53&Q*K@ooS+MY1I9_|OH}Bqw1M5!8ZGWl_Ch3@Ge=0DNKisc zD-%#3RQx)#vW%shp~1L4Xccp8vkI&A6b_c(p0, orbifx +Topics: Logarion + +These are the current fields you can use for setting up your archive. + +* Authors (required) +* Gemini-index (optional) +* HTM-footer (optional) +* HTM-header (optional) +* HTM-index (optional) +* HTM-style (required) +* Id (required) +* Locations (required) +* Peers (optional) +* Title (required) +* Topics (required) diff --git a/txt/index.pck b/txt/index.pck new file mode 100644 index 0000000000000000000000000000000000000000..0a5a4e214df5c859a2758ce0c5a4b73c2dc238a3 GIT binary patch literal 570 zcmb7?&q~8U5XOBF4|^);Ay68%g;I(lD0mUPhzH#!lV&y9jk~jL>Qf}5)}u%pMfB#y zir^FED!qC3Da;>g4}#!nhGD+h`F*n&mkUXC%`u^NzazR-GQrO$LUx!FlBOfVc9Byr zOAXMi>C*O@mYVF-6YUGq92C)Dd9iJ|R3Nhq&iFBHMZ;TWkC6E=Mur~TQH`#UDnSu2 zOFc+%KmxZw-AM>M2I^{<1pONJFomPfuX_y9umpF`|MBP_tH(cpQ8Y~4p6m9V)QZO| z)5?Yfii~#&LWqh~NT53&Q*K@ooS+MY1I9_|OH}Bqw1M5!8ZGWl_Ch3@Ge=0DNKisc zD-%#3RQx)#vW%shp~1L4Xccp8vkI&A6b_c(p0, orbifx +Topics: Logarion + +These are the current fields you can use for setting up your archive. + +* Authors (required) +* Gemini-index (optional) +* HTM-footer (optional) +* HTM-header (optional) +* HTM-index (optional) +* HTM-style (required) +* Id (required) +* Locations (required) +* Peers (optional) +* Title (required) +* Topics (required)