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 0000000..0a5a4e2 Binary files /dev/null and b/txt/htm/index.pck differ diff --git a/txt/htm/pw3tvt.txt b/txt/htm/pw3tvt.txt new file mode 100644 index 0000000..97ff97f --- /dev/null +++ b/txt/htm/pw3tvt.txt @@ -0,0 +1,19 @@ +ID: pw3tvt +Date: 2023-10-23T02:44:10Z +Title: txt.conf +Authors: Izuru Yakumo , 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 0000000..0a5a4e2 Binary files /dev/null and b/txt/index.pck differ diff --git a/txt/pw3tvt.txt.conf.txt b/txt/pw3tvt.txt.conf.txt new file mode 100644 index 0000000..97ff97f --- /dev/null +++ b/txt/pw3tvt.txt.conf.txt @@ -0,0 +1,19 @@ +ID: pw3tvt +Date: 2023-10-23T02:44:10Z +Title: txt.conf +Authors: Izuru Yakumo , 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)