Add target to generate docs

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@55 eb64cd80-c68d-6f47-b6a3-0ada418499da
This commit is contained in:
yakumo.izuru 2023-10-23 23:24:54 +00:00
parent fa22cab304
commit 6b8f73db4c
7 changed files with 64 additions and 0 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
*.native
_build
*.htm
index.html

View File

@ -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:

23
txt/Makefile Normal file
View File

@ -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

BIN
txt/htm/index.pck Normal file

Binary file not shown.

19
txt/htm/pw3tvt.txt Normal file
View File

@ -0,0 +1,19 @@
ID: pw3tvt
Date: 2023-10-23T02:44:10Z
Title: txt.conf
Authors: Izuru Yakumo <yakumo.izuru@chaotic.ninja>, orbifx <fox@orbifalfox.eu>
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)

BIN
txt/index.pck Normal file

Binary file not shown.

19
txt/pw3tvt.txt.conf.txt Normal file
View File

@ -0,0 +1,19 @@
ID: pw3tvt
Date: 2023-10-23T02:44:10Z
Title: txt.conf
Authors: Izuru Yakumo <yakumo.izuru@chaotic.ninja>, orbifx <fox@orbifalfox.eu>
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)